Transferring The Control Data Record In The Startup Program Of The Cpu - Siemens Simatic S7-1500/ET 200MP System Manual

Automation system
Hide thumbs Also See for Simatic S7-1500/ET 200MP:
Table of Contents

Advertisement

Detailed application example
You can find a detailed application example for the configuration control in S7-1500 in here
(https://support.industry.siemens.com/cs/ww/en/view/29430270) under "Application example
for ET 200SP (PROFINET) and S7-1500 by using the library".
10.2.3

Transferring the control data record in the startup program of the CPU

Required steps
Transfer the created control data record 196 to the CPU/interface module using the WRREC
(Write data record) instruction.
Parameters of the WRREC instruction
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
Automation system
System Manual, 12/2017, A5E03461182-AE
Hardware identifier
For configuration control for centrally arranged modules, use the HW identifier for
the CPU.
If you have selected the CPU in the network view or device view, you can find the
HW identifier on the System constants tab of the Inspector window.
Use the value of the system constant "Local Configuration".
For configuration control for distributed I/O, use the HW identifier of the interface
module.
If you have selected the interface module in the network view or device view, you
can find the HW identifier on the System constants tab of the Inspector window.
Use the value of the system constant "<Name_of_interface_module> Head".
Data record number: 196 (decimal)
Control data record to be transferred.
For the structure of the control data record, see section Creating the control data
record (Page 208).
Flexible automation concepts
10.2 Configuration control (option handling)
217

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents