On Delay Timer - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

19.2

On Delay Timer

TON
These function blocks turn on a signal after the specified period of time.
Structured text
Instance name(IN:=s,PT:=n,Q:=d1,ET:=d2);
Setting data
■Description, type, data type
Argument
Description
s (IN)
Time measurement
n (PT)
Delay time setting value
d1 (Q)
Output
d2 (ET)
Elapsed time
Processing details
■Operation processing
1.
Output
• When (s) turns on, (d1) turns on after the time that was set by (n). The delay time elapsed after (d1) turns on is set to (d2).
• When (s) turns off, (d1) turns off and the delay elapsed time is also reset.
• Use the long timer to count the elapsed time.
2.
Delay time setting
The valid setting range of (n) is T#1 ms to T#2147483 ms.Note that the valid setting range will be as follows by changing the
timer limit setting using the engineering tool.
Minimum value
Identical to the long timer setting value [ms] in the timer limit setting.
Note that if the long timer setting value is smaller than 1 ms, the
minimum value will be 1 ms.
The value at the rising edge (off to on) of (d) is used for the setting value of (n). When the (n) value is changed while (s) is on,
the new value will be enabled at the next rising edge of (s).
Type
Input variable
Input variable
Output variable
Output variable
Maximum value
The time satisfying the following condition is used.
Note that the maximum value is a value that can be included within the range of time
type because the delay time setting value is of time type (32-bit value).
• Delay time setting value [ms] ≤ 2147483647 [ms] × Long timer setting value of in
the timer limit setting [ms]
[Example]
• If the long timer setting value is 0.001 ms: T#1ms to T#2147483 ms
• If the long timer setting value is 1000 ms: T#1000 ms to T#2147483000 ms
Data type
BOOL
TIME
BOOL
TIME
19 TIMER FUNCTION BLOCKS
19.2 On Delay Timer
19
199

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents