This project serves as a simple application example, providing a demo case for exploring the interaction between Control Logic Engineering and Unified Elements. It also covers the installation of GSD files and demonstrates hardware integration. Feel free to adapt and extend this project to implement additional functionalities according to your needs.
- Project Overview
- Key Features
- System Requirements
- Usage Instructions
- General Prerequisites
- Local Simulation Setup
- Physical Hardware Deployment
- Useful Links
- License
- Hardware configuration with support packages
- Hardware configuration with GSD files
- Software programming with preprocessor directives
- OPC UA exposed variables for visualization
- Advanced operational Visualization
- Commissioning capabilities (including scripts)
- Diagnostics capabilities (including scripts)
- IPC: SIMATIC IPC PX-39A : 6AV7242-7AJ20-2AB0
- PLC: S71516 PN/DP : 6ES7 516-3AP03-0AB0
- SINAMICS G220 : 6SL4112-0CA05-0AF0
The PLC program in this project was exclusively created using SIMATIC AX Logic Control Engineering. The visualization was exclusively developed in SIMATIC AX WinCC Unified Elements. Furthermore, the configuration of the SINAMICS G220 was not performed with SINAMICS Startdrive, but through its web configuration interface.
- SIMATIC AX Logic Control Engineering - Download
- SIMATIC AX WinCC Unified Elements - Download
- SIMATIC S7-PLCSIM Advanced - Download
This application example repository can be cloned using Git. Additionally, a project template package is available for rapid AX project creation utilizing apax.
To use this application example, you need to log in to the GitHub registry https://npm.pkg.github.com/. You'll find more information here.
- GitHub account and access token
- Installed SIMATIC AX Logic Control Engineering and SIMATIC AX WinCC Unified Elements environments
- Network configuration for PLC simulation or hardware
To ensure your local simulation runs smoothly, here's how to configure your hardware settings:
To correctly set up the PG/PC interface for local simulation, please follow these steps:
- Open "Set PG/PC Interface (32-bit)" in the Control Panel.
- Select "Siemens PLCSIM Virtual Ethernet Adapter.TCPIP.Auto.1" from the list.
- Confirm any warning messages with "Ok" and then close the window.
For this local simulation example, the following IP addresses were used:
- SIMATIC PLCSIM Advanced Instance:
192.168.0.1 - Siemens PLCSIM Virtual Ethernet Adapter:
192.168.0.5
Important! If the IP address of the Siemens PLCSIM Virtual Ethernet Adapter is changed, it is crucial that the WinCC Unified Configuration is run again to apply the changes correctly.
Please note: These settings are provided as an example and can be adjusted to fit your specific setup. The critical aspects are ensuring the correct PG/PC interface is selected, that both the SIMATIC PLCSIM Advanced instance and the Siemens PLCSIM Virtual Ethernet Adapter reside within the same IP address range, and that the Unified Configuration has been executed at least once with active user management enabled.
The following shows an example configuration of PLCSIM Advanced.
- Log in to SIMATIC AX:
apax login
- Navigate to the desired folder.
- Load the application example:
(Optional) Open in AX Code:
apax create @simatic-ax/simplified-sorting-machine --registry https://npm.pkg.github.com simplified-sorting-machine
axcode . - Log in into the GitHub registry https://npm.pkg.github.com/ if not already done.
- Install dependencies:
apax install
- Install certificates:
apax setup_hw_certificates_and_user
- Compile and load S7-PLCSIM Advanced:
When using S7-PLCSIM Advanced, a PLC instance needs to be started using TCP/IP Single Adapter or TCP/IP Multiple Adapter
apax compile_and_load_all
- Ensure SIMATIC AX Logic Control Engineering steps 1–3 are completed.
- Navigate to your project folder.
- Open SIMATIC AX WinCC Unified Elements.
- Install dependencies:
apax install
- Change IP locally:
apax changeip_local
- Download the project:
apax fulldownload
To ensure your physical devices are runing smoothly, here's how to configure your hardware settings:
To correctly set up the PG/PC interface for physical Devices, please follow these steps:
- Open "Set PG/PC Interface (32-bit)" in the Control Panel.
- Select the network adapter connected to the physical hardware.
- Confirm any warning messages with "Ok" and then close the window.
- SIMATIC S7-1500 PLC:
192.168.0.1 - SINAMICS G220:
192.168.0.2 - SIMATIC IPC:
192.168.0.3 - Network Adapter:
192.168.0.10
Please note: These settings are provided as an example and can be adjusted to fit your specific setup. The critical aspects are ensuring the correct PG/PC interface is selected, that all Devices are within the same IP address range, and that the Unified Configuration has been executed at least once with active user management enabled.
- Log in to SIMATIC AX:
apax login
- Navigate to the desired folder.
- Clone the repository:
(Optional) Open in AX Code:
git clone <repository-link>
axcode . - Log in into the GitHub registry https://npm.pkg.github.com/ if not already done.
- Install dependencies:
apax install
- Install certificates:
apax setup_hw_certificates_and_user
- Compile and load S7-1500 PLC:
apax compile_and_load_all
- Ensure SIMATIC AX Logic Control Engineering steps 1–3 are completed.
- Navigate to your project folder.
- Open SIMATIC AX WinCC Unified Elements.
- Install dependencies:
apax install
- Change IP locally:
apax changeip_remote
- Download the project:
apax fulldownload





