![TREBING + HIMSTEDT GPA-NS-011236 Manual Download Page 24](http://html1.mh-extra.com/html/trebing-himstedt/gpa-ns-011236/gpa-ns-011236_manual_1154870024.webp)
Exchanging data using the SIMATIC FB’s
ASCII | 3964R | RK512
22
Receiving data (S5 and S7)
Proceed as follows to receive data:
– Set bit 1 (Telegram has been received) to 0,
and call the Receive data FB (FB201 for S5;
FB101 for S7).
– While bit 0 (Operation is executing) is 1, the
FB receives the data and stores it in the des-
tination data block.
– When the FB has received all the data, it sets
bit 1 (Telegram has been received) to 1. The
received data is now available in the destina-
tion data block.
– Reset the FB by setting bit 1 (Telegram has
been received) to 0. The FB is then ready to
receive again.
== comparison
End
ANZW
Bit 1 == 1
no
yes
TH-FD008e
Start
Bit 1 = 0
Call
FB 201
Read
data