Diagnostic_TIA_Environment_EN.pdf materials

EYITAYO6 11 views 41 slides Mar 10, 2025
Slide 1
Slide 1 of 41
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41

About This Presentation

siemens material


Slide Content

Unrestricted © Siemens AG 2019
http://www.siemens.deUnrestricted Siemens AG 2019
Diagnostic options in
TIA environment

Unrestricted © Siemens AG 2019
Agenda
11.04.2019Page 2 DF FA S SUP
1. Introduction
2. Why is diagnostic important?
3. Diagnostic according to development chain
4. Use cases / Live demo
5. How can mistakes be avoid?
6. TIA Portal V16 overview

Unrestricted © Siemens AG 2019
Diagnostic
Introduction
Diagnostic is the perfect solution for determine the
cause and location of any failure in a technical system.
Everything at glance and fast reaction
Diagnostic
NetworkHardwareSoftwareProcess...
Webinar‘s Goals
•To know all the diagnostic options available in TIA environment
•Structured approach to project analysis
•Tipps und tricks for error avoidance
•Overview of TIA V16
DF FA S SUPPage 3

Why is diagnostic important?

Unrestricted © Siemens AG 2019
Failures in a plant can have many causes:
•Wire break
•Short circuit
•Component failure
•Programming Errors
•Mechanical Impact(ex. accident with forklift truck)
•…
Especially with sporadic errors the search can
be very time-consuming
The primary goal in the event of an error is a fast
localization in order to avoid production downtime.
?
DF FA S SUPPage 5
Why is diagnostic important?
Error tracking

Unrestricted © Siemens AG 2019
DF FA S SUPPage 6
Plant
• Increase productivity
• Costs savings
Engineering
• Quality improvement
• Time savings during
commissioning and maintenance
… through fast error detection and troubleshooting
… having fewer downtimes and production losses
… through a development enviroment that enables error diagnostic
… through effective diagnostic tools
High availability of systems due to efficient diagnostic concept
Why is diagnostic important?
Advantages and Benefits

Diagnostic according to development chain

Unrestricted © Siemens AG 2019
PlanningInstallationEngineeringCommissioning OperationService
DF FA S SUPPage 8
Diagnostic
Best practices during development chain
Operators/ service personal
Commissioning teamProgrammers
Electricians

Unrestricted © Siemens AG 2019
Diagnostic
Best Practices for electricians
Goals
•Diagnostics without engineering software and PLC
•Diagnostics of PROFINET networks and devices
•Diagnosis of I/O wiring of decentralized peripheral
devices
Everything at glance and fast reaction
DF FA S SUPpage9
Requirements
•Diagnostics for logging system events
•Diagnostics for monitoring regular events

Unrestricted © Siemens AG 2019
Diagnostic
Best Practices for programmers
Goals
•Diagnostic on the engineering software
•Evaluation of diagnostic in the program
•Diagnostics on error events
•Reaction of events within the program
Requirements
•Special functions for diagnostic events
•General diagnostic for special events
Everything at glance and fast reaction
DF FA S SUPPage 10
Interrupt OBs
Instructions
Program

Unrestricted © Siemens AG 2019
Diagnostic
Best practices for service personal
Goals
•Diagnostics on engineering software
•Diagnostics without software. Ex. Webserver, HMI,…
•Diagnostic of pending or past errors
•Easy and fast implementation
Requirements
•An integrated diagnostic concept for all error messages
•Structured diagnostic concept for fast fault detection to reduce
downtimes
•Detailed text messages
Everything at glance and fast reaction
DF FA S SUPPage 11

Unrestricted © Siemens AG 2019
Diagnostic
Best practices for operators and maintenance
Goals
•Fast diagnostic of pending or past errors without errors without
engineering software
•Diagnostic through devices ex. HMI
Requirements
•An integrated diagnostic concept for all error messages
•Structured diagnostic concept for fast fault detection to reduce
downtimes
•Detailed text messages
Everything at glance and fast reaction
DF FA S SUPPage 12

Use cases and live demos

