![TREBING + HIMSTEDT GPA-NS-011236 Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/trebing-himstedt/gpa-ns-011236/gpa-ns-011236_manual_1154870022.webp)
Exchanging data using the SIMATIC FB’s
ASCII | 3964R | RK512
20
Parameter for return codes:
contain information on the status or processing results of the FB; also used to transfer
commands (e.g. reset) to the FB.
ANZW is used to convey information on the status of the currently executing data transfer
operation.
ANZW consists of 16 bits, of which bits 0, 1 and 4 are used for the coordination of a send
or receive operation as follows:
Bit 0 = 1
For FB100 and FB101:
Operation is executing
For FB103:
Telegram is being received
Bit 1 = 1
For FB100:
Operation completed,
For FB101:
Telegram has been received
For FB103:
Telegram is being sent
Bit 4 = 1
Reset the operation
Set bit 4 to 1 to cancel the operation. Bit 4 is set to 0 again by the FB
when the operation has been reset.
Bit 2, 3, 5…15
internal use by the FB, do not change
Data consistency (only for S7)
You must use the system functions SFC14 and SFC15 if you are using a firmware module
with an I/O area of more than 2 words. This copies the n words of inputs to a data area
(marker area or DB) and the n words from a data area to n words of outputs. Specify these
data areas in the FB with the parameters »E_Anfang« and »A_Anfang« ein.
SFC14 and SFC15 are standard FB’s for the S7. Refer to the online help or your Step7
user manual for further information.
Name
Type Description / function
present in:
FB100
FB101
FB103
ANZW
W
Status word for data transfer status
X
X
X