Ton(_E) - Mitsubishi Electric MELSEC FX Series Structured Programming Manual

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
6.7

TON(_E)

Outline
This function block turns ON after specified time.
1. Format
Function name
TON
TON_E
*1.
Refer to caution points.
2. Set data
Variable
EN
Input
IN
(
variable
PT (
ENO
Output
Q
(
variable
ET (
In explanation of functions, I/O variables inside ( ) are described.
Explanation of function and operation
When a device specified in
time specified in
The delay elapsed time until a device specified in
When a device specified in
resets the delay elapsed time.
Cautions
1) Use the function having "_E" in its name to connect a bus.
2) When handling 32-bit data in structured programs, you cannot specify 16-bit devices directly, different
from simple projects. Use labels when handling 32-bit data.
You can specify 32-bit counters directly, however, because they are 32-bit devices.
Use global labels when specifying labels.
3) Expression of function blocks in each language
*1.
Set the instance when using a function block.
Describe the instance name when programming a function block.
FX
3U(C)
Expression in each language
Structured ladder
Instance name
TON
M0
IN
Q
Label 1
PT
ET
Instance name
TON_E
X000
EN
ENO
M0
IN
Q
Label 1
PT
ET
Execution condition
Input signal
)
s
ON start time data
)
n
Execution status
Output signal
)
d1
ON start time current value
)
d2
turns ON, this function block turns ON a device specified in
s
.
n
turns OFF, this function block turns OFF a device specified in
s
FX
FX
FX
3G
2N(C)
1N(C)
TON(IN,PT); *1
Example:
Instance name(IN:=M0,
PT:=Label 1);
M10
M10:=Instance name.Q;
Label 2
Label 2:=Instance name. ET;
TON_E(EN,IN,PT); *1
Example:
Instance name(EN:=X000,
IN:=M0,PT:=Label 1);
M10
M10:=Instance name.Q;
Label 2:=Instance name.ET;
Label 2
Description
turns ON is set to a device specified in
d1
6 Standard Function Blocks
6.7 TON(_E)
FX
FX
/FX
FX
1S
U
2C
0N
ST
Data type
Bit
Bit
Time
Bit
Bit
Time
after the
d1
.
d2
d1
1
FX
0(S)
2
3
4
5
6
A
and
219

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents