Configuration control (option handling)
9.3 Transferring control data record in the startup program of the CPU
Distributed I/O system
188
System Manual, 12/2016, A5E03576849-AG
Error messages
In case of error, the instruction WRREC returns the following error messages via the
STATUS block parameter:
Table 9- 9
Error messages
Error code
Meaning
80B1
H
Invalid length; the length information in data record 196 is not
correct.
80B5
H
Configuration control parameters not assigned.
80E2
H
Data record was transferred in the wrong OB context. The data
record must be transferred in the startup program.
80B8
H
Parameter error
A parameter error is caused by:
•
Incorrect block ID in the header (not equal to 196)
•
Invalid version identifier in the header
•
A reserved bit was set
•
A station master slot was assigned an invalid slot in the station
option
•
Multiple slots in the station master are assigned to the same
slot in the station option
•
For shared device on submodule level: Violation of defined
restrictions
Selection of the station option in the user program
In order for the CPU to know which station option you want to operate, you must set up a
selection option between the various control data records in the user program. You can
implement the selection, for example, via an Int tag which references an array element.
Note that the tag for selecting the control data record must be located in the retentive
memory area. If the tag is not retentive it will be initialized during the startup of the CPU and
thus be unavailable for selection of the station option.
Summary of Contents for Simantic ET200SP
Page 1: ......