Unrestricted © Siemens AG 2019
Diagnose
Use casedescription
Initial Situation
The DigiDemo machine serves as a demonstration platform for
digitization applications. To enable the Siemens regions to
demonstrate the digitization cases to their customers
worldwide, it was decided to produce a new one.
Process
•Mechanic: Build the machine
•Electrician: wire the machine according to the diagram
•Programmer: Project Planning & Development
•Commissioner: Commissioning of the machine
•Operator: Operation of the machine
•Service: Troubleshooting
DigiDemo machine
DF FA S SUPPage 14

Unrestricted © Siemens AG 2019
Diagnostic
Use case description
Goal
Each of the previous groups of the development
chain is looking for a way to diagnose errors so they
can quickly identified and corrected them to save
time and effort.
The mechanic has finished the construction of the
machine, so it can be wired.
DigiDemo machine
DF FA S SUPPage 15
What diagnostic
options exist ?

Unrestricted © Siemens AG 2019
Diagnostic options
in TIA enviroment
DF FA S SUP
Page 16
System diagnose
Communication Diagnostic
Network Diagnostic
Process Diagnostic
TIA Portal-Online
functions
Diagnose in the
Program
Error-OBs
Instructions
Webserver
User DefinedAlarms
PLC Display
LEDs
HMI
Breakpoints
Script-Diagnose
Channel-Diagnostic
PRONETA
Device View
Topology View
Network View
SIMATIC Automation Tool
Trace
Alarm Class
Alarm Groups
Hardware-Diagnose
Software-Diagnose
Application Examples in SIOS
Watch Tables
ProDiag
When can be used which one?
Force Table
DiagnoseBuffer

Use cases
Live demo
Use case 1: Wiring error
Use case 2: Incorrect wiring
Use case 3: Programming error
Use case 4: Alarming in program
Use case 5: Firmware update
Use case 6: Configuration error
Use case 7: Process failures
Use case 8: Sporadic failures

Unrestricted © Siemens AG 2019
Electrician
ETCC Themenraum - Digital Workflow
Diagnostic
Use case description and tools selection
Page 18
Use Case: Wiring error.
The electrician has connected all devices of Digidemo machine according
to the topology sent by engineering. The electrician checks with
PRONETA if the wiring is correct.
ET200SP can not be found in the network!
Reason: cable defective, ...!
How the failures can be diagnosed?

Unrestricted © Siemens AG 2019
Diagnostic
PRONETA- Network Analysis!
Network Analysis
… PROFINET is automatically scanned and PRONETA
shows, compares, exports and imports the topology
overview.
Without PLC and engineering system
… check the multiple use of IP addresses and PN names
easily, quickly and at an early stage
DF FA S SUPPage 19
PRONETA,
•the PROFINET Network analyzer is a free tool
•Provides a quick overview of the devices connected to PROFINET

Unrestricted © Siemens AG 2019
Diagnostic
Cabel test
Diagnostic on LEDs
•Most SIMATIC modules (ex. Decentralized periphery) have
LEDs through which basic diagnostics can be performed.
•Diagnostic via LEDs provides operating information status of
the device about internal/external errors.
•LEDs could help to localize an error.
Diagnostic in the hardware
DF FA S SUPPage 20

Unrestricted © Siemens AG 2019
Electrician
Commissioning
Engineer
ETCC Themenraum - Digital Workflow
Diagnostic
Use case description and tools selection
Page 21
Use Case: Hardware failure on a ET200SP
Before the electrician starts with the signal wiring, He must check the IO
of all the ET200SP, he suddenly finds
a channel of a ET200SP is not working!
Reason: Hardware Failure...!
How the failures can be diagnosed?

Unrestricted © Siemens AG 2019
Diagnostic
PRONETA- IO-Signals check and record!
IO-Check
… during installation without engineering system
… document the test results quickly and easily
DF FA S SUPPage 22
PRONETA
•It is a PROFINET network analyzer is a free tool
•IO checking and documentation of IO wiring for
decentralized peripherals

