EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 163

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Device configuration
6.4 Configuration control
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
163
Control data record
A control data record 196 contains the slot assignment and represents the actual
configuration, as shown below:
Byte
Element
Value
Explanation
0
Block length
16
Header
1 Block ID 196
2
Version
5
3 Subversion 0
4
Assignment of CPU annex card
Actual annex card, 0, or 255*
Control element
Describes in each element which
re
al slot in the device is assigned to
the configured slot.
5
Assignment of configured slot 2
Actual slot, 0, or 255*
...
...
...
12
Assignment of configured slot 9
Actual slot, 0, or 255*
13
Assignment of configured slot 101
Actual slot or 255*
Unlike signal modules, the actual
slot for physically-present commu-
nication modules must be the same
as the configured slot.
14
Assignment of configured slot 102
Actual slot or 255*
15 Assignment of configured slot 103 Actual slot or 255*
*Slot values:
0
: Configured module is not present in the actual configuration. (The slot is empty.)
1 to 9, 101 to 103: The actual slot position for the configured slot
255: The STEP 7 device configuration does not include a module in this slot.
Note
Alternative to creating a PLC tag type
As an alternative to creating a custom PLC tag type, you can create a data block directly with
all of the structure elements of a control data record. You could even configure multiple
structs in this data block to serve as multiple
control data record configurations. Either
implementation is an effective way to transfer the control data record during startup.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals