![Omron CJ1G-CPUxx Instructions Manual Download Page 25](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491025.webp)
4
General Instruction Characteristics
Section 1-1
• A downwardly differentiated instruction is executed only once after its
execution condition goes from ON to OFF.
Note The downwardly differentiated option (%) is available only for the LD, AND,
OR, and RSET instructions. To create downwardly differentiated variations of
other instructions, control the execution of the instruction with work bits con-
trolled with DIFD(014) or DOWN(522).
1-1-3
Instruction Variations
The variation prefixes (@, %, and !) can be added to an instruction to create a
differentiated instruction or provide immediate refreshing.
Variation
Instruction type
Operation
Format
Example
Non-
differentiated
Output instructions
(instructions requiring
an execution condi-
tion)
The instruction is exe-
cuted every cycle while
the execution condition is
true (ON).
Input instructions
(instructions used as
execution conditions)
The bit processing (such
as read, comparison, or
test) is performed every
cycle. The execution con-
dition is true while the
result is ON.
Upwardly
differentiated
(with @ prefix)
Output instructions
The instruction is exe-
cuted just once when the
execution condition goes
from OFF to ON.
Input instructions
(instructions used as
execution conditions)
The bit processing (such
as read, comparison, or
test) is performed every
cycle. The execution con-
dition is true for one cycle
when the result goes
from OFF to ON.
Downwardly
differentiated
(with % prefix)
Output instructions
The instruction is exe-
cuted just once when the
execution condition goes
from ON to OFF.
Input instructions
(instructions used as
execution conditions)
The bit processing (such
as read, comparison, or
test) is performed every
cycle. The execution con-
dition is true for one cycle
when the result goes
from ON to OFF.
Output instruction
executed each cycle
MOV
Input instruction
executed each cycle
Instruction executed
once for upward dif-
ferentiation
MOV(021) executed once
for each OFF to ON transi-
tion in CIO 000102.
@MOV
Upwardly differentiated
input instruction
ON execution condition created
for one cycle only for each OFF
to ON transition in CIO 000103.
%Instruction
executed once for
downward differenti-
ation
0001
02 %SET
SET executed once for
each ON to OFF transition
in CIO 000102.
Downwardly differentiated
input instruction
ON execution condition created
for one cycle only for each ON to
OFF transition in CIO 000103.
0001
03
Variation
Prefix
Operation
Differentiation
Upwardly dif-
ferentiated
@
Creates an upwardly differentiated instruc-
tion.
Downwardly
differentiated
%
Creates a downwardly differentiated instruc-
tion.
Immediate refreshing
!
The instruction’s operand data in the I/O
Area will be refreshed when the instruction
is executed.
! @ MOV
Instruction mnemonic
Up-differentiation variation
Immediate-refreshing variation
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 ...