VA Motion Controller Programming Manual
181
10.2.4 F_TRIG (falling edge detection command )
LD, FBD programming language
Function: F _TRIG instruction is used to detect the falling edge of the input . If a falling edge
is detecteDAt the input CLK , the output Q will change from FALSE to TRUE until the next scan of
this command, the Q output will remain is TRUE
Note :
IL, ST
language programming needs to insert variables
varl1~var2
or use constants in
the current
POU
variable worksheet
the F_TRIG
data processing instruction type
When
CLK
has a falling
edge,
Q=
changes from
0
to
1,
until the next scan
to this instruction
10.2.5 R_TRIG (rising edge detection instruction )
LD, FBD
programming language
Function: R _TRIG instruction is used to detect the rising edge of the input . If a rising edge is
detecteDAt the input CLK , the output Q will change from FALSE to TRUE until the next scan to this
command, the Q output will remain Is TRUE .