2-51
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Sequence Output Instructions
2
Set and Reset
If you specify upward or downward differentiation, the operation depends on the following: the value of
the input for the last execution and the current value of the input. This is shown below.
The following figure shows a programming example and timing chart.
Instruction
Differentiation speci-
fication
Value of input at last execution and current value Output value
Set
Upward differentiation
FALSE at the last execution → Currently TRUE TRUE
Other than the above. Not changed.
Downward differentia-
tion
TRUE at the last execution → Currently FALSE TRUE
Other than the above. Not changed.
Reset
Upward differentiation
FALSE at the last execution → Currently TRUE FALSE
Other than the above. Not changed.
Downward differentia-
tion
TRUE at the last execution → Currently FALSE FALSE
Other than the above. Not changed.
LD
B
A
abc
abc
S
R
A
B
TRUE
FALSE
TRUE
FALSE
abc
TRUE
FALSE
LD
B
A
abc
abc
PS
PR
A
B
TRUE
FALSE
TRUE
FALSE
abc
TRUE
FALSE
LD
B
A
abc
abc
NS
NR
A
B
TRUE
FALSE
TRUE
FALSE
abc
TRUE
FALSE