Omron CJ2 CPU UNIT SOFTWARE User Manual page 160

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

5 Understanding Programming
Using Differentiated Instructions in Interlocks (IL - ILC Instructions)
In the following example, the previous value flag for the differentiated instruction maintains the previ-
ous interlocked value and will not output a differentiated output at point A because the value will not
be updated while the interlock is in effect.
0.00
0.01
000000
000001
001000
Using Differentiated Instructions in Jumps (JMP(004) - JME(005) Instructions)
Just as for interlocks, the previous value flag for a differentiated instruction is not changed when the
instruction is jumped, i.e., the previous value is maintained.
• With downwardly differentiated instructions (DIFD(014) or instructions with a %), outputs will turn
ON when inputs turn OFF only when the previous value flag is ON.
• With both upwardly and downwardly differentiated instructions, outputs will turn OFF in the next
cycle.
Precautions for Correct Use
Precautions for Correct Use
Do not use the Always P_On Flag or A200.11 (First Cycle Flag) as the input bit for an upwardly
differentiated instruction. Do not use the Always P_Off Flag as the input bit for a downwardly dif-
ferentiated instruction. If either is used, the instruction will never be executed.
5-68
IL
DIFU
001000
ILC
IL is
IL is
executing
executing
CJ2 CPU Unit Software User's Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF