Mitsubishi Electric MELSEC-Q/L Programming Manual page 186

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

• Function with EN/ENO
The following table shows the executing conditions and operation results.
EN
TRUE (Operation execution)
FALSE (Operation stop)
[Timing chart]
When n=3
ON
EN
OFF
ON
s1
OFF
OFF
ON
s2
OFF
ENO
OFF
ON
d1
OFF
d2
0
Initializes
when EN = ON
d2
s2
and
= ON.
Operation error
• No operation error occurs.
Program example
■CTD(_E)
The program which counts the number of times that bit type data input to (s1) is turned from OFF to ON, and turns ON (d1)
when the value of (d2) reaches 0.
• Function without EN/ENO (CTD)
[Structured ladder/FBD]
[ST]
CTD_Inst(CD:=g_bool1, LOAD:=g_bool2, PV:=g_int1, Q:=g_bool3, CV:=g_int2 );
• Function with EN/ENO (CTD_E)
[Structured ladder/FBD]
[ST]
CTD_E_Inst(EN:=M10, CD:=g_bool1, LOAD:=g_bool2, PV:=g_int1, Q:=g_bool3, CV:=g_int2, ENO:=M11);
5 APPLICATION FUNCTIONS
184
5.11 Standard Counter Function Blocks
ENO
TRUE
FALSE
ON
ON
ON
ON
ON
ON
OFF
OFF
OFF
3
2
1
Counts
down when EN = ON and the falling of
d2
ON
ON
ON
ON
OFF
OFF
OFF
ON
0
-1
.
s1
(d1), (d2)
Operation output value
Previous output value
ON
ON
ON
ON
OFF
OFF
ON
OFF
OFF
-2
-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents