
Operation
Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-
IEI-01
49
7
Bit 3 - Direction of counting
Using bit 3, you select the internal counter's direction of counting.
Bit 4 - Set preload value
Using bit 4, you can set the internal counter to a predefined value.
Bit 5 - Sequence of latch conditions 2 and 3
Using bit 5, you select whether the system is to ignore the sequence in which latch con-
dition 2 and latch condition 3 occur or not.
If bit 5 = FALSE, the sequence is ignored.
If bit 5 = TRUE, handles the sequence as follows:
If the encoder rotates clockwise, latch condition 2 must occur before latch condition 3 for
the value of the internal counter to be copied to counter latch register 3.
If the encoder rotates counterclockwise, latch condition 3 must occur before latch condi-
tion 2 for the value of the internal counter to be copied to counter latch register 2.
Bit 6 to bit 15 are reserved.
Example counter mode register:
The IEI option module is being operated in encoder mode. Choose "single" as the multi-
plication of the encoder signal. If the encoder rotates clockwise, you want the internal
counter to count up. No preload value is set. The order in which latch conditions 2 and 3
does not affect copying of the internal counter to counter latch registers 2 and 3:
The value 16#0002 is entered in the counter mode register
(*.w_COUNTER_MODE = 16#0002).
Re
se
rv
ed
T
h
e se
qu
en
ce
o
f latc
h
cond
itions
doe
s n
o
t m
a
tte
r
Do n
o
t
set a pr
elo
ad value
Incre
m
en
ta
l if en
co
de
r
rotates c
loc
kwise
IEI in
encod
er
m
ode
"Single" multiplication
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Binary
value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
Hexadeci-
mal value
0
0
0
2
16#0002