Manual BG41/BG42/BG43 Interface modules
Rev. 99/49 3-41
Counter modes
Eight modes are available for the counters.
Mode 0
Depending on which input the pulse is situated, it is counted upwards or
downwards. The functions of the 5V counter module differ in this respect to
those of the 24V counter module:
5V Counter module 24V Counter module
UA1x pulse → counts downwards UA1x ground → counts upwards
UA2x +5V UA2x pulse
UA1x pulse → counts upwards UA1x pulse → counts downwards
UA2x ground UA2x ground
Mode 1-5 Direction discriminator
With this mode, out of phase input pulses e.g. from a rotary pulse generator,
can be evaluated.
Depending on the phase position of UA1 to UA2, counting is done upwards
or downwards.
UA1 before UA2 → counts upwards
UA1 after UA2 → counts downwards
In mode 1 and 2 a rising edge from UA1 or UA2 results in a count impulse.
Mode 1
Mode 2
Mode 3
Mode 4
Mode 5
CLK
UA1
UA2
Evaluation of the rising
edge UA2 only
Ealuation of the rising edge
UA2 only
Evaluation of the rising and
falling edge of UA1
Evaluation of the rising and
falling edge of UA2
Evaluation of the rising and
falling edges of both UA1
and UA2