Functions
5.10 Standard machine projects
PROFINET with STEP 7
Function Manual, 05/2021, A5E03444486-AL
265
Example: Data record structure for the activation of an IO device
The IO device "IO-Device_2" is to be activated as the only IO device in the user program.
To do this, you only require the hardware identifier of "IO-Device_2".
Recommendation: Use the system constants of the hardware identifiers instead of the
absolute values as shown in this example. With this procedure, the content of the DB is not
influenced by changes to the hardware identifiers as the result of changes to the
configuration.
The data record is to be stored in a data block and to be transmitted to the PROFINET
interface of the IO controller in the user program using the instruction "ReconfigIOSystem".
①
IO device_2 is configured as optional IO device.
②
Once the data record is transmitted and the configuration is activated using the instruction
"ReconfigIOSystem" IO device_2 is included in the configuration and participates in the data
exchange with the IO controller.
Figure 5-100 Example: Activating an optional IO device
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: ......