Functions
5.10 Standard machine projects
PROFINET with STEP 7
274
Function Manual, 05/2021, A5E03444486-AL
Creating data block
For the derived configuration, the structure of the data block "DB-IO-SYSTEM-Port-
Interconnections" is explained as an example.
This data block is used when calling the instruction "ReconfigIOSystem" at input parameter
"CTRLREC".
Instead of the absolute values for the hardware identifiers of the ports, the system constants
of the hardware identifiers are used here.
The data block is structured as follows:
Line 2: Declaration of an Array of Word (only this data type is possible).
Line 3: Version of the control data record: V1.0.
Line 4: Number of optional IO devices: 0.
Line 5: Number of specified port interconnections: 3.
Line 6: Port interconnection 1, local port.
Line 7: Port interconnection 1, partner port.
Line 8: Port interconnection 2, local port.
Line 9: Port interconnection 2, partner port
Line 10: Port interconnection 3, local port.
Line 11: Port interconnection 3, partner port.
Figure 5-106 Data block with data record for port interconnections
Interconnection not listed in data block
If the partner port was configured as "Setting partner by user program" in the port properties
and this port is not listed in the data record or data block resp., then the CPU sets this port to
the setting "any partner". If no data record is transmitted at all, the CPU sets this "any partner"
setting for all program-controlled assignments.
Additional information
For information on the basic structure of the data record and on using the instruction
"ReconfigIOSystem" see the STEP 7 online help.
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......