338
Interruption Tag corresponding to the Timer:
Timer’s No Interruption Tag Timer’s No Interruption Tag
ET0
I3000
ET10
I3005
ET2
I3001
ET12
I3006
ET4
I3002
……
……
ET6
I3003
ET22
I3011
ET8
I3004
ET24
I3012
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.