338
Interruption Tag corresponding to the Timer:
STR ET0 K100
X0
Y0
RST ET0
M0
I3000
Y1
M1
IRET
FEND
ET0
SM0
SM0
Example 1
The filling machine controls the filling capacity by controlling the liquid valve open time (it is
3000ms in this application). To improve the filling capacity precision, the liquid valve open
time can be controlled by precise timing.
When the precise timing reaches the count value, it will generate an
interruption tag, interruption subprogram will be executed.
Can start the precise timing in precise timing interruption;
Every precise timer has its own interruption tag, as shown below:
Precise Timing Interruption
When X0 changes from OFF to ON,
ET0 will start timing. And ET0 reset
when accumulation time is up to
100ms; meantime generates an
interruption, the program jumps to
interruption tag I3000 and execute the
subprogram.