The following figure shows a programming example and timing chart.
LD
R_TRIG_instance
A
R_TRIG
Clk
LD
A
Up
In
TRUE
Clk, In
FALSE
TRUE
Q, Out=abc
FALSE
F_TRIG
F_TRIG assigns TRUE to output signal Q for one task period only when input signal Clk changes to
FALSE. Otherwise, the value of Q is FALSE.
Down
The functions of the F_TRIG instruction and the Down instruction are exactly the same. The Clk vari-
able of the F_TRIG instruction corresponds to the In variable of the Down instruction. The Q variable
corresponds to the Out variable.
The following figure shows a programming example and timing chart.
LD
F_TRIG_instance
A
F_TRIG
Clk
LD
A
Down
In
TRUE
Clk, In
FALSE
TRUE
Q, Out=abc
FALSE
NY-series Instructions Reference Manual (W560)
ST
R_TRIG_instance(A, abc);
abc
Q
abc
Task period
ST
F_TRIG_instance(A, abc);
abc
Q
abc
Task period
2 Instruction Descriptions
2
2-45