Unrestricted © Siemens AG 2019
Programmer
ETCC Themenraum - Digital Workflow
Diagnostic
Use case description and tools selection
Page 23
Use Case: Programming error
The engineer has finished the program, now he has to test it with
PLCSIM Advanced in order to deliver it to the Commissioning engineer.
The programmer realized that as soon as he download the project,
the PLC changes to STOP and can no longer be set to RUN.
An error message „Cycle time has been exceeded“ is displayed in the
diagnostic buffer in the TIA Portal.
Reason: recursive blocks calls, logic errors...!
How the failures can be diagnosed?

Unrestricted © Siemens AG 2019
Diagnostic
Program diagnostic
Within TIA Portal different Diagnostic functions can
be found:
•Online Diagnostic > Diagnostic Buffer
•Online Diagnostic > CPU Cycle Time
•Program Info > Module Calls
•Program status
•Breakpoints
•Offline/Online – Device Comparison
DF FA S SUPPage 24
Program diagnostic

Unrestricted © Siemens AG 2019
Programmer
ETCC Themenraum - Digital Workflow
Diagnostic
Use case description and tools selection
Page 25
Use case: Detect event and generate message
The engineer has used system functions and error OBs in the user
program so that the operator can quickly recognize and correct events.
He has programmed monitoring with Program_Alarm and parameterized
the failures with ProDiag and messages are generated according with the
current faults.
How the programming failures can be diagnosed?

Unrestricted © Siemens AG 2019
User message
4
Reacting with
the program
2
Diagnostic
Reacting to errors and generating messages within the program
DF FA S SUP
Page 26
Call functions
Block inside OB‘s
Programming
Program_Alarm
Monitor
Operands
Parametrizing
with ProDiag
2
Code ProgramDetect errors
Diagnosedaten
senden
1 3

Unrestricted © Siemens AG 2019
Comissioning
Engineer
ETCC Themenraum - Digital Workflow
Diagnostic
Use case description and tools selection
Page 27
Use Case: Firmware discrepancy
The DigiDemo is mechanically and electrically ready and the programmer
has send the project, so the commissioning engineer on site can start up
the software commissioning, but when is trying to download an error
appears because.
The firmware of the project and the real PLC are different!
Reason: Differences between hardware that has been configured in TIA
Portal and the real one.
How the failures can be diagnosed?

Unrestricted © Siemens AG 2019
Diagnostic
Possibilities to update the firmware
•TIA Portal > Online Diagnostic> Functions>
Firmware Update
DF FA S SUPPage 28
Diagnostic with TIA Portal
•PLC-Memory Card
•SIMATIC Automation Tool

Unrestricted © Siemens AG 2019
Electri cian
Commissioning
Engineer
ETCC Themenraum - Digital Workflow
Diagnostic
Use case description and tools selection
Page 29
Use Case: Configuration error
After the firmware update, the commissioning enginner could load the
project into the PLC:
Die ET200SP is not reachable but the leds are blinking!
Possible reason: PN Name is missing, wrong modules...!
How the failures can be diagnosed?

Unrestricted © Siemens AG 2019
Diagnostic
Program test
Available options for Online Diagnostic with TIA
Portal:
•Topology, device and network view
•Symbolic status display of the IO-Station
•Diagnostic with LED directly in the module
DF FA S SUPPage 30
Program diagnostic

Unrestricted © Siemens AG 2019
Operator
ETCC Themenraum - Digital Workflow
Diagnostic
Use case description and tools selection
Page 31
Use Case: Process failures
The operator of the machine has remote access to the machine, however
can not start the DigiDemo machine or find the cause!
Possible reason: Conditions not fulfilled...!
How the failures can be diagnosed?

Unrestricted © Siemens AG 2019
Diagnostic
Alarm view
DF FA S SUPPage 32
HMI visualization
System diagnostic
Display messages from the diagnostic buffer of all integrated connections
Alarm view
Display current alarms during runtime
ProDiag-View
Display of the current status of the configured monitoring systems
Graph view
In case of any failure graph view display the step in which the chain is stock, the
previous, the next one and the criteria analysis
Criteria analysis view
Display of the erroneous operands who caused a failure in the user program
PLC-Code- view
Monitoring of the program displaying the current values of the variables
(LAD, FBD,GRAPH)

