Siemens PlcSimAdvanced Hardware Simulator
Working with the Siemens Software PlcSimAdvanced I realized I can do a simulation of the PLC but not for the IO's. I know there are products out there, but quite expensive for small machines. I discovered the API which comes with the simulation. So I wrote a Hardware simulator where I can manipulate the inputs which leads me to a virtual commissioning.
Actual functions:
*Button (Bool)
*Toogle-button (Bool)
*Checkbox (Bool)
*Lamps (Bool)
*Trackbar (Dint Value like analog inputs)
*Inregrator (raises value in certain speed)
*Pulse generator (Bool)
*Label (just to put some text)
You can find my TIA 16 demo project also here.
https://github.com/mking2203/PlcSimAdvancedHardware/blob/main/Pictures/PlcSimAdvanced30.png
- start the simulator and start one instance of CPU
- start the TIA Portal and download the file
- the PLC should run now in virtual mode
- copy the JSON file to the app folder and edit the PLC instance if needed
- start the app
With the buttons you can now manipulate the inputs and see the outputs.
https://github.com/mking2203/PlcSimAdvancedHardware/blob/main/Pictures/HardwareSimulation.png