Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controllers Devices in Detail 4
4-31
4.11.7 2 Phase Bi-directional Counters (C246 to C250)
These counters have one input for countin
g
up and one input for countin
g
down. Certain
counters also have reset and start inputs as well.
When X10 is ON, C246 resets in the same
wa
y
as standard 32bit counters.
Counter C246 uses inputs;
X0 to count up and
X1 to count down
For an
y
countin
g
to take place the drive input
X11 must be ON to set and reserve the
assi
g
ned inputs for the attached counter, i.e. C246.
Note:
X0 movin
g
from OFF to ON will increment C246 b
y
one
X1 movin
g
from ON to OFF will decrement C246 b
y
one
Bi-directional counter C250 can be seen to
have X5 as its reset input and X7 as its start
input. Therefore, a reset operation can be
made externall
y
without the need for the RST
C250 instruction.
X13 must be ON to select C250. But start
input X7 must be ON to allow C250 to actuall
y
count. If X7
g
oes OFF countin
g
ceases.
Counter C250 uses input X3 to count up and input X4 to count down.
Device size:
All of these counters have 32bit operation.
Setting range:
-2,147,483,648 to +2,147,483,647
Direction setting:
The countin
g
direction for 1 phase counters is dependent on their correspondin
g
fla
g
M8 ; where is the number of the correspondin
g
counter, (C241 to C245).
- When M8 is ON the counter counts down,
- When M8 is OFF the counter counts up.
X11
D2
C246RST
X10
C246
X13
K1234
C250