Unrestricted © Siemens AG 2019
Service
ETCC Themenraum - Digital Workflow
Diagnostic
Use case description and tools selection
Page 33
Use Case: Sporadic errors
The customer findssporadic errors when positioning a piece at the
conveyor
Possible reason: Positioning error ...!
How the failures can be diagnosed?

Unrestricted © Siemens AG 2019
Engineering
Trace
Recording of signals from the current program of the PLC at a
defined interval over a certain period of time.
Recording the signals
•can be started manually or with a trigger condition
•is displayed graphically and can be easily evaluated
•is stored and activated on the device
•can be permanently stored as a measurement in the TIA
Portal.
Completed measurements can be viewed via the PLC
webserver.
DF FA S SUPPage 34
Sporadic errors analyzed by trace

How can mistakes be avoid?

Unrestricted © Siemens AG 2019
How can mistakes be avoid?
Tipps and tricks
DF FA S SUPPage 36
Plant identification system
Avoid time-consuming searches for the failed device by
clearly identifying systems, devices and functions.
X1 Designation of the entire plant
X2 Number of the entire system
Y3 Name of the main component
Y4 Name of the subgroup within the main component
Z5 Number of the device or module according to the device list
zz (6,7) Serial number of the device, the assembly within the subgroup of
the main component
Use a plant identification system for uniform and
systematic identification of machines and plants.
Ex.:= XX.YY - Z.zz
1 2 3 4 5 6 7

Unrestricted © Siemens AG 2019
How can mistakes be avoid?
Tipps und tricks
DF FA S SUPPage 37
Risk analysis
Avoid system downtime by coupling all devices to a key unit,
since a failure of the unit means a complete failure of the
system.
Perform a risk analysis in advance to calculate the cost
of failure and plan your plant based on the results
low highPlant Priority
Hardware Investment *
risk assessment
low high
*high-availability PLC, ring topology, …

Unrestricted © Siemens AG 2019
How can mistakes be avoid?
Tipps und tricks
DF FA S SUPPage 38
Programming Guideline
Avoid typos, clerical errors and program errors
in engineering
Use the programming guide line helps to
•create easily readable and understandable program code
•support program code in the diagnosis of program errors
•To ensure easy maintenance and simplified further development
Use the Style guide Checker to detect errors in time and to optimize
your user program before commissioning!
BS
User-programm
Advantages
•Increased system availability through avoidance of PLC stops
•Time and cost savings
•Less susceptibility to errors

Unrestricted © Siemens AG 2019
How can mistakes be avoid?
Tipps und tricks
DF FA S SUPPage 39
More Tipps
Avoid message chaos Classify messages by priority and urgency using alarm
classes and groups.
Prevent generate a lot of reports Use ProDiag for generate structured alarm messages
Ensure that the systems synchronize with each other
when using third-party systems.
Use the same timestamp for all systems

Unrestricted © Siemens AG 2019
TIA Portal –www.siemens.de/tia-portal–
Further information can be found here!
SIMATIC Automation Tool https://support.industry.siemens.com/cs/ww/de/view/98161300
PRONETA http://www.siemens.de/pronetaProgrammind StyleGuideLinehttps://support.industry.siemens.com/cs/ww/de/view/90885040Diagnostic overview with
SIMATIC S7-1200/1500
https://support.industry.siemens.com/cs/ww/de/view/109752283
Diagnostic by SIMATIC und
SCALANCE
https://support.industry.siemens.com/cs/ww/de/view/21566216System Diagnostic with
S7-1500
https://support.industry.siemens.com/cs/ww/de/view/68011497Tutorial Center “Diagnostic”https://cache.industry.siemens.com/dl/dl-
media/707/106656707/att_961750/v3/106656707_TIA_Portal_-_Tutorial_Center_web/start.htm#!/de/5143
DF FA S SUPPage 42

Unrestricted © Siemens AG 2019
Thanks for your attention!
siemens.de/proneta
SIMATIC System Support
DI FA S SUP
Phone: +49 911 895-4646
E-Mail:[email protected]
DF FA S SUPPage 43
Subject to changes and errors. The information given in this document only contains general descriptions and/or performance features w hich may
not alw ays specifically reflect those described, or w hich may undergo modification in the course of further development of the products. The requested
performance features are binding only w hen 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.
Tags