Timer
The Timer instruction outputs TRUE when the set time elapses after the timer starts. The time is set in
increments of 100 ms.
Instruction
Timer
Hundred-ms Timer
Variables
Name
Meaning
In
Timer input
PT
Set time
TimerDat
Timer status
Out
Return value
Q
Timer output
ET
Remaining
time
* If you omit an input parameter, the default value is not applied. A building error will occur.
Bit strings
In
OK
PT
TimerDat
Out
OK
Q
OK
ET
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
TRUE: Timer start specifica-
tion
FALSE: Timer reset specifi-
Input
cation
Time from when timer starts
until Q changes to TRUE
In-out
Current status of timer
TRUE: Make timer output
TRUE
FALSE: Make timer output
FALSE
Output
Same meaning as Out.
Remaining time
OK
OK
Graphic expression
Timer
In
PT
Q
TimerDat
ET
Valid range
Depends on data type.
---
Depends on data type.
Integers
Structure _sTimer
2 Instruction Descriptions
ST expression
Out:=Timer (In, PT, Tim-
erDat, Q, ET);
Out
Unit
Default
---
FALSE
ms
*
---
---
---
---
ms
Times, durations,
dates, and text strings
2
2-141