Functions
5.10 Standard machine projects
PROFINET with STEP 7
Function Manual, 05/2021, A5E03444486-AL
263
5.10.2.3
Enabling optional IO devices in the program
Requirements
•
IO controller supports configuration control for IO systems, for example CPU 1516-3 PN/DP
as of firmware version 1.7
•
STEP 7 V13 SP1 or higher
•
At least one IO device was configured as optional IO device.
•
The rules (Page 1) for the establishment and operation of a standard machine project have
been considered.
Procedure
Observe the information on and rules for commissioning in the documentation for SIMATIC
S7-1500, for the ET 200SP CPUs and for the CPU 1516pro-2 PN.
The following description of the proceeding only includes steps required to understand the
program-controlled activation of an optional IO device.
To activate or deactivate IO devices, follow these steps:
1.
Create a data record "CTRLREC" for the instruction "ReconfigIOSystem". You can find
information on the structure of the data record in the STEP 7 online help.
2.
Call the instruction "ReconfigIOSystem" and select MODE 1 to deactivate all IO devices.
If you set the CPU to STOP or POWER OFF state in order to modify the plant in this status
(for example to add an optional IO device), explicit deactivation using "ReconfigIOSystem"
with mode 1 is not necessary. In this case, i.e. following a STOP-RUN transition and
following a POWER-OFF > POWER-ON transition, all IO devices are deactivated
automatically.
3.
When you have brought the plant to a safe status that allows restructuring without any
danger:
Put the plant together according to your intended application. Add the required optional
IO devices at the points at which you planned this in the configuration (observe the
order!) or remove optional IO devices that you no longer require.
4.
Network the IO devices.
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: ......