Manual BG41/BG42/BG43 Software
Rev. 99/49 4-71
4.1.8.9 FB25 (FETCH), data request for 3964(R) with RK512
This data handling block is used to fetch data from another PLC through the interface building
blocks BG41, BG42 and BG43 when using the procedure 3964(R) with the RK512 protocol.
Source and target information is transferred when using this data handling block.
Lubricating flags are used in FB25. These must be saved before loading thr
FB25 from a time or alarm protected OB.
The data handling block posseses formal operands.
Several working parameters are to be set through these formal operands. They can be directly as
well as indirectly parametrized.
The following parameters are to be transmitted when loading FB 25 :
Des. Format Explanation
ADRE KH Address set with DIL switches
SSNR KF Interface number 1,2 (3)
A-NR KF Order number (1...255)
QTYP KC Source type
QDBN KY DB no. by the source type DB or DX
QBWN KY Byte/word number from where the data is to be sent
BWAN KF Amount of data to be sent
ZTYP KC Target type for the telegram in the PLC
ZDBN KY DB no. by target type DB
ZBWN KY Byte/word number from where the data is to be written
KOOR KY Coordination flag
ANZW MW The display word is filed in this word
PAFE MB Error messages in relation to parametrizing are filed in this
byte
NEUS M New start bit
Tab. 4-19:List of parameters for the loading of FB25
The following details are necessary for the abovementioned parameters:
ADRE
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).
SSNR
The interface number 1 or 2 is to be given. By the firmware 4017 the number 3
can also be given.
A-NR
Order Number, a number in the area of 1...255. This number may not be given to
any other data handling block.