
Registers of the IEI option module
Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01
Document No.: 5.02013.02
Baumüller Nürnberg GmbH
44
7.3
*.w_LATCH3_ONCE = 16#0001 copies the IEI option module's internal counter to
counter latch register 3 only once namely when latch condition 3 occurs.
*.w_LATCH3_ONCE = 16#0000 deactivates this function.
The default setting is *.w_LATCH3_ONCE = 16#0000, i.e. this function is deactivated.
7.3.9
Latch2 once register
This register only has a meaning in the IEI option module's encoder mode.
Using Latch2 once register *.w_LATCH2_ONCE, you can set copying once of the IEI
option module's internal counter to counter latch register 2 (*.ud_COUNTER_LATCH3)
when latch condition 2 occurs. The system does not evaluate any further occurrences of
latch condition 2.
After counter latch register 2 has been overwritten with a value of 0
(*.ud_COUNTER_LATCH2 = 0), the system again copies the value of the internal
counter to counter latch register 2 when latch condition 2 occurs.
*.w_LATCH2_ONCE = 16#0001 copies the IEI option module's internal counter to
counter latch register 2 only once namely when latch condition 2 occurs.
*.w_LATCH2_ONCE = 16#0000 deactivates this function.
The default setting is *.w_LATCH2_ONCE = 16#0000, i.e. this function is deactivated.
7.3.10 Latch mode register
This register only has a meaning in the IEI option module's encoder mode.
Using latch mode register *.w_LATCH_MODE, you set latch condition 2 and latch con-
dition 3.
To do this, you choose which signal the latch condition supplies:
m
Probe 1
m
Probe 2
m
Reference cam
m
Zero track of the encoder
Here, you can specify several signals. The selected signals are ANDed.
In addition, you can choose the edge of the set signal with which the latch condition is
met.
If the rising edge of the reference cam is set as the latch condition, the system copies the
value of the IEI option module's internal counter to the respective counter latch register
and then zeroes the internal counter when the latch condition is met.
This is also the case if the reference cam is ANDed with the other signals as the latch
condition.
Example:
The reference cam's rising edge is set as latch condition 2 with its falling edge being set
as latch condition 3. When latch condition 2 is reached, the system copies the value of
the internal counter to counter latch register 2 and then zeroes the internal counter. When
latch condition 3 is reached, the system copies the value of the internal counter to counter
latch register 3.