Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 224

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
device specified in
1) Function without EN/ENO(TOF)
[Structured ladder]
g_bool1
T#10s
[ST]
TOF_Instance(IN:=g_bool1,PT:=T#10s);
g_bool2:=TOF_Instance.Q;
g_time1:=TOF_Instance.ET;
2) Function with EN/ENO(TOF_E)
[Structured ladder]
M0
[ST]
TOF_E_Instance(EN:=M0,IN:=g_bool1,PT:=T#10s);
M10:=TOF_E_Instance.ENO;
g_bool2:=TOF_E_Instance.Q;
g_time1:=TOF_E_Instance.ET;
222
turns ON. When bit data stored in a device specified in
turns OFF 10 seconds later.
d1
TOF_Instance
TOF
g_bool2
IN
Q
g_time1
PT
ET
TOF_E_Instance
TOF_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
turns OFF, bit data stored in a
s
6.8 TOF(_E)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents