Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Project for students who want to learn PLC programming but don't have access to real-world machines or constructions to learn programming on.

NotificationsYou must be signed in to change notification settings

stefan-schindler/plc-programmable-3d-simulation

Repository files navigation

Logo

Introduction

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.

Prequisites

Get Started

It is important to do the following steps in order they are written in.

NetToPLCSim

  1. Restart your computer (optional, read theNote below).
  2. StartNetToPLCsim.exe as Administrator.
  3. If dialog window about Port 102 pops up, click on Yes to make the port available.
  4. In NetToPLCSim open thedefualt.ini file contained in this repo.
  5. 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.

Screen

PLCSIM

  1. StartPLCSIM.
  2. Create newS7-1200 project or open existing one.

TIA Portal

  1. StartTIA Portal.
  2. Open thePackingMachine_Clean project contained in this repo.
  3. Download the project to running PLCSIM instance.

Packing Machine App

  1. Start thePackingMachine.exe app contained in this repo.
  2. Choose screen resolution and hit Play button.
  3. Click on theConnect button in lower left corner.
  4. If everything goes ok, it should change its text toDisconnect (which means it is successfully connected to PLCSIM).

image

How to Program

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).

image

After pressingEsc a pause menu is triggered. You can also useSpace shortcut to restart the scene.

image

Support

If you have any questions, feel free to open New Issue.

Special Thanks to

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp