Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 215

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

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
Program example
In this program, the number of times the bit data stored in a device specified in
counted, and a device specified in
becomes "0".
1) Function without EN/ENO(CTD)
[Structured ladder]
g_bool1
g_bool2
g_int1
[ST]
CTD_Instance(CD:=g_bool1,LOAD:=g_bool2,PV:=g_int1);
g_bool3:=CTD_Instance.Q;
g_int2:=CTD_Instance.CV;
2) Function with EN/ENO(CTD_E)
[Structured ladder]
M10
g_bool1
g_bool2
[ST]
CTD_E_Instance(EN:=M10,CD:=g_bool1,LOAD:=g_bool2,PV:=g_int1);
M11:=CTD_E_Instance.ENO;
g_bool3:=CTD_E_Instance.Q;
g_int2:=CTD_E_Instance.CV;
turns ON when the value stored in a device specified in
d1
CTD_Instance
CTD
CD
Q
g_bool3
g_int2
LOAD
CV
PV
CTD_E_Instance
CTD_E
EN
ENO
CD
Q
LOAD
CV
g_int1
PV
M11
g_bool3
g_int2
6 Standard Function Blocks
6.4 CTD(_E)
turns ON from OFF is
s1
d2
213
1
2
3
4
5
6
A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents