6.16 Timer
6.16.1 Switch on delay timer
Input/output Operand
Data type
Txxx
constant(T0 -T255)
word
IN
Enable bit
Boolean
PT
VW, IW, QW, MW, SW, SMW, LW, AIW, T, C, AC,constant, *VD, *LD, *AC integer
TON: When the value of the input “ IN ” is equal to 1,
timer starts time.Timer current value of Txxx is the
current time (a multiple of the time base).When the
current value of the timer is equal to the preset time (PT),
the value of the timer bit is 1.When the value of the
input “ IN ” is equal to 0, timer current value is cleared.
TON, TONR and TOF timers have three kinds of resolutions.Each current
value is a multiple of the time base.For example, the number 50 in the
10 millisecond timer is 500 milliseconds.
Timer range:
Time base ( ms ) Time range (s)
Timer number
T0
1
65.535
T1~T4
10
655.35
T5~T31
100
6553.5
T32
1
65.535
T33~T36
10
655.35
T37~T63
100
6553.5
T64
1
65.535
T65~T68
10
655.35
T69~T95
100
6553.5
T96
1
65.535
T97~T100
10
655.35
T101~T127
100
6553.5
198
Made with FlippingBook - Online magazine maker