Virtual Commissioning in Plant Simulation Utilizing The New SIMATIC S7-PLCSIM Advanced Interface and OPC UA
Virtual Commissioning in Plant Simulation Utilizing The New SIMATIC S7-PLCSIM Advanced Interface and OPC UA
TIA Portal
Engineering
TIA
PLCSIM
WinCC HMI
Advanced
Advanced
as basis for
“Software
in the Loop”
Extensive functional
API
simulation without
adaptions of the STEP 7
program
Process
Co-Simulation
Interface to easily connect
to different co-simulations
via an API
PLCSIM Advanced
supported controllers: S7-1500 CPU incl. C/F/T and ET200SP CPU incl. F
virtual
S7-1500 controller
S7-1500C
S7-1500T(F)
ET 200SP(F)
reflection of the real CPU
S7-1500F controller
PC
Connection of real I/Os not possible clock
PLCSIM Advanced
Multiple instances in combination with a Co-Simulation
software
signal coupling through API in the
Hardware loop
configuration Co-Simulation
(incl. signal list)
• Machines and Buffer
Layout modelling with • Conveyor Lines
Plant Simulation • System Control Logic
or Layout Model • Simulation of
Line Designer Material Flow
• Definition of Sensors
and Actuators
The PLC program defines the EOM control logic and the Test Scenarios
conditions for coordinating the EOM vehicles that are driving
on the rails. Only one vehicle is allowed in a curve segment.
…
The PLC program defines the EOM control logic and the
Are all system states displayed in the HMI correct and
conditions for coordinating the EOM vehicles that are driving
consistent?
on the rails.
Position and ID of EOM vehicles
Correctness and ease-of-use of HMI dialogs can be tested
upfront together with a digital model State and attributes of vehicles
…
PLC Control:
Signal Definition PLC to Track Segments in Siemens TIA Portal
Data Block: PSB_Output_Send
The Import Button imports data items that are defined through
the PLC program to Plant Simulation
More convenient signal grouping in the item table of the
interface dialog is possible by creating new groups and copying
items between the groups
A live view table of the configured items shows the current data
item values in case a connection to a running virtual PLC is
active
You can map a simulation object attribute, a variable or checkbox object in the column Simulation
Model Attribute:
The Interface object copies the PLC data value into the assigned attribute
You can insert a SimTalk method into the same column. Plant Simulation executes the callback
method when a new data value arrives. The new value is passed as parameter to the method.
You can always read a PLC Item value directly out of SimTalk, using the Alias for addressing the
relevant item:
myVariable := PLCSIM.setOnBeltActive
You can map a simulation object attribute, a variable or checkbox object in the column
Simulation Model Attribute:
The Interface object propagates the addressed simulation data value to the PLC item/variable
addressed in the first column Identifier of the items table.
Alternatively you can directly assign a value out of SimTalk, using the corresponding Alias for
addressing the relevant item:
PLCSIM.BufferAlias := true
OPC UA
Similarities and Settings…
Contact:
www.siemens.com/plm/plantsimulation