Mitsubishi Electronics FXCPU Welding System User Manual


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