Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 222

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

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
Program example
In this program, when bit data stored in a device specified in
specified in
d1
1) Function without EN/ENO(TON)
[Structured ladder]
g_bool1
T#10s
[ST]
TON_Instance(IN:=g_bool1,PT:=T#10s);
g_bool2:=TON_Instance.Q;
g_time1:=TON_Instance.ET;
2) Function with EN/ENO(TON_E)
[Structured ladder]
M0
[ST]
TON_E_Instance(EN:=M0,IN:=g_bool1,PT:=T#10s);
M10:=TON_E_Instance.ENO;
g_bool2:=TON_E_Instance.Q;
g_time1:=TON_E_Instance.ET;
220
turns ON 10 seconds later.
TON_Instance
TON
g_bool2
IN
Q
g_time1
PT
ET
TON_E_Instance
TON_E
EN
ENO
g_bool1
IN
Q
T#10s
PT
ET
s
M10
g_bool2
g_time1
6 Standard Function Blocks
turns ON, bit data stored in a device
6.7 TON(_E)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents