Counter Block - Mitsubishi Electric a2 Series Programming Manual

Simple application controllers
Table of Contents

Advertisement

α
2 Simple Application Controllers
6.11

Counter Block

The function block counts input pulses and turns the Output ON when a preset limit is reached.
The counter counts up only to a maximum value of 32767 and increments on the rising pulse.
Normal inputs count to a maximum of 20Hz, however, with an extension module attached
inputs EI1 or EI2 can count to a maximum of 1KHz.
Table 6.12: Counter Function Block
Function
0 0
0
I
P
O
C
C
N
Counter Operation
Input pin I
Input pin C
Current value of
counter
Output
Setup of the Counter Function Block directly from the
1 ) Allocate the input pin to be used for the function block.
2 ) Press the "OK" key with the cursor in the function block. The function block edit screen is
displayed as shown
3 ) Press the "OK" Key and enter the counter function block settings using the "+, -,
keys.
4 ) Press the "OK" Key and return to the function block edit screen.
Set Item
I
Input pin for one shot operation
Clear input pin resets the state of the output regardless of the input
C
given if reset has been given priority.
The counter function block can be incremented to a maximum of
FB
32767 counts.
1) When the current incremental value reaches the set value of the
counter function block the status of the output is ON.
2) The clear signal will reset the value of the counter to 0
Output
3) One incremental count is only registered if the input pin locates a
rising edge.
4) The following items are available for other function blocks:
a) Count
b) Current Count
ON
OFF
4
3
2
1
0
OFF
Description
ON
OFF
5
(=set value)
0
0
ON
α
2 Series Controller
Function Blocks 6
4
3
2
1
0
0
B 0 0 1 : CN
S e t u p F B
C h a n g e N o
D e l e t e F B
B 0 0 1 : CN
C o u n t
N =
n =
6 - 24
and
"
1
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Al2-mr-a seriesAl2-mr-d series

Table of Contents