Standard
RLL Instructions
5–17
Standard RLL Instructions
Boolean Instructions
The And Positive Differential instruction
logically ands 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 And Negative Differential instruction
logically ands 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, Y5 will energize for one CPU scan whenever X1 is on and
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, Y5 will energize for one CPU scan whenever X1 is on and
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
And Positive
Differential
(ANDPD)
And Negative
Differential
(ANDND)