Manual BG41/BG42/BG43 Interface modules
Rev. 99/49 3-51
3.2.9.5 Application of analogue input/output with data handling blocks
Possible data handling blocks for analogue input
Initialization FB50, FB51, FB54
Cycle FB52, FB55, FB56, FB57, FB58
Possible data handling blocks for analogue output
Initialization FB50, FB51, FB54
Cycle FB53, FB56
3.2.9.5.1 FB50 (PROCW), procedure selection
The procedure and the module number are set with the FB50 (PROCW). The number of analogue
channels which should be polled by the firmware, can be additionally set. This enables an increase
in the polling rate of the used channels.
FB50 (PROCW) is to be load at the new start or restart (OB 20 ... 22) for each module.
The following parameters are to be transferred when loading FB 50:
Des. Format Explanation
ADR KF Peripheral base address of the building
block
KANR KF Number of channels
MODL KF Module number
NKAN KF Maximum inputs
FEHL BY Error byte
Tab. 3-8: List of parameters fot the loading of FB50
The following details are necessary for the abovementioned parameters:
ADR
(peripher)
Input of the peripheral base address, under which the building block can be
controlled by the PLC. This address can be set with the DIL switches S1 and S2.
Further details can be found in chapter 5.
KANR
Number of channels, to which the module is connected. The used channel number
is dependant upon the interface:
Building block BG41 Channel number 1
Building block BG42 Channel number 1, 2
Building block BG43 Channel number 1, 2, 3
MODL
Number of modules, see order number or module imprint. Valid number are from
40 to 49.