
Rectangle incremental encoder and signal multiplication
Operating Instructions Option Module IEI for b maXX drive PLC BM4-O-IEI-01
Document No.: 5.02013.02
Baumüller Nürnberg GmbH
52
7.5
Example 2:
You have a b maXX unit with a b maXX drive PLC option module and an IEI option mod-
ule.
In the b maXX drive PLC an event task is assigned to Event 8 ("BACI process data"). This
event is triggered by signal "MasterCS_Actual1" on the BACI.
In the cold boot and warm restart task of the b maXX drive PLC, call FB TIMER_A_INIT
twice after FB BACI_INIT.
At the first call, the "MasterCS_Actual1" signal is switched to the internal TA signal
(us_SIGNAL = 2, x_EN = TRUE).
At the second call, the internal TA signal is switched to the "Sync 1 signal" on the BACI
(x_MODE = TRUE, us_SIGNAL = 13, x_EN_SIGNAL_OUT = TRUE, x_EN = TRUE).
Figure 12:
Synchronizing the IEI option module with the b maXX drive PLC, example 2
From now on, the system copies the value of the IEI option module's internal counter to
counter latch register 1 each time the "MasterCS_Actual1" signal occurs and, with this,
the "Sync 1 signal" on the BACI.
7.5
Rectangle incremental encoder and signal multiplication
A rectangle incremental encoder generally has two encoder tracks (U1 and U2) that are
offset by 90° as well as an encoder zero track (U0). The encoder tracks are output as dif-
ferential signals (U1 and U1_, U2 and U2_ as well as U0 and U0_ ).
Depending on the evaluation of the signal edges of encoder tracks U1 and U2, there is
multiplication of the encoder signal.