5.11 Standard Counter Function Blocks; Up Counter - Mitsubishi Electric MELSEC-Q/L Programming Manual

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

Advertisement

5.11
Standard Counter Function Blocks

Up counter

CTU(_E)
High
Basic
Process
Redundant Universal
performance
Structured ladder/FBD
CTU_E
EN
ENO
s1
d1
s2
d2
n
The following function(s) can go in the dotted squares.
CTU, CTU_E
■Argument
Input/output
Name
argument
Input argument
EN
s1(CU)
s2(RESET)
n(PV)
Output argument
ENO
d1(Q)
d2(CV)
Processing details
■Operation processing
• Counts (d2) when (s1) is turned ON. When the count value (d2) reaches the value input to n, (d1) turns ON. When (s2) is
turned ON, (d1) turns OFF and count value (d2) is reset.
• Valid setting range for n is -32768 to 32767. However, if 0 or less is set, (d1) is turned on regardless of the count value of
(d2).
■Operation result
• Function without EN/ENO
An operation is executed and the operation value is output from (d1) and (d2).
[Timing chart]
ON
ON
s1
OFF
OFF
OFF
s2
OFF
d1
OFF
d2
0
1
Counts
d2
up when
s1
= ON.
LCPU
ST
ENO:=
(EN, s1, s2, n, d1, d2);
CTU_E
Description
Executing condition (TRUE: Execution, FALSE:
Stop)
Count signal input
Count reset
Maximum count value
Execution result (TRUE: Normal, FALSE: Error or
stop)
Count match output
Count value
ON
ON
ON
ON
2
3
Data type
Bit
Bit
Bit
Word (signed)
Bit
Bit
Word (signed)
ON
ON
ON
OFF
OFF
ON
OFF
OFF
0
1
Clears
d2
0 when
s2
= ON.

5.11 Standard Counter Function Blocks

2
5 APPLICATION FUNCTIONS
5
181

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents