- Notifications
You must be signed in to change notification settings - Fork15
stefan-schindler/plc-programmable-3d-simulation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
If you have TIA Portal but don't have any machine to program, then this project is for you. It is a 3D simulation ofPacking Machine which is controlled bySiemens S7-PLCSIM (virtual PLC). So basically you can program PLCSIM using TIA Portal, and test the program visually in the 3D graphical simulation.
- Windows operating system
- InstalledTIA Portal andSimatic S7-PLCIM (both tested with V13)
- Download and unzipNetToPLCSim
- Clone/download this repository
It is important to do the following steps in order they are written in.
- Restart your computer (optional, read theNote below).
- StartNetToPLCsim.exe as Administrator.
- If dialog window about Port 102 pops up, click on Yes to make the port available.
- In NetToPLCSim open thedefualt.ini file contained in this repo.
- Click onStart Server button.
Note: The computer restart is not needed if you haven't started TIA Portal or PLCSIM yet since the computer power-up.
- StartPLCSIM.
- Create newS7-1200 project or open existing one.
- StartTIA Portal.
- Open thePackingMachine_Clean project contained in this repo.
- Download the project to running PLCSIM instance.
- Start thePackingMachine.exe app contained in this repo.
- Choose screen resolution and hit Play button.
- Click on theConnect button in lower left corner.
- If everything goes ok, it should change its text toDisconnect (which means it is successfully connected to PLCSIM).
Now you canSave as the opened PackingMachine_Clean TIA Portal project under different name and start programming. The list of Inputs and Outputs can be found in the same-named PLC Tag tables. Even in the simulation app after pressing Esc or Space and clicking on the Help icon, a list of keyboard shortcuts is present which can be used to manually trigger individual outputs (only when Disconnected from PLCSIM).
After pressingEsc a pause menu is triggered. You can also useSpace shortcut to restart the scene.
If you have any questions, feel free to open New Issue.
- Davide Nardella for creating Sharp7
- Thomas Wiens for creating NetToPLCSim
- Michele Cattafesta (www.mesta-automation.com) forgreat tutorial on Sharp7
About
Project for students who want to learn PLC programming but don't have access to real-world machines or constructions to learn programming on.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.