Specifications

34
SINEC L1 Data Handling Software for S5 135U with CP530 Section 4-6
4.6.4 Communications Function Block FB201
FB201 must be executed by OB1 at cyclic intervals. The handling of the data ex-
change with the operating terminal is performed entirely by this function block. This
process involves that the FB, each time it is being executed, verifies whether a read
or write request has been received from the terminal and carries out such a request
if necessary. To carry out a read or write request, FB will execute FB202 or FB203,
respectively, which are responsible for reading or writing to variables, respectively.
In the event that the terminal has not sent a request, the FB will verify whether the
status data area is to be transferred to the terminal and will, if necessary, carry out
this process.
The only parameter to be defined for FB201 is the number of the communications
data block L1DB.
4.6.5 Parameterizing the CP530
Addressing of the communications processor CP530 must occur using the inter-
face number specified during the execution of FB200.
In addition, the CP530 must be operated as a SINEC L1 slave. The slave number
assigned to the communications processor must coincide with the number defined
during the programming of the operating terminal (preferably 1).
Programming of polling lists and interrupt lists is not required for a SINEC L1 slave.