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 different STEP 7 projects
Introduction
The example below describes the configuration of a shared device in different 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 configuration tool as well as in the
hardware configuration in the configuration tool.
In the example below, the configuration 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 configuration tool.
2. Add a station (SIMATIC 410-5H) with the name "CPU1".
3. Open the station in the hardware configuration in the configuration tool and configure 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 configuration 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 configuration in the
configuration tool.
3. Configure a PROFINET IO device ET 200SP HA (IM 155-6 PN HA) with its own I/O modules.
4. Write down the exact configuration of the IO device ET 200SP HA created this way.
5. Save and compile the hardware configuration and close the hardware configuration in the
configuration 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 configuration in the
configuration tool.
Product overview
3.4 Shared Device
IM 155-6 PN HA
14
Equipment Manual, 09/2021, A5E39262148-AE
Содержание ET 200SP HA
Страница 6: ...Security information IM 155 6 PN HA 6 Equipment Manual 09 2021 A5E39262148 AE ...
Страница 8: ...Preface IM 155 6 PN HA 8 Equipment Manual 09 2021 A5E39262148 AE ...
Страница 24: ...Parameters IM 155 6 PN HA 24 Equipment Manual 09 2021 A5E39262148 AE ...
Страница 26: ...Behavior of the device name IM 155 6 PN HA 26 Equipment Manual 09 2021 A5E39262148 AE ...