User Manual
  Programming made easy 
  6.3 Powerful instructions make programming easy 
Easy Book 
Manual, 03/2014, A5E02486774-AF 
107 
Table 6- 14  Data types for the parameters 
Parameter 
Data type 
Description 
Box: IN 
Coil: Power flow 
Bool  TP, TON, and TONR: 
Box: 0=Disable timer, 1=Enable timer 
Coil: No power flow=Disable timer, Power flow=Enable timer 
TOF: 
Box: 0=Enable timer, 1=Disable timer 
Coil: No power flow=Enable timer, Power flow=Disable timer 
R   Bool  TONR box only: 
0=No reset 
1= Reset elapsed time and Q bit to 0 
Box: PT 
Coil: "PRESET_Tag" 
Time  Timer box or coil: Preset time input 
Box: Q  
Coil: DBdata.Q 
Bool  Timer box: Q box output or Q bit in the timer DB data 
Timer coil: you can only address the Q bit in the timer DB data 
Box: ET 
Coil: DBdata.ET 
Time  Timer box: ET (elapsed time) box output or ET time value in the timer DB 
data 
Timer coil: you can only address the ET time value in the timer DB data.  
Table 6- 15  Effect of value changes in the PT and IN parameters 
Timer 
Changes in the PT and IN box parameters and the corresponding coil parameters 
TP 
•  Changing PT has no effect while the timer runs. 
•  Changing IN has no effect while the timer runs. 
TON 
•  Changing PT has no effect while the timer runs. 
•  Changing IN to FALSE, while the timer runs, resets and stops the timer. 
TOF 
•  Changing PT has no effect while the timer runs. 
•  Changing IN to TRUE, while the timer runs, resets and stops the timer. 
TONR 
•  Changing PT has no effect while the timer runs, but has an effect when the timer resumes. 
•  Changing IN to FALSE, while the timer runs, stops the timer but does not reset the timer. Changing IN 
back to TRUE will cause the timer to start timing from the accumulated time value. 
PT (preset time) and ET (elapsed time) values are stored in the specified IEC_TIMER DB 
data as signed double integers that represent milliseconds of time. TIME data uses the T# 
identifier and can be entered as a simple time unit (T#200ms or 200) and as compound time 
units like T#2s_200ms. 
Table 6- 16  Size and range of the TIME data type 
Data type  
Size 
Valid number ranges
1
TIME  32 bits, stored as 
DInt data 
T#
-
24d_20h_31m_23s_648ms to T#24d_20h_31m_23s_647ms 
Stored as -2,147,483,648 ms to +2,147,483,647 ms 
1
  The negative range of the TIME data type shown above cannot be used with the timer instructions. Negative PT (preset 
time) values are set to zero when the timer instruction is executed. ET (elapsed time) is always a positive value. 










