Device configuration
6.4 Configuration control
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
163
A control data record 196 contains the slot assignment and represents the actual
configuration, as shown below:
Header
1 Block ID 196
3 Subversion 0
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.
Assignment of configured slot 2
Assignment of configured slot 9
Assignment of configured slot 101
Unlike signal modules, the actual
slot for physically-present commu-
nication modules must be the same
Assignment of configured slot 102
15 Assignment of configured slot 103 Actual slot or 255*
: 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.