Chapter 8 Logic Instructions
8-47
FB/FC
FB TP is used for the off delay after the input In is TRUE.
Parameters
Meaning
Description Valid range
In Timer input
Input
Controls the timer to start or reset
TRUE or FALSE
PT Set time
Input
Set the time from when the timer starts
until Q changes to TRUE
Q Timer output
Output
Q is FALSE 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#0ms ~ 213503d23h34m33s709.551ms
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
LWORD
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
TIME
TOD
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
When In is TRUE, Q is TRUE and the timer starts measuring time and the value of ET increases
accordingly. At the moment, Q remains TRUE. When ET equals PT, Q is FALSE and the timer stops
measuring time. When In changes from TRUE to FALSE, ET is 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 (0ms) when In changes from TRUE to FALSE.
TP
EN
ENO
Q
TP_instance
In
PT
ET