Functional description and allocation of terminal pins Manual BG41/BG42/BG43
3-44 Rev. 99/49
3.2.8.12 Application of counter modules without data handling blocks
Further information for the application of the interface without Data Handling Blocks can be found
in chapter 4.2.
Command: 80 - Setting the counter mode
With the command 80 the building block is informed, that the counter’s mode should be set. The
following two bytes transfer the mode which is to be set.
xx occupies the high-order byte
yy occupies the low-order byte
The two bytes are structured as follows:
Fig. 3-35: Counter`s sequence bytes from command 80
Byte xx Bit 7 RESET 0-all counters activated
1-all counter reset
Bit 6 DOWN3 Bits are normally at 1.
Bit 5
Bit 4
DOWN2
DOWN1
If a bit is set by means of software from 1 to 0
and back to 1, the corresponding counter is
decremented.
Bit 3 UP3 Bits are normally at 1.
Bit 2
Bit 1
UP2
UP1
If a bit is set by means of software from 1 to 0
and back to 1, the corresponding counter is
incremented.
Byte yy Bit 0 Mode
Bit 7 0-7
Bit 6 for counter 3
Bit 5 Mode
Bit 4 0-7
Bit 3 for counter 2
Bit 2 Mode
Bit 1 0-7
Bit 0 for counter 1