Functional description and allocation of terminal pins Manual BG41/BG42/BG43
3-40 Rev. 99/49
3.2.8.11 FB12 (MODE), mode selection for the counter
Use the FB12 (MODE) for selecting the mode of the three counters of the counter module. Each
counter, independent from the other counters, can be set to one of eight different modes. Load the
FB12 in start OB.
The following parameters are to be transferred when loading FB12:
Des. Format Explanation
ADR KH building block’s absolute base
address
KNR KF Number of channels
MOD1 KF Mode for counter 1 (0 ... 7)
MOD2 KF Mode for counter 2 (0 ... 7)
MOD3 KF Mode for counter 3 (0 ... 7)
Tab. 3-7: List of parameters for the loading of FB12
The following details are necessary for the abovementioned parameters:
ADR
Input of the physical start address, under which the building block can be
accessed by the PLC. This start address can be set with the DIL switches S1
and S2 (see chapter 5).
KNR
Number of channels, to which the counter module is connected. For the
building blocks the following inputs are possible:
BG41 - 1
BG42 - 1 or 2
BG43 -1,2or3
MOD1
MOD2
MOD3
Mode to be set for the counters 1, 2 und 3. Eight modes can be set
independantly from each other for each counter on the module. These
modes are described in detail on the following pages.