FX Series Programmable Controllers Devices in Detail 4
4-18
4.9.4 Timers Used in Interrupt and ‘CALL’ Subroutines
If timers T192 to T199 and T246 to T249 are used in a CALL subroutine or an interruption
routine, the timing action is updated at the point when an END instruction is executed. The
output contact is activated when a coil instruction or an END instruction is processed once the
timers current value has reached the preset (maximum duration) value.
Timers other than those specified above cannot function correctly within the specified
circumstances.
When an interrupt timer (1 msec resolution) is used in an interrupt routine or within a ‘CALL’
subroutine, the output contact is activated when the first coil instruction of that timer is
executed after the timer has reached its preset (maximum duration) value.
4.9.5 Timer Accuracy
Timer accuracy can be affected by the program configuration. That is to say, if a timer contact
is used before its associated coil, then the timer accuracy is reduced.
The following formulas give maximum and minimum errors for certain situations.
However, an average expected error would be approximately;
1.5
×
The program scan time
Condition 1:
The timer contact appears after the timer coil.
Maximum timing error:
2
×
Scan time + The input filter time
Minimum timing error:
Input filter time - The timer resolution
Condition 2:
The timer contact appears before the timer coil.
Maximum timing error:
3
×
Scan time + The input filter time
Minimum timing error:
Input filter time- The timer resolution
Internal timer accuracy:
• The actual accuracy of the timing elements within the PLC hardware is;
± 10 pulses per million pulses. This means that if a 100 msec timer is used to time a sin-
gle day, at the end of that day the timer will be within 0.8 seconds of the true 24 hours or
86,400 seconds. The timer would have processed approximately 864,000; 100 msec
pulses.
X10
T0
T0
Y10
X10
T0
Y10
T0