Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 220

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(TP)
[Structured ladder]
g_bool1
T#10s
[ST]
TP_Instance(IN:=g_bool1,PT:=T#10s);
g_bool2:=TP_Instance.Q;
g_time1:=TP_Instance.ET;
2) Function with EN/ENO(TP_E)
[Structured ladder]
M0
[ST]
TP_E_Instance(EN:=M0,IN:=g_bool1,PT:=T#10s);
M10:=TP_E_Instance.ENO;
g_bool2:=TP_E_Instance.Q;
g_time1:=TP_E_Instance.ET;
218
turns ON and remains ON for 10 seconds.
TP_Instance
TP
g_bool2
IN
Q
g_time1
PT
ET
TP_E_Instance
TP_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.6 TP(_E)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents