![Omron CJ1G-CPUxx Instructions Manual Download Page 178](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491178.webp)
157
Sequence Input Instructions
Section 3-3
Coding Example (2)
The OR LOAD instruction can be used repeatedly. In programming method
(2) above, however, the number of OR LOAD instructions becomes one less
than the number of LOAD and LOAD NOT instructions before that.
In method (2), make sure that the total number of LOAD and LOAD NOT
instructions before OR LOAD is not more than eight. To use nine or more, pro-
gram using method (1). If there are nine or more with method (2), then a pro-
gram error will occur during the program check by the Peripheral Device.
Coding
Second LD: Used for first bit of next block connected in series to previous block.
3-3-9
Differentiated and Immediate Refreshing Instructions
The LOAD, AND, and OR instructions have differentiated and immediate
refreshing variations in addition to their ordinary forms, and there are also two
combinations available.
The LOAD NOT, AND NOT, OR NOT, OUT, and OUT NOT instructions have
immediate refreshing variations in addition to their ordinary forms.
The I/O timing for data handled by instructions differs for ordinary and differ-
entiated instructions, immediate refreshing instructions, and immediate
refreshing differentiated instructions.
Ordinary and differentiated instructions are executed using data input by pre-
vious I/O refresh processing, and the results are output with the next I/O pro-
cessing. Here “I/O refreshing” means the data exchanged between the CPU’s
internal memory and the I/O Unit.
In addition to the above I/O refreshing, an immediate refresh instruction
exchanges data with the I/O Unit for those words that are accessed by the
instruction. An immediate refresh instruction refreshes eight bits simulta-
neously (leftmost or rightmost eight bits) in addition to the specified bit.
Instruction
Operand
LD
000000
AND NOT
000001
LD NOT
000002
AND NOT
000003
LD
000004
AND
000005
.
.
.
.
OR LD
---
OR LD
---
.
.
.
.
OUT
000501
Address
Instruction
Operand
000100
LD
000000
000101
AND NOT
000001
000102
LD
000002
000103
AND
000003
000104
OR LD
---
000105
OUT
000501
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...