Siemens Industry Online Support
Siemens AG
文档类型 应用实例与扩展工具 文档编号 109739660, 文档发布日期 2017年1月31日

SIMATIC S7‑PLCSIM Advanced: Co‑Simulation via API

  • 文档
  • 涉及产品
With S7-PLCSIM Advanced as independent simulation system you can, for example, simulate and test a STEP 7 program created by you.

With the SIMATIC S7‑PLCSIM Advanced virtual controllers for the simulation of a S7-1500 or ET 200SP CPU are created and used for the comprehensive simulation of functions. Therefore no real controllers are required to test a STEP 7 program.
The virtual controllers can also be tested in the context of a system or machine. The user interface (API) is used to connect the virtual controller to a system or machine simulation (co-simulation).

A STEP 7 program created in STEP 7 V14 controls a conveyor system. For a comprehensive function test, the STEP 7 program is loaded via S7-PLCSIM Advanced into a virtual S7-1500 controller. This controller interacts via the API with a co-simulation (plant simulation), in order to validate the STEP 7 program in the context of the plant.

Advantages of the application example

  • Introduction to the use of API
  • C# example code on which you can establish your own application

Topics not covered by this application
This application example does not contain a description of the following topics:

  • Basics of object-oriented programming
  • Basics of programming environment, such as, for example, Microsoft Visual Studio
  • Basics of TIA Portal configuration

Sufficient knowledge of these topics is assumed.

Documentation and example project
  Documentation (2,0 MB)
Registration required TIA Portal V14 Project (system control) (7.3 MB)
Registration required System simulation (application and Visual Studio Project (913.2 KB)