1992
36 COUNTER/TIMER FUNCTION BLOCKS
36.6 On Delay Timer
36.6
On Delay Timer
TON(_E)
These function blocks turn on a signal after the specified period of time.
Setting data
■
Description, type, data type
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#1ms to T#2147483ms. Note that the valid setting range will be as follows by changing the
timer limit setting using the engineering tool.
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).
• [RnPCPU (redundant)] If these function blocks are used in a program executed in both systems, they do not operate in the standby system when the
redundant system is in backup mode. (
MELSEC iQ-R CPU Module User's Manual (Application))
Ladder, FBD/LD
Structured text
[Without EN/ENO]
[With EN/ENO]
[Without EN/ENO]
Instance name(IN:=s,PT:=n,Q:=d1,ET:=d2);
[With EN/ENO]
Instance name(EN:=en,ENO:=eno,IN:=s,PT:=n,Q:=d1,ET:=d2);
Argument
Description
Type
Data type
EN
Execution condition (TRUE: Executed, FALSE: Not executed)
Input variable
BOOL
s (IN)
Time measurement
Input variable
BOOL
n (PT)
Delay time setting value
Input variable
TIME
ENO
Output status (TRUE: Normal, FALSE: Abnormal or operation stop)
Output variable
BOOL
d1 (Q)
Output
Output variable
BOOL
d2 (ET)
Elapsed time
Output variable
TIME
Minimum value
Maximum 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 1ms, the
minimum value will be 1ms.
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.001ms: T#1ms to T#2147483ms
• If the long timer setting value is 1000ms: T#1000ms to T#2147483000ms
RnCPU RnENCPU
RnSFCPU RnSFCPU
RnPCPU
RnPCPU
(Standard)
(Safety)
(Redundant)
(Process)
s
d1
d2
n
EN
ENO
d1
d2
s
n
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......