System manual CECX / Incremental encoder interface module CECX-C-2G2
CECX-II 27-17
27.6.7 Zero pulse monitoring
When a rotary encoder with Zero pulse is used, the configuration of the
number of pulses per rotation will activate the monitoring, which compares
the number of counted pulses with the number of configured pulses. If the
numbers of pulses differ, an error message will be triggered.
This allows monitoring the correct function of the connected transducer.
27.6.8 Latch function digital input
A latch function is available to record the counter status when an edge oc-
curs at one of the latch inputs (DI0, DI1) of the CECX-C-2G2.
The current counter status is recorded at the first edge. When the counter
status is read out at the next update cycle the trigger will be activated
again. If another latch event (edge change) occurs before the next update,
the information of the first event will be retained.
A time stamp on each latch event is recorded within the update cycle. The
time stamp has a resolution of 1µs. This time stamp is unique up to an up-
date cycle of 65ms. The possibility of an overflow exists for longer cycle
times of the application program, so that update cycles of the incremental
encoder inputs of >65ms should be avoided.
The latch inputs are firmly assigned to the incremental encoder inputs:
INC0 – DI0, INC1 – DI1.
Information
To avoid faulty triggering of the latch inputs, attention should be given that
the wiring is done appropriately.
27.6.9 Latch function Zero pulse
Another latch function is available (zeroLatchMode=1) to record the counter
status when a Zero pulse occurs at an incremental encoder.
The current counter status is recorded when the Zero pulse occurs. When
the counter status is read out at the next update cycle the trigger will be ac-
tivated again.
27.6.10 Simulation mode
During simulation mode ( simulate=1), the transducer signals are simulated
by internal software test signals and evaluated instead of the transducer
signals. The simulation mode can be selected through the configuration.