VEGA VEGACOM 557 Siemens 3964 and 3964 R procedure with RK 512 User Manual

Page 24

Advertising
background image

24

VEGACOM 557 Siemens

S5 functional component

Handling component RECEIVE

This component receives the data of the stated order number.

Difference is made between the two function modes:
• RECEIVE -All

data can be received for each individual order. The parameters ZTYP, DBNR, ZANF and
ZLAE are then irrelevant

• RECEIVE-Direct

data are received for a certain order

Call: Handling component RECEIVE

SPA

FB

245

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

direct parameter setting

y = 0

RECEIVE-All

ANZW

W

Indicating word
W= DBx , MWx

x = 0 … 255

Address of the double word (4 bytes !!)

In the double word, the processing status of a certain order is shown

ZTYP

KC

Information irrelevant as destination information was determined in FETCH

DBNR

KY

Information irrelevant as destination information was determined in FETCH

ZANF

KF

Information irrelevant as destination information was determined in FETCH

ZLAE

KF,KH

Information irrelevant as destination information was determined in FETCH

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

Note:
The RECEIVE component communicates with the CP only if the linking result VKE is 1 before
calling up the component. This can be forced with the instruction

O M 1.1
ON M 1.1.

Advertising