Tof; Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions

TOF

The TOF instruction outputs FALSE when the set time elapses after the timer starts.
Instruction
TOF
Off-Delay Timer
Variables
Name
Meaning
In
Timer input
PT
Set time
Q
Timer
output
ET
Elapsed
time
* T#0ms to T#106751d_23h_47m_16s_854.775807ms
Bit strings
In
OK
PT
Q
OK
ET
Function
The TOF instruction outputs FALSE when the set time elapses after the timer starts. The time is set in
nanoseconds. The timer starts when timer input In changes to FALSE. Elapsed time ET is incremented
as time elapses. When ET reaches set time PT, timer output Q changes to FALSE. ET is not incre-
mented after that. The timer is reset when In changes to TRUE. ET changes to 0 and Q changes to
TRUE.
If the timer is started and then In changes to FALSE before ET reaches PT, the timer is reset.
2-132
Name
FB/FUN
FB
I/O
Description
TRUE: Timer reset signal
FALSE: Timer start signal
Input
Time from when timer starts
until Q changes to FALSE
TRUE: Timer output ON
FALSE: Timer output OFF
Output
Elapsed time since timer
started
Graphic expression
TOF_instance
TOF
In
Q
PT
ET
Valid range
Depends on data type.
*
Depends on data type.
*
Integers

NY-series Instructions Reference Manual (W560)

ST expression
TOF_instance (In, PT, Q,
ET);
Unit
Default
---
FALSE
ms
0
---
---
ms
Times, durations,
dates, and text strings
OK
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents