Component explanation:
PLC
component
X0
Y2
M0
ET0
Program:
X0
STR
X0
FEND
I3000
Y2
SM0
M0
Y2
SM0
STR
IRET
END
Program explanation:
1. When X0 is ON, the precise timer interruption will work, Y2 will output the pusle wave.
2. When X0 is OFF, shut down the precise timer interruption, Y2 stop outputting.
Example 3
As the FRQM calculating the time for fixed pulse numbers, we will change the way to
calculate the pulse numbers in fixed time.
Control explanation
Start button, X0 is ON when button is pressed
Pulse output terminal
Internal auxiliary coil
Precise timer
ET0
K500
RST
ET0
Y2
( S )
PLS
M0
Y2
( R )
ET0
K500
340
Mark