Useful application of the PLS/PLF instructions (Part 2)
These instructions can be used in a program that executes a repetitive operation such as switching the on/off status every time
a push button switch (snap switch) is pressed. (If the PLS instruction is used in the program, the program is executed at the
rising edge caused when the push button switch is pressed.)
Timing chart
X0
Y0
Y0
M0 Y0
M0
P LS
X0
M0 Y0
E ND
X1
Y1
FF
In an on/off repeat ladder, Y1 turns on when X1 turns on for the first time, and turns off when X1 turns on again.
Timing chart
X1
Y1
Useful application of the PLS/PLF instructions (Part 3)
These instructions can be used in a program that executes an output operation for a set period of time at timing when
an input signal turns on.
Timing chart
Input (X0)
Output (Y6)
Set time limit
10 seconds
Pulse width
Y6
M1
Program example
X0
Y6
T16
END
OUT T16 K100
PLF
M1
51
Содержание FX5U Series
Страница 1: ...FX5U Training Manual ...