7 REPLACEMENT OF PROGRAM
7 - 38
7.7.4 Timer
(1) Precautions for using timer
The following shows precautions when using timers.
For details, refer to the QnUCPU User's Manual (Function Explanation, Program Fundamentals).
(a) QnUCPU/QnASCPU timer ladder programming method
Set the number of points for the timer and retentive timer in the Device setting of the parameter
setting.
To use the low-speed timer, high-speed timer, retentive timer and high-speed retentive timer
separately, add "H" or "S" to the OUT instruction in programming.
Ex.)Low-speed timer:OUTT0Kn
High-speed timer:OUTHT0 Kn
Low-speed retentive timer:OUT ST0 Kn
High-speed retentive timer :OUTHST0 Kn
Function QnUCPU/QnASCPU
AnSCPU
AnUS(H)CPU
A2ASCPU
AnS(J)HCPU
Low-speed
timer
Measurement
unit
• 100ms (Default)
Changeable in the range of 1 to 1000ms
(Parameter)
(QnACPU: 10 to 1000ms)
• Fixed to 100ms
Specifying
method
High-speed
timer
Measurement
unit
• 10ms (Default)
Changeable in the range of 0.1 to 100ms
(parameter)
(QnACPU: 1 to 100ms)
• Fixed to 10ms
Specifying
method
Retentive timer
Measurement
unit
• The same measurement unit as low-speed
timer
• Fixed to 100ms
Specifying
method
High-speed
retentive timer
Measurement
unit
• The same measurement unit as high-speed
timer
• None
Specifying
method
Setting range for set value • 1 to 32767 • 1 to 32767
Processing the set value 0 • Instant-on • Infinite (No time up)
Updating present value
• When executing the OUT Tn instruction • When executing the END processing
On/off processing for contact
T0
H
K100
Specifying the
high speed timer
T200
K100
ST0
H
K100
Specifying the
high speed timer