Transferring Control Data Record In The Startup Program Of The Cpu - Siemens SIPLUS HCS Series Operating Instructions Manual

Io systems for heating elements. heating control system
Hide thumbs Also See for SIPLUS HCS Series:
Table of Contents

Advertisement

8.5.3.4

Transferring control data record in the startup program of the CPU

Required steps
Transfer the created control data record 196 to the CIM using the WRREC (Write data
record) instruction.
To verify the configuration, the feedback data record 197 can be queried by the CIM with the
RDREC instruction (read data).
Parameters of the instruction WRREC
Below, you will find explanations of individual parameters of the WRREC instruction which
you must supply with specific values in the configuration control context. You can find
additional information on the WRREC instruction in the STEP 7 online help.
ID
INDEX
RECORD
In case of error, the instruction WRREC returns the following error messages via the
STATUS block parameter:
Table 8- 6
Error code
80B1
80B5
80E2
80B8
SIPLUS HCS4200 PROFINET/PROFIBUS DP
Operating Instructions, 07/2019, A5E35066204A/006
Hardware identifier
Data record number: 196 (decimal)
Control data record to be transferred.
For the structure of the control data record, see table. (Page 118)
Error messages WRREC
Meaning
Invalid length; the length information in data record 196 is not correct.
H
Configuration control parameters not assigned.
H
Data record was transferred in the wrong OB context. The data record must be
H
transferred in the startup program.
Parameter error
H
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
8.5 Configuration control (option handling)
Configuration
121

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Siplus hcs4200 profinetSiplus hcs4200 profibus dp

Table of Contents