Standard
RLL Instructions
5–16
Standard RLL Instructions
Boolean Instructions
The Or Positive Differential instruction
logically ors a normally open contact in
parallel with another contact in a rung. The
status of the contact will be open until the
associated image register point makes an
Off-to-On transition, closing it for one CPU
scan. Thereafter, it remains open until
another Off-to-On transition.
Aaaa
The Or Negative Differential instruction
logically ors a normally open contact in
parallel with another contact in a rung. The
status of the contact will be open until the
associated image register point makes an
On-to-Off transition, closing it for one CPU
scan. Thereafter, it remains open until
another On-to-Off transition.
Aaaa
Operand Data Type DL05 Range
A aaa
Inputs X 0–377
Outputs Y 0–377
Control Relays C 0–777
Stage S 0–377
Timer T 0–177
Counter CT 0–177
In the following example, Y 5 will energize whenever X1 is on, or for one CPU scan
when X2 transitions from Off to On.
Y5
OUT
X1
DirectSOFT
X2
STR
$
CV
P
ENT
OUT
GX
3
D
SHFT
1
B
ENT
Handheld Programmer Keystrokes
5
F
OR
Q
2
C
ENT
In the following example, Y 5 will energize whenever X1 is on, or for one CPU scan
when X2 transitions from On to Off.
X1
Y5
OUT
DirectSOFT
X2
STR
$
TMR
N
ENT
OUT
GX
3
D
SHFT
1
B
ENT
Handheld Programmer Keystrokes
5
F
OR
Q
2
C
ENT
Or Positive
Differential
(ORPD)
Or Negative
Differential
(ORND)