SlideShare a Scribd company logo
1 of 24
Download to read offline
SIMATIC
S7-PLCSIM Advanced V2.0
Overview over the highlights of the V2.0 and V2.0 SP1
siemens.com/tia-portal
Unrestricted © Siemens AG 2018
Highlights V2.0 SP1
Unrestricted © Siemens AG 2017
S7-PLCSIM Advanced –
Control Panel enhancements
Function
The Control Panel can be used in two different ways
• A right-click on the tray icon opens the Control Panel as
before (quick view)
• A double left-click on the tray icon opens the Control
Panel as a floating window, which allows you to
• Move the floating window around freely
• Drag-and-drop instances from an Explorer window to
the Control Panel
• Pin the Control Panel to the desktop (always on top)
PLC_1 PLC_2 PLC_3
Pin to desktop
Unrestricted © Siemens AG 2017
S7-PLCSIM Advanced –
Max. cycle time handling through the API
Function
Through the API the maximum cycle time
can be either ignored or taken into account, depending
on the goal of the simulation
In general there are three operating modes:
• Ignore the max. cycle time; ignore =
1 minute max. cycle time (default)
• Keep the max. cycle time of the downloaded project
• Define another max. cycle time which
can be set through the API
Customer value
• This feature helps prevent the virtual controller from
changing to stop if the max. cycle time is exceeded in a
virtual environment.
• No change of the max. cycle time of the TIA
Portal project necessary.
API
Adapt the max. cycle time
of the virtual controller through the API
Highlights V2.0
Unrestricted © Siemens AG 2018
Licensing concept
PLCSIM Advanced can be upgrade to the newest version
with an upgrade key.
One license enables up to two PLCSIM Advanced
instances on one PC.
Licensing possibilities:
 Floating License
 Trial: free 21 day trial as download:
https://support.industry.siemens.com/cs/ww/en/view/10
9754093
Licensing concept overview
New
PLCSIM Adv. V1.0
PLCSIM Adv. V2.0
Upgade
Instance 1 Instance 2
Page 6
Unrestricted © Siemens AG 2018
Supported firmware
Strategy
PLCSIM Adv. V2.0 supports the firmware 2.5 which was released with TIA Portal V15 and all earlier firmware releases
up to firmware 1.8.
Higher firmware versions will be supported with future PLCSIM Advanced versions adequately.
PLCSIM Adv. V2.0
FW 2.1
FW 2.5
FW 2.0
FW 1.8
…
PLCSIM Adv. V1.0
…
FW 2.0
FW 1.8
Page 7
Unrestricted © Siemens AG 2018
Compatibility
 PLCSIM Adv. V1.0 (SP1) and V2.0 are both compatible to TIA Portal V14 (SP1) and V15 as long as the firmware
used in TIA Portal is supported by PLCSIM Advanced
 PLCSIM Advanced V2.0 supports both APIs: V1.0 and V2.0
Compatibility to TIA Portal and API versions
* Not valid for FW2.1, as this fiwmware is not supported by PLCSIM Adv. V1.0
V1.0
V2.0
RT
Manager
V1.0
API
V1.0
API
V2.0
FW 2.0
FW 1.8
FW 2.5
FW 2.1
FW 2.0
FW 1.8
FW 2.1
FW 2.5
FW 2.0
FW 1.8
FW 2.1
FW 2.0
FW 1.8
TIA Portal
V14
V15
PLCSIM Advanced Co-Simulation
RT
Manager
V2.0
*
Page 8
Unrestricted © Siemens AG 2018
Synchronisation at Process Image Parts
through the API of PLCSIM Advanced with Co-
Simulation-Tools when calling cyclic OBs
 through a process image part attached to a
cyclic OB (e.g. cyclic interrupt, MC Servo)
 In the application program with SFCs
Advantage
Synchronisation at Process Image Parts
 Verification of the application program
including consistent and up to date I/O areas
when calling cyclic OBs
 Simulation of Motion Control tasks possible
read IOs write IOs
API
Co-Simulation
read IOs write IOs
OB 1
cyclic
OB
cyclic
OB
OB 1
Synchronisation can take place at a cycle control point and / or at a process image part
Page 9
Unrestricted © Siemens AG 2018
Different time-based synchronisation modes in between Co-
Simulation and PLCSIM Advanced
 Synchronization modes:
 synchronization at each cycle control point
(beginning of OB1)
 synchronization at each cyclic OB
 synchronization at each cycle control point
and each cyclic OB
 Timespan mode: after a defined timespan x
the synchronization takes places at the next
cycle control point and / or cyclic OB
PLCSIM Advanced API
OB 1 OB 1
cyclic
OB
cyclic
OB
Co-Simulation
Seite 10
Unrestricted © Siemens AG 2018
Synchronisation – different modes (1/4)
Operating Mode: Single Step C / CT
 Single Step C (cycle control point):
SROM_SINGLE_STEP_C = 1
 Single Step CT (cycle control point; minimal
cycle time overwritten):
SROM_SINGLE_STEP_CT = 2
OB 1
cyclic
OB
cyclic
OB
RunToNextSyncPoint()
cyclic
OB
RunToNextSyncPoint()
OB 1 OB 1 OB 1
RunToNextSyncPoint()
Page 11
Unrestricted © Siemens AG 2018
Synchronisation – different modes (2/4)
Operating Mode: Single Step P
 Single Step P (process image part):
SROM_SINGLE_STEP_P = 4
Operating Mode: Single Step CP / CPT
 Single Step CP (cycle control point & process
image part): SROM_SINGLE_STEP_CP = 6
 Single Step CPT (cycle control point & partial
process image part; minimal cycle time
overwritten): SROM_SINGLE_STEP_CPT = 7
OB 1
cyclic
OB
cyclic
OB
RunToNextSyncPoint()
cyclic
OB
RunToNextSyncPoint()
OB 1 OB 1 OB 1
OB 1
cyclic
OB
cyclic
OB
RunToNextSyncPoint()
cyclic
OB
OB 1 OB 1 OB 1
Page 12
Unrestricted © Siemens AG 2018
Synchronisation – different modes (3/4)
Operating Mode: Timespan Synchronized C
 Timespan Synchronized C (cycle control
point):
SROM_TIMESPAN_SYNCHNRONIZED_C = 3
 „RunToNextSyncPoint“ will continue to run the
simulation until the virtual time x is reached –
after the time x is reached the I/O data will be
exchanged at the next cycle control point
Operating Mode: Timespan Synchronized P
 Timespan Synchronized P (process image
part):
SROM_TIMESPAN_SYNCHNRONIZED_P = 5
 „RunToNextSyncPoint“ will continue to run the
simulation until the virtual time x is reached –
after the time x is reached the I/O data will be
exchanged at the next cyclic OB
OB 1
cyclic
OB
cyclic
OB
RunToNextSyncPoint()
cyclic
OB
Virtual time
0 x
OB 1 OB 1 OB 1
OB 1
cyclic
OB
cyclic
OB
RunToNextSyncPoint()
cyclic
OB
Virtual time
0 x
OB 1 OB 1 OB 1
Page 13
Unrestricted © Siemens AG 2018
Synchronisation – different modes (4/4)
Operating Mode: Timespan synchronized CP
 Timespan Synchronized CP (cycle control
point & partial process image update):
SROM_TIMESPAN_SYNCHNRONIZED_CP
= 8
 „RunToNextSyncPoint“ will continue to run
the simulation until the virtual time x is
reached – after the time x is reached the I/O
data will be exchanged either at the next
cyclic OB or the next cycle control point
OB 1
cyclic
OB
cyclic
OB
RunToNextSyncPoint()
cyclic
OB
RunToNextSyncPoint()
Virtuelle Zeit
0 x
Virtuelle Zeit
OB 1 OB 1 OB 1
x
Page 14
Unrestricted © Siemens AG 2018
Advantage
 Possibility to exchange acyclic data of external modules (central or decentral periphery) in betwen a co-simulation tool
and the PLCSIM Advanced API (e.g. PROFINET diagnosis/status data, RFID data)
 Test of what happens when spontaneous errors ocurre in a plant/machine
Support of acyclical services and alarms
Different alarms can be triggered through the API:
 Hardware interrupt (OB40)
 Status Alarm (OB55)
 Update Alarm (OB56)
 Profile Alarm (OB57)
 Diagnostic error interrupt (OB82)
 Pull or plug of modules (OB83)
 Rack or Station failure (OB86)
Triggering alarms through the API
C#
Acyclical services
 Support of read and write actions of parameter data through SFB52 (RDREC) and SFB53 (WRREC).
Page 15
Unrestricted © Siemens AG 2018
Read in TIA Portal configured hardware interrupts through the API
GetConfiguredProcessEvents: a list of all in TIA
Portal configured hardware interrupts (OB40)
can be accessed through the API with the
following information:
1) HardwareID
2) Channel number
3) Event type
4) Name
Read hardware interrupts through the API
Advantage
 A TIA Portal expert and a simulation expert
can work independently from each other
 The accessed hardware interrupts can be
easily integrated into the Co-simulation tool
When downloading a PLCSIM Advanced instance, the hardware
interrupts are part of the download and therefore can be
accessed through the API
GetConfiguredProcessEvents()
C#
Page 16
Unrestricted © Siemens AG 2018
Supported organization blocks
Internal program OBs V1.0 V2.0
Main (OB1)
Startup (OB100)
Time delay interrupt (OB20)
Cyclic interrupt (OB30)
Time error interrupt (OB80)
Programming error (OB121)
IO access error (OB122)
MC-Interpolator (OB92)
MC-Servo (OB91)
Synchronous OB(OB61)
*
Can be triggered by the API V1.0 V2.0
Hardware interrupt (OB40)
Diagnostic error interrupt (OB82)
Pull or Plug of modules (OB83)
Rack or station failure (OB86)
Status alarm (OB55)
Update alarm (OB56)
Profile alarm(OB57)
* Works already in V1.0 but without up to date data at cyclic OBs
Page 17
Unrestricted © Siemens AG 2018
Backup and restore of software and hardware configuration
 Backup of the software- and hardware configuration
of a PLCSIM Advanced controller in TIA Portal incl.
remanent actual values
 Restore of a backup of the software and hardware
configuration into a PLCSIM Advanced instance
through TIA Portal
 Pre-requisite: Online Access is set to PLCSIM
Virtual Eth. Adapter
Advantage
Backup from online device
 A simulation can be paused and resumed with the
backed up data
2
3
1
Page 18
Unrestricted © Siemens AG 2018
Individual storage path of the virtual SIMATIC Memory Card
 As soon as a virtual controller is started in
PLCSIM Advanced a virtual SIMATIC
Memory Card is being created. The storage
path of this virtual Memory Card can be
chosen freely.
 Pre-requisite: no instance of PLCSIM
Advanced is running
 As soon as an instance is started the
chosen storage path is valid for all instances
created afterwards
Individual storage path
Advantage
 Virtual SIMATIC Memory Cards can be saved
per project
A click on the box next to „Virtual SIMATIC
Memory Card“ opens up the windows explorer
where you can choose the storage path
Page 19
Unrestricted © Siemens AG 2018
GUI Enhancements: Auto-fill
 If a controller was already created in the past,
a drop-down menu will be displayed when
starting to enter the name of this already
known controller. From this drop down menu
you can select the apropriate controller
(wildcard search) and start it immediately.
Advantage
Detection of known controllers
 Once definded controllers can be found easily
and started quickly.
If the name of the controller is already know the field below will get
greyed-out (IP Adresse, subnet mask, default gateway) and the
start button will get active.
Page 20
Unrestricted © Siemens AG 2018
GUI Enhancements: RUN / STOP and Memory Reset
 Change the CPU state of one or more
controllers to run/stopp directly in the GUI.
Advantage
Change the CPU state to Run/Stop
 Quick and intuitive change of the state of the
controllers.
 Easy possibility to perform a memory reset to
bring the controllers into a well known and
defined state.
 Perform a memory reset of one or more
controllers directly in the GUI.
Perform a Memory Reset
Memory Reset
Run/Stop
Buttons
Selection of both controllers and click on Run / Stop / MRES
LEDs display the current status of the controllers
Page 21
Unrestricted © Siemens AG 2018
Some more helpful functional enhancements (1/2)
Independance of the Windows Scheduler
 Leads to a higher performance and a more
reliable
 deterministics
 simulation of Motion Tasks
 hint: Windows needs one core and each instance
within PLCSIM Advanced needs another core
Getting access to SIMATIC virtual memory
cards through the API
 The virtual SIMATIC Memory Card can be
transferred through the API from one PC to
another
 ArchiveStorage: saves the SIMATIC
Memory Card in a .zip format
 Retrieve Storage: rebuilds the SIMATIC
Memory Card out of the saved.zip data
Page 22
Unrestricted © Siemens AG 2018
Some more helpful functional enhancements (2/2)
Performance enhancements when using
symbolic adressing
 Symbolic adressing and direct adressing
are adequate in their performance
Installaion of PCLSIM and PLCSIM
Advanced on the same PC
 PLCSIM V15 and PLCSIM Advanced V2.0
can be installed on the same PC. A
concurrent use of both simulation tools at
the same time is not possible.
Page 23
Unrestricted © Siemens AG 2018
Thank you for your attention!
PLCSIM Advanced Team
siemens.com/tia-portal
Page 24
Subject to changes and errors. The information given in this document only contains general descriptions and/or performance features which may
not always specifically reflect those described, or which may undergo modification in the course of further development of the products. The requested
performance features are binding only when they are expressly agreed upon in the concluded contract.
All product designations, product names, etc. may contain trademarks or other rights of Siemens AG, its affiliated companies or third parties.
Their unauthorized use may infringe the rights of the respective owner.
siemens.com/tia-portal

More Related Content

Similar to S7 PLCSim Advanced 2.0 - SIMATIC Siemens

Mitsubishi cnc cnc c70 series dienhathe.vn
Mitsubishi cnc cnc c70 series dienhathe.vnMitsubishi cnc cnc c70 series dienhathe.vn
Mitsubishi cnc cnc c70 series dienhathe.vnDien Ha The
 
Mitsubishi cnc cnc c70 series
Mitsubishi cnc cnc c70 seriesMitsubishi cnc cnc c70 series
Mitsubishi cnc cnc c70 seriesDien Ha The
 
CNC gateway sales kit
CNC gateway sales kitCNC gateway sales kit
CNC gateway sales kitJimmy Hsu
 
Amp bluac5 specsheet
Amp bluac5 specsheetAmp bluac5 specsheet
Amp bluac5 specsheetElectromate
 
Siemens s7-200 starter kit 221
Siemens s7-200 starter kit 221Siemens s7-200 starter kit 221
Siemens s7-200 starter kit 221Dien Ha The
 
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming satyajit patra
 
Siemens catalog tong hop sinumerik & simodrive
Siemens catalog tong hop sinumerik & simodriveSiemens catalog tong hop sinumerik & simodrive
Siemens catalog tong hop sinumerik & simodriveDien Ha The
 
Siemens catalog tong hop 3 uf simocode
Siemens catalog tong hop 3 uf simocodeSiemens catalog tong hop 3 uf simocode
Siemens catalog tong hop 3 uf simocodeDien Ha The
 
Basic Control System unit5
Basic Control System unit5Basic Control System unit5
Basic Control System unit5Asraf Malik
 
Thesis Presentation (KUET_EEE_1103047_Nissan Imam)
Thesis Presentation (KUET_EEE_1103047_Nissan Imam)Thesis Presentation (KUET_EEE_1103047_Nissan Imam)
Thesis Presentation (KUET_EEE_1103047_Nissan Imam)Nissan Imam
 
SIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزSIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزEssosElectronic
 
PRESENTATION ON PLC AND SCADA
PRESENTATION ON PLC AND SCADAPRESENTATION ON PLC AND SCADA
PRESENTATION ON PLC AND SCADAAnandKumarJha33
 
Plc and hmi based stenter machine poster
Plc and hmi based stenter machine posterPlc and hmi based stenter machine poster
Plc and hmi based stenter machine posterRakshita Upadhyay
 

Similar to S7 PLCSim Advanced 2.0 - SIMATIC Siemens (20)

Mitsubishi cnc cnc c70 series dienhathe.vn
Mitsubishi cnc cnc c70 series dienhathe.vnMitsubishi cnc cnc c70 series dienhathe.vn
Mitsubishi cnc cnc c70 series dienhathe.vn
 
Mitsubishi cnc cnc c70 series
Mitsubishi cnc cnc c70 seriesMitsubishi cnc cnc c70 series
Mitsubishi cnc cnc c70 series
 
CNC gateway sales kit
CNC gateway sales kitCNC gateway sales kit
CNC gateway sales kit
 
Cpu226
Cpu226Cpu226
Cpu226
 
7694441.ppt
7694441.ppt7694441.ppt
7694441.ppt
 
S7 bas-16
S7 bas-16S7 bas-16
S7 bas-16
 
Amp bluac5 specsheet
Amp bluac5 specsheetAmp bluac5 specsheet
Amp bluac5 specsheet
 
Plc tg fi
Plc tg fiPlc tg fi
Plc tg fi
 
Siemens s7-200 starter kit 221
Siemens s7-200 starter kit 221Siemens s7-200 starter kit 221
Siemens s7-200 starter kit 221
 
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming
 
Siemens catalog tong hop sinumerik & simodrive
Siemens catalog tong hop sinumerik & simodriveSiemens catalog tong hop sinumerik & simodrive
Siemens catalog tong hop sinumerik & simodrive
 
Siemens catalog tong hop 3 uf simocode
Siemens catalog tong hop 3 uf simocodeSiemens catalog tong hop 3 uf simocode
Siemens catalog tong hop 3 uf simocode
 
Basic Control System unit5
Basic Control System unit5Basic Control System unit5
Basic Control System unit5
 
DEVENDRAPLC .pptx
DEVENDRAPLC .pptxDEVENDRAPLC .pptx
DEVENDRAPLC .pptx
 
Thesis Presentation (KUET_EEE_1103047_Nissan Imam)
Thesis Presentation (KUET_EEE_1103047_Nissan Imam)Thesis Presentation (KUET_EEE_1103047_Nissan Imam)
Thesis Presentation (KUET_EEE_1103047_Nissan Imam)
 
Yokogawa CX 2000 DAQ Station
Yokogawa CX 2000 DAQ StationYokogawa CX 2000 DAQ Station
Yokogawa CX 2000 DAQ Station
 
Vt training plc_1
Vt training plc_1Vt training plc_1
Vt training plc_1
 
SIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزSIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنز
 
PRESENTATION ON PLC AND SCADA
PRESENTATION ON PLC AND SCADAPRESENTATION ON PLC AND SCADA
PRESENTATION ON PLC AND SCADA
 
Plc and hmi based stenter machine poster
Plc and hmi based stenter machine posterPlc and hmi based stenter machine poster
Plc and hmi based stenter machine poster
 

Recently uploaded

Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxPurva Nikam
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 

Recently uploaded (20)

Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 

S7 PLCSim Advanced 2.0 - SIMATIC Siemens

  • 1. SIMATIC S7-PLCSIM Advanced V2.0 Overview over the highlights of the V2.0 and V2.0 SP1 siemens.com/tia-portal Unrestricted © Siemens AG 2018
  • 3. Unrestricted © Siemens AG 2017 S7-PLCSIM Advanced – Control Panel enhancements Function The Control Panel can be used in two different ways • A right-click on the tray icon opens the Control Panel as before (quick view) • A double left-click on the tray icon opens the Control Panel as a floating window, which allows you to • Move the floating window around freely • Drag-and-drop instances from an Explorer window to the Control Panel • Pin the Control Panel to the desktop (always on top) PLC_1 PLC_2 PLC_3 Pin to desktop
  • 4. Unrestricted © Siemens AG 2017 S7-PLCSIM Advanced – Max. cycle time handling through the API Function Through the API the maximum cycle time can be either ignored or taken into account, depending on the goal of the simulation In general there are three operating modes: • Ignore the max. cycle time; ignore = 1 minute max. cycle time (default) • Keep the max. cycle time of the downloaded project • Define another max. cycle time which can be set through the API Customer value • This feature helps prevent the virtual controller from changing to stop if the max. cycle time is exceeded in a virtual environment. • No change of the max. cycle time of the TIA Portal project necessary. API Adapt the max. cycle time of the virtual controller through the API
  • 6. Unrestricted © Siemens AG 2018 Licensing concept PLCSIM Advanced can be upgrade to the newest version with an upgrade key. One license enables up to two PLCSIM Advanced instances on one PC. Licensing possibilities:  Floating License  Trial: free 21 day trial as download: https://support.industry.siemens.com/cs/ww/en/view/10 9754093 Licensing concept overview New PLCSIM Adv. V1.0 PLCSIM Adv. V2.0 Upgade Instance 1 Instance 2 Page 6
  • 7. Unrestricted © Siemens AG 2018 Supported firmware Strategy PLCSIM Adv. V2.0 supports the firmware 2.5 which was released with TIA Portal V15 and all earlier firmware releases up to firmware 1.8. Higher firmware versions will be supported with future PLCSIM Advanced versions adequately. PLCSIM Adv. V2.0 FW 2.1 FW 2.5 FW 2.0 FW 1.8 … PLCSIM Adv. V1.0 … FW 2.0 FW 1.8 Page 7
  • 8. Unrestricted © Siemens AG 2018 Compatibility  PLCSIM Adv. V1.0 (SP1) and V2.0 are both compatible to TIA Portal V14 (SP1) and V15 as long as the firmware used in TIA Portal is supported by PLCSIM Advanced  PLCSIM Advanced V2.0 supports both APIs: V1.0 and V2.0 Compatibility to TIA Portal and API versions * Not valid for FW2.1, as this fiwmware is not supported by PLCSIM Adv. V1.0 V1.0 V2.0 RT Manager V1.0 API V1.0 API V2.0 FW 2.0 FW 1.8 FW 2.5 FW 2.1 FW 2.0 FW 1.8 FW 2.1 FW 2.5 FW 2.0 FW 1.8 FW 2.1 FW 2.0 FW 1.8 TIA Portal V14 V15 PLCSIM Advanced Co-Simulation RT Manager V2.0 * Page 8
  • 9. Unrestricted © Siemens AG 2018 Synchronisation at Process Image Parts through the API of PLCSIM Advanced with Co- Simulation-Tools when calling cyclic OBs  through a process image part attached to a cyclic OB (e.g. cyclic interrupt, MC Servo)  In the application program with SFCs Advantage Synchronisation at Process Image Parts  Verification of the application program including consistent and up to date I/O areas when calling cyclic OBs  Simulation of Motion Control tasks possible read IOs write IOs API Co-Simulation read IOs write IOs OB 1 cyclic OB cyclic OB OB 1 Synchronisation can take place at a cycle control point and / or at a process image part Page 9
  • 10. Unrestricted © Siemens AG 2018 Different time-based synchronisation modes in between Co- Simulation and PLCSIM Advanced  Synchronization modes:  synchronization at each cycle control point (beginning of OB1)  synchronization at each cyclic OB  synchronization at each cycle control point and each cyclic OB  Timespan mode: after a defined timespan x the synchronization takes places at the next cycle control point and / or cyclic OB PLCSIM Advanced API OB 1 OB 1 cyclic OB cyclic OB Co-Simulation Seite 10
  • 11. Unrestricted © Siemens AG 2018 Synchronisation – different modes (1/4) Operating Mode: Single Step C / CT  Single Step C (cycle control point): SROM_SINGLE_STEP_C = 1  Single Step CT (cycle control point; minimal cycle time overwritten): SROM_SINGLE_STEP_CT = 2 OB 1 cyclic OB cyclic OB RunToNextSyncPoint() cyclic OB RunToNextSyncPoint() OB 1 OB 1 OB 1 RunToNextSyncPoint() Page 11
  • 12. Unrestricted © Siemens AG 2018 Synchronisation – different modes (2/4) Operating Mode: Single Step P  Single Step P (process image part): SROM_SINGLE_STEP_P = 4 Operating Mode: Single Step CP / CPT  Single Step CP (cycle control point & process image part): SROM_SINGLE_STEP_CP = 6  Single Step CPT (cycle control point & partial process image part; minimal cycle time overwritten): SROM_SINGLE_STEP_CPT = 7 OB 1 cyclic OB cyclic OB RunToNextSyncPoint() cyclic OB RunToNextSyncPoint() OB 1 OB 1 OB 1 OB 1 cyclic OB cyclic OB RunToNextSyncPoint() cyclic OB OB 1 OB 1 OB 1 Page 12
  • 13. Unrestricted © Siemens AG 2018 Synchronisation – different modes (3/4) Operating Mode: Timespan Synchronized C  Timespan Synchronized C (cycle control point): SROM_TIMESPAN_SYNCHNRONIZED_C = 3  „RunToNextSyncPoint“ will continue to run the simulation until the virtual time x is reached – after the time x is reached the I/O data will be exchanged at the next cycle control point Operating Mode: Timespan Synchronized P  Timespan Synchronized P (process image part): SROM_TIMESPAN_SYNCHNRONIZED_P = 5  „RunToNextSyncPoint“ will continue to run the simulation until the virtual time x is reached – after the time x is reached the I/O data will be exchanged at the next cyclic OB OB 1 cyclic OB cyclic OB RunToNextSyncPoint() cyclic OB Virtual time 0 x OB 1 OB 1 OB 1 OB 1 cyclic OB cyclic OB RunToNextSyncPoint() cyclic OB Virtual time 0 x OB 1 OB 1 OB 1 Page 13
  • 14. Unrestricted © Siemens AG 2018 Synchronisation – different modes (4/4) Operating Mode: Timespan synchronized CP  Timespan Synchronized CP (cycle control point & partial process image update): SROM_TIMESPAN_SYNCHNRONIZED_CP = 8  „RunToNextSyncPoint“ will continue to run the simulation until the virtual time x is reached – after the time x is reached the I/O data will be exchanged either at the next cyclic OB or the next cycle control point OB 1 cyclic OB cyclic OB RunToNextSyncPoint() cyclic OB RunToNextSyncPoint() Virtuelle Zeit 0 x Virtuelle Zeit OB 1 OB 1 OB 1 x Page 14
  • 15. Unrestricted © Siemens AG 2018 Advantage  Possibility to exchange acyclic data of external modules (central or decentral periphery) in betwen a co-simulation tool and the PLCSIM Advanced API (e.g. PROFINET diagnosis/status data, RFID data)  Test of what happens when spontaneous errors ocurre in a plant/machine Support of acyclical services and alarms Different alarms can be triggered through the API:  Hardware interrupt (OB40)  Status Alarm (OB55)  Update Alarm (OB56)  Profile Alarm (OB57)  Diagnostic error interrupt (OB82)  Pull or plug of modules (OB83)  Rack or Station failure (OB86) Triggering alarms through the API C# Acyclical services  Support of read and write actions of parameter data through SFB52 (RDREC) and SFB53 (WRREC). Page 15
  • 16. Unrestricted © Siemens AG 2018 Read in TIA Portal configured hardware interrupts through the API GetConfiguredProcessEvents: a list of all in TIA Portal configured hardware interrupts (OB40) can be accessed through the API with the following information: 1) HardwareID 2) Channel number 3) Event type 4) Name Read hardware interrupts through the API Advantage  A TIA Portal expert and a simulation expert can work independently from each other  The accessed hardware interrupts can be easily integrated into the Co-simulation tool When downloading a PLCSIM Advanced instance, the hardware interrupts are part of the download and therefore can be accessed through the API GetConfiguredProcessEvents() C# Page 16
  • 17. Unrestricted © Siemens AG 2018 Supported organization blocks Internal program OBs V1.0 V2.0 Main (OB1) Startup (OB100) Time delay interrupt (OB20) Cyclic interrupt (OB30) Time error interrupt (OB80) Programming error (OB121) IO access error (OB122) MC-Interpolator (OB92) MC-Servo (OB91) Synchronous OB(OB61) * Can be triggered by the API V1.0 V2.0 Hardware interrupt (OB40) Diagnostic error interrupt (OB82) Pull or Plug of modules (OB83) Rack or station failure (OB86) Status alarm (OB55) Update alarm (OB56) Profile alarm(OB57) * Works already in V1.0 but without up to date data at cyclic OBs Page 17
  • 18. Unrestricted © Siemens AG 2018 Backup and restore of software and hardware configuration  Backup of the software- and hardware configuration of a PLCSIM Advanced controller in TIA Portal incl. remanent actual values  Restore of a backup of the software and hardware configuration into a PLCSIM Advanced instance through TIA Portal  Pre-requisite: Online Access is set to PLCSIM Virtual Eth. Adapter Advantage Backup from online device  A simulation can be paused and resumed with the backed up data 2 3 1 Page 18
  • 19. Unrestricted © Siemens AG 2018 Individual storage path of the virtual SIMATIC Memory Card  As soon as a virtual controller is started in PLCSIM Advanced a virtual SIMATIC Memory Card is being created. The storage path of this virtual Memory Card can be chosen freely.  Pre-requisite: no instance of PLCSIM Advanced is running  As soon as an instance is started the chosen storage path is valid for all instances created afterwards Individual storage path Advantage  Virtual SIMATIC Memory Cards can be saved per project A click on the box next to „Virtual SIMATIC Memory Card“ opens up the windows explorer where you can choose the storage path Page 19
  • 20. Unrestricted © Siemens AG 2018 GUI Enhancements: Auto-fill  If a controller was already created in the past, a drop-down menu will be displayed when starting to enter the name of this already known controller. From this drop down menu you can select the apropriate controller (wildcard search) and start it immediately. Advantage Detection of known controllers  Once definded controllers can be found easily and started quickly. If the name of the controller is already know the field below will get greyed-out (IP Adresse, subnet mask, default gateway) and the start button will get active. Page 20
  • 21. Unrestricted © Siemens AG 2018 GUI Enhancements: RUN / STOP and Memory Reset  Change the CPU state of one or more controllers to run/stopp directly in the GUI. Advantage Change the CPU state to Run/Stop  Quick and intuitive change of the state of the controllers.  Easy possibility to perform a memory reset to bring the controllers into a well known and defined state.  Perform a memory reset of one or more controllers directly in the GUI. Perform a Memory Reset Memory Reset Run/Stop Buttons Selection of both controllers and click on Run / Stop / MRES LEDs display the current status of the controllers Page 21
  • 22. Unrestricted © Siemens AG 2018 Some more helpful functional enhancements (1/2) Independance of the Windows Scheduler  Leads to a higher performance and a more reliable  deterministics  simulation of Motion Tasks  hint: Windows needs one core and each instance within PLCSIM Advanced needs another core Getting access to SIMATIC virtual memory cards through the API  The virtual SIMATIC Memory Card can be transferred through the API from one PC to another  ArchiveStorage: saves the SIMATIC Memory Card in a .zip format  Retrieve Storage: rebuilds the SIMATIC Memory Card out of the saved.zip data Page 22
  • 23. Unrestricted © Siemens AG 2018 Some more helpful functional enhancements (2/2) Performance enhancements when using symbolic adressing  Symbolic adressing and direct adressing are adequate in their performance Installaion of PCLSIM and PLCSIM Advanced on the same PC  PLCSIM V15 and PLCSIM Advanced V2.0 can be installed on the same PC. A concurrent use of both simulation tools at the same time is not possible. Page 23
  • 24. Unrestricted © Siemens AG 2018 Thank you for your attention! PLCSIM Advanced Team siemens.com/tia-portal Page 24 Subject to changes and errors. The information given in this document only contains general descriptions and/or performance features which may not always specifically reflect those described, or which may undergo modification in the course of further development of the products. The requested performance features are binding only when they are expressly agreed upon in the concluded contract. All product designations, product names, etc. may contain trademarks or other rights of Siemens AG, its affiliated companies or third parties. Their unauthorized use may infringe the rights of the respective owner. siemens.com/tia-portal