User Manual

VEGACOM 557 Siemens 23
S5 functional component
5.2 Handling components for reading in of data (indicating values)
For reading in the indicating values from the VEGAMET instruments and saving them in a PLC
data component, the handling component HTB FETCH is necessary to place orders and the
HTB RECEIVE to fetch and save data.
Handling component FETCH
The FETCH component gives the order to the CP to fetch data of a communication partner. The
receipt of the data however is carried out by the component RECEIVE.
Calling up of handling component FETCH
SPA FB 246 with Simatic S5-115U CPU 942 B
Para- Format Meaning
meter
SSNR KY Interface number
KY = 0,y y = 0 255
The logical number of the interface on which the concerned order can be
found.
See switch position on CP (J53).
A-NR KY Order number
KY = 0,y y = 0 255 y = order number
ANZW W Anzeigewort
W= DBx , MWx x = 0 255 Addresse of the double word (4 bytes !!)
In the double word, the processing status of a certain order is shown
ZTYP KC Type of the data destination
DBNR KY Data component number
KY = 0,y y = 0 255
Number of the data component in which the data should be saved
ZANF KF Initial data block address of the destination
ZLAE KF,KH Data block length of the destination
PAFE Error indication with parameter setting failure
BY = MB 0, MB 255; AB 0, , AB 127
Information of a byte, in which a parameter setting failure is entered