Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 51

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Programming Concepts
Downwardly Differentiated
Instructions (Instruction
preceded by %)
18
• Input Instructions (Logical Starts and Intermediate Instructions): The
instruction reads bit status, makes comparisons, tests bits, or perform
other types of processing every cycle and will output an ON execution
condition (power flow) when results switch from OFF to ON. The execu-
tion condition will turn OFF the next cycle.
Upwardly differentiated input instruction
• Input Instructions (Logical Starts and Intermediate Instructions): The
instruction reads bit status, makes comparisons, tests bits, or perform
other types of processing every cycle and will output an OFF execution
condition (power flow stops) when results switch from OFF to ON. The
execution condition will turn ON the next cycle.
Upwardly differentiated input instruction
• Output instructions: The instruction is executed only during the cycle in
which the execution condition turned OFF (ON
cuted in the following cycles.
(%) Downwardly dif-
ferentiated instruction
• Input Instructions (Logical Starts and Intermediate Instructions): The
instruction reads bit status, makes comparisons, tests bits, or perform
other types of processing every cycle and will output the execution condi-
tion (power flow) when results switch from ON to OFF. The execution con-
dition will turn OFF the next cycle.
Downwardly differentiated instruction
Note Unlike the upwardly differentiated instructions, downward differen-
tiation variation (%) can only be added to LD, AND, OR, SET and
RSET instructions. To execute downward differentiation with other
instructions, combine the instructions with a DIFD or a DOWN in-
struction.
Example
1.03
ON execution condition created for one
cycle only when CIO 1.03 goes from
OFF to ON.
Example
1.03
OFF execution condition created for one
cycle only when CIO 1.03 goes from
OFF to ON.
OFF) and is not exe-
Example
1.02
Executes the SET instruction once
when CIO 1.02 goes ON to OFF.
Example
1.03
Will turn ON when the CIO 1.03 switches
from ON to OFF and will turn OFF after
one cycle.
Section 1-1
%SET

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents