Shared device in the user program
The shared device has no special role in the user program. The submodules assigned to the
station are addressed as usual using their addresses, while the other submodules are not given
an address.
3.4.3 Shared device in dierent STEP 7 projects
Introduction
The example below describes the conguration of a shared device in dierent projects. Two IO
controllers share the submodules of an IO device in the example.
To use the shared device function, steps are required in the conguration tool as well as in the
hardware conguration in the conguration tool.
In the example below, the conguration of a shared device is described based on the PROFINET
IO device ET 200SP HA (IM 155-6 PN HA) on a SIMATIC CPU 410-5H as IO controller.
Preparation
1. Create a project with the name "Shared-Device-1" in the conguration tool.
2. Add a station (SIMATIC 410-5H) with the name "CPU1".
3. Open the station in the hardware conguration in the conguration tool and congure the
CPU with PROFINET interface (a SIMATIC S7 410-5H in the described case).
4. Assign parameters to the PROFINET interface of the station created.
5. Save and compile the station and close the project.
6. Create another project with the name "Shared-Device-2" in the conguration tool.
7. Add a station (e.g. SIMATIC S7 417) with the name "CPU2".
8. Repeat steps 3 to 5.
Creating a shared device
1. Open the project "Shared-Device-1".
2. Open the station of the IO controller "CPU1" in the hardware conguration in the
conguration tool.
3. Congure a PROFINET IO device ET 200SP HA (IM 155-6 PN HA) with its own I/O modules.
4. Write down the exact conguration of the IO device ET 200SP HA created this way.
5. Save and compile the hardware conguration and close the hardware conguration in the
conguration tool and the project.
6. Open the other previously created project "Shared-Device-2".
7. Open the station of the IO controller "CPU2" in the hardware conguration in the
conguration tool.
Product overview
3.4 Shared Device
IM 155-6 PN HA
14 Equipment Manual, 09/2021, A5E39262148-AE