Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual page 75

Programmable controllers
Hide thumbs Also See for CJ - PROGRAMMING MANUAL 08-2008:
Table of Contents

Advertisement

Basic Concepts
Downwardly Differentiated Instructions (Instruction preceded by %)
• 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 → OFF) and is not exe-
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 differentia-
tion variation (%) can only be added to LD, AND, OR, SET and RSET
instructions. To execute downward differentiation with other instruc-
tions, combine the instructions with a DIFD or a DOWN instruction.
NOT can be added to instructions only when using a CS1-H, CJ1-H,
CJ1M, or CS1D CPU Unit.
• 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 ON to OFF. The
execution condition will turn ON the next cycle.
Downwardly differentiated input instruction
Example
0001
03
OFF execution condition created for one
cycle only when CIO 00103 goes from
OFF to ON.
Example
Executes the SET instruction once
when CIO 000102 goes ON to OFF.
Example
Will turn ON when the CIO 000103 switches from
ON → OFF and will turn OFF after one cycle.
Example
0001
03
OFF execution condition created for one
cycle only when CIO 00103 goes from
ON to OFF.
Section 2-1
%SET
37

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - PROGRAMMING MANUAL 08-2008 and is the answer not in the manual?

Table of Contents