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

Configuring/Programming
8.5 Configuration control
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 an error, the WRREC instruction returns the following error messages through the
STATUS block parameter:
Table 8- 4
Error code
80B1
80B5
80E2
80B8
98
Hardware identifier
Data record number: 196 (decimal)
Control data record to be transferred.
For the structure of the control data record, see table (Page 95).
Error message 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
An invalid slot in the station option has been assigned to a slot of the station
master
Multiple slots in the station master are assigned to the same slot in the station
option
Gap not permitted
SIPLUS HCS4300 PROFINET/PROFIBUS DP
Operating Instructions, 10/2019, A5E35452705A/005

Advertisement

Table of Contents
loading

This manual is also suitable for:

Siplus hcs4300 profinetSiplus hcs4300 profibus

Table of Contents