DVP15MC11T Operation Manual
8.6 Timer Instructions
8.6.1 TON
FB/FC
Explanation
TON is used for the ON delay.
Parameters
name
Meaning
Output
Description Valid range
In Timer input Input Controls the timer to start or reset
TRUE or FALSE
PT Set time Input
Time from when the timer starts until Q
changes to TRUE.
Q Timer output
Output
Q is TRUE when the set time PT is
reached.
TRUE or FALSE
ET Elapsed time
Output
Elapsed time from the time
when the timer
starts to current time.
T#0ns ~ 213503d23h34m33s709ms551us615ns
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In
●
PT
●
Q
●
ET
●
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
The TON instruction is defined as the function of a timer for the ON delay.
When In is TRUE, the timer starts to measure the time and the value of ET increases accordingly.
When ET equals PT, Q is TRUE. When In is set to FALSE, the measuring of the time stops and Q
and ET are both reset.
Precautions for Correct Use
When the output value of ET reaches the set value of PT, the timer stops measuring time. ET is reset to 0
(0ns) when In changes from TRUE to FALSE.
TON
EN ENO
Q
TON_instance
In
PT
ET
8-40