FX Series Programmable Controllers

Devices in Detail 4

4.11.6A/B Phase Counters (C252 to C255)

With these counters only the input identified in the previous high speed counter tables can be used for counting. The counting performed by these devices is independent of the program cycle (scan) time. Depending on the counter used, start, reset and other associated inputs are automatically allocated.

The A phase, B phase input signal not only pro vide th e co un ted sig na ls b ut the ir relationship to each other will also dictate the counted direction.

While the wave form of the A phase is in the ON state and...

the B phase moves from OFF to ON the counter will be counting up.

However, if...

the B phase moves from ON to OFF the counter will be in a down configuration.

One count is registered after both A and B phase inputs have been given and released in the correct order.

C251 counts the ON/OFF events of input X0 (the A phase input) and input X1 (the B phase input) while X11 is ON.

C255 starts counting immediately when X7 is turned ON while X13 is ON. The counting inputs are X3 (A phase) and X4 (B phase).

C255 is reset when X5 is turned ON. It can also be reset with X12 in the sequence.

Up-count

A-phase

B-phase

Down-count A-phase

B-phase

X10

 

 

 

RST

C251

 

 

 

 

 

X11

 

 

C251

 

 

 

 

 

 

 

 

 

 

 

 

 

X12

 

 

K1234

 

 

 

RST

C255

 

 

 

 

 

X13

C255

D0

Device specification:

A maximum of 2 points - 2 phase, 32bit, up/down counters can be used. The operation of the output contact in relation to the counted data is the same as standard 32bit counters described in section 4.11.

Setting range:

-2,147,483,648 to +2,147,483,647

Direction setting:

Check the corresponding special relay M8✰✰✰ to determine if the counter is counting up or down.

4-29

Page 103
Image 103
Mitsubishi Electronics FX1S manual 11.6 A/B Phase Counters C252 to C255