![TREBING + HIMSTEDT GPA-NS-011236 Manual Download Page 23](http://html1.mh-extra.com/html/trebing-himstedt/gpa-ns-011236/gpa-ns-011236_manual_1154870023.webp)
ASCII | 3964R | RK512
Exchanging data using the SIMATIC FB’s
21
Configuring the size of the data blocks (S5 and S7)
The data blocks used for sending and receiving RK512 telegrams (DB-Q and DB-Z for
S5; DB_Empfangen and DB_Senden for S7) must be at least 78 words in length to allow
enough space for the telegrams.
Note!
Ensure that the data blocks used to send and receive RK512 telegrams exist
and are long enough, otherwise the FB will output an error telegram (FB203 for
S5; FB103 for S7).
Sending data (S5 and S7)
Proceed as follows to send data:
– Copy the data to be sent to the user data area (DW6 to
DWX for S5; DW0 to DWX for S7) of the source data
block (DB).
– Call the Send data FB (FB200 for S5; FB100 for S7) re-
peatedly while bit 0 (Operation is executing) is 1.
– The data has been completely sent when bit 1 (Opera-
tion completed) changes to 1.
== comparison
End
ANZW
Bit 0 == 1
no
yes
TH-FD007e
Start
Senddata
in DB
Call
FB 200