4 - 17
4 Understanding Programming
CP2E CPU Unit Software User’s Manual(W614)
4-4 Programming Instructions
4
z Upwardly Differentiated Instructions (Instructions Preceded by @)
• Output Instructions
The instruction is executed only during the cycle in which the execution condition changes from
OFF to ON.
The instruction is not executed in the following cycle.
• Input Instructions (Logical Starts and Intermediate Instructions)
The instruction reads bit status, makes comparisons, tests bits, or performs other types of pro-
cessing every cycle and will output an ON execution condition (power flow) when the result
changes from OFF to ON.
The execution condition will turn OFF the next cycle.
z Downwardly Differentiated Instructions (Instruction Preceded by %)
• Output Instructions
The instruction is executed only during the cycle in which the execution condition changes from
ON to OFF.
The instruction is not executed in the following cycle.
• Input Instructions (Logical Starts and Intermediate Instructions)
The instruction reads bit status, makes comparisons, tests bits, or performs other types of pro-
cessing every cycle and will output an ON execution condition (power flow) when the result
changes from ON to OFF.
The execution condition will turn OFF the next cycle.
Input-differentiated Instructions
@MOV
Example:
1.02
Executes the MOV instruction once
when CIO 1.02 turns ON.
@ Upwardly
differentiated
instruction
Upwardly differentiated instruction
Example:
1.03

ON execution condition created for one
cycle when CIO 1.03 turns ON.

%SET
Example:
1.02
Executes the SET instruction once
when CIO 1.02 turns OFF.
% Downwardly
differentiated
instruction
Downwardly differentiated instruction
Example:
1.03
ON execution condition created for one cycle
when CIO 1.03 turns ON.

