Handling with VIPA data handling blocks Manual BG41/BG42/BG43
4-10 Rev. 99/49
4.1.4 Selection of function
4.1.4.1 FB100 (PROCW), protocol/procedure selection
The function of the interface is selected with the FB 100 (PROCW). The channel number and
protocols and procedures to be used can be determined here.
For peripheral addressing please use FB101
The following parameters are to be transferred when loading FB 100:
Des Format Explanation
ADR KH Building block’s absolute base address
KANR KF Number of channels
PROC KF Protocol, procedure
FEHL BY Error byte
Tab. 4-5: List of parameters for the loading of FB100
The following details are necessary for the abovementioned parameters:
ADR
(absolut)
Input of the physical start address, under which the module can be accessed by
the PLC. This start address can be set with the DIL switches S1 and S2.
In the case of peripheral addressing enter the address, which can be set with the
DIL switch S1 onto the building block, into FB101. The following addresses can
be loaded: BG41: PY128-PY252, BG42 and BG43: PY128-PY248
KANR
KANR= Number of channels, through which the data is to be transmitted. The
channel number used is dependent upon the interface:
Building block BG41 Channel number 1
Building block BG42 Channel number 1, 2
Building block BG43 Channel number 1, 2, 3
PROC
The function selection occurs by entering the respective codes. The following
code should be given:
Code 00: without a protocol/procedure
Code 01: STX/ETX - protocol
Code 02: Meldefunktion (nur für Meldebaugruppen)
Code 05: Counter (only possible with counter modules)
Code 06: Clock pulse generator (only possible with clock pulse
generator modules)
Code 07: DCF77 (only possible with DCF77 antenna modules)
Code 12: SSI Module (only possible with SSI modules)
FEHL
This byte has a value of 0, if functioning correctly. In the case of a malfunction an
error code is entered. The error is acknowledged automatically, i.e. the byte is
reset to 0 once the cause of the error has been eliminated.
An overview of possible error codes are to be found in chapter 4.1.5.3.