Professional Documents
Culture Documents
04 Diagnostic Maintenance
04 Diagnostic Maintenance
Basic Workshop
WebNavigator
Remotediagnostics
Remote diagnostics
WebServices
Systemdiagnostics
System diagnostics
Report System Error (build in S7-1500)
S7standard
S7 standard Trace Function (S7-1500 only) PROGRAM_ALARM
diagnostics
diagnostics Diagnostics using S7 Program Error OBs
WebNavigator
Remotediagnostics
Remote diagnostics
WebServices
Systemdiagnostics
System diagnostics
Report System Error (build in S7-1500)
S7standard
S7 standard Trace Function (S7-1500 only) PROGRAM_ALARM
diagnostics
diagnostics Diagnostics using S7 Program Error OBs
• Introduction 4
• Diagnostic LEDs
• Diagnostic in TIA-Portal
• Diagnostic in User Program
• Trace Editor
• Systemdiagnostic
• Web Diagnostic
• Summary
PG/
Detailed diagnostic information Engineering software necessary
STEP 7
• Introduction 04
• Diagnostic LEDs 07
• Diagnostic in TIA-Portal
• Diagnostic in User Program
• Trace Editor
• Systemdiagnostic
• Web Diagnostic
• Summary
Operator’s level
Error detection
Detection of the…
-type
Controller’s level
-source
… of an error at modules
Error reaction
3rd Party
• Alarm view
-LED at modules
Field level
Diagnostics with LEDs
LEDs of CPU
1 2 3
1 STOP/RUN (two color LED: green/yellow)
6 4
4 X1 P1 R (two color LED: green/yellow)
5
X1 P2 R (two color LED: green/yellow)
5
LEDs Meaning
LINK/RX/TX-
Meaning
LED
No data is received / send at the PROFINET
LED off
interface.
An Ethernet connection is existing between
LED lights green PROFINT interface and a communication
partner
Interface is connected to a PROFINET
LED flash green
device
ERROR Flashes red Group errors and group error channels/ Set
(red) configuration unequal actual configuration /
invalid configurations/ Parameter
assignment error in module
MAINT Lights yellow Maintenance request– lose of
(yellow) synchronization / Maintenance-alarm of a
module
Special cases All LEDs light LED Test at STARTUP (0,25s)
• Introduction 04
• Diagnostic LEDs 07
• Diagnostic in TIA-Portal 14
• Diagnostic in User Program
• Trace Editor
• Systemdiagnostic
• Web Diagnostic
• Summary
WebNavigator
Remotediagnostics
Remote diagnostics
WebServices
Systemdiagnostics
System diagnostics
Report System Error (build in S7-1500)
S7standard
S7 standard Trace Function (S7-1500 only) PROGRAM_ALARM
diagnostics
diagnostics Diagnostics using S7 Program Error OBs
Online Firmware
update
Editors
Online
Device view
subordinate defect
o.K.
Differences Online/Offline
Defect
only Online
Maintenance
only Offline
Diagnostics
• Introduction 04
• Diagnostic LEDs 07
• Diagnostic in TIA-Portal 14
• Diagnostic in User Program 18
• Trace Editor
• Systemdiagnostic
• Web Diagnostic
• Summary
PROGRAM
FB
Local ALARM Displayed as alarms
Local
in HMI
Reaction to events
Displayed as alarms
in Webserver of PLC
PROGRAM_ALARM can only be used Webserver
within FBs
Configuration of the FB S7-1500 S7-1200 S7-300/400/WinAC
• To ensure the correct handling of the input values you have the possibility to activate the value
status (QI = Quality Information) in the properties of the module
• An additional bit will reserved for each channel in the process image. E.g. 2 Byte for a 16
channel input module
Quality Information ET200SP
• Introduction 04
• Diagnostic LEDs 07
• Diagnostic in TIA-Portal 14
• Diagnostic in User Program
18
• Trace Editor 26
• Systemdiagnostic
• Web Diagnostic
• Summary
WebNavigator
Remotediagnostics
Remote diagnostics
WebServices
Systemdiagnostics
System diagnostics
Report System Error (build in S7-1500)
S7standard
S7 standard Trace Function (S7-1500 only) PROGRAM_ALARM
diagnostics
diagnostics Diagnostics using S7 Program Error OBs
General definition:
A trace is a chronological documentation of events. The point is: “What
happened when?”
TIA Portal:
In TIA Portal the Trace is a chronological recording of signals
(variables, parameter, etc.) out of the program that is operated in the
PLC. The recording is running through a specified time period and can
be graphically displayed.
Introduction
Use case Examples S7-1500 S7-1200 S7-300/400/WinAC
Sporadic faults
Analyze the trace
Problem solved
Record the
trace +
Plant
Adoption of program optimized
Commissioning or process
Trace Editor
Activation S7-1500 S7-1200 S7-300/400/WinAC
2x
Trace Editor
Areas
3 3
Signal table
4
4
Trace handling
5 5
Configuration area via the properties
of the inspector window
Trace editor
Function menu bar and trend diagram
Selection of
Buttons to
recording to be
activate/deactivate
displayed in
recordings
trend diagram
Overview of the configured signals for the trace including the graphical representation
1 2 3
Configured traces in Available traces in the CPU Stored trace measurements in the
the project State of these traces project
Display of trace in trend diagram Display of measurement in the trend
max. number of traces in the PLC diagram
depends on PLC (CPU 1516 = max. 4 Start time of the measurement
traces)
Trace editor
Configuration menu in the inspector window
1
2
3
Configuration
Trigger – Trigger on tag
Trigger variable
Import Export
Traces in “.ttrec” format can be imported Traces stored in the project can be
into an existing project exported as files with “*.ttrec“ or “csv”
format
1 1
2
2
Remarks
Traces
Only one recording can be displayed but all traces of a PLC can be recorded at the
same time
If a running or completed trace in the PLC gets restarted by the trigger event the
current recording gets overwritten
If a configuration was created or a trace was stored as a measurement the project
has to be saved to persist them in the project (no automatic saving)
The trend diagram can be saved as an image (*.bmp) or can be copied to the
clipboard
Diagnostics
• Introduction 04
• Diagnostic LEDs 07
• Diagnostic in TIA-Portal 14
• Diagnostic in User Program
18
• Trace Editor 26
• Systemdiagnostic
39
• Web Diagnostic
• Summary
WebNavigator
Remotediagnostics
Remote diagnostics
WebServices
Systemdiagnostics
System diagnostics
Report System Error (build in S7-1500)
S7standard
S7 standard Trace Function (S7-1500 only) PROGRAM_ALARM
diagnostics
diagnostics Diagnostics using S7 Program Error OBs
Operator’s level
Error detection
Detection of the…
-type
Controller’s level
-source
-cause
… of an error with
PG / STEP 7
3rd Party
Field level
With PG / STEP 7
Details
CPU
Module creates
Operating system with Diagnostic event diagnostic event
diagnostic functionalities
HMI 5
5. Display of the alarms (for HMI devices
supporting the S7-1500 communication*)
4. HMI connects matching alarm texts to the
Alarm 4 diagnostic event
texts
CPU
2 3. The diagnostic function generates alarms and
3 casts them to HMI / CPU-Display / Webserver
Feld 1
* MPx77, Basic Panels, Comfort Panels, Mobile 277, RT Adv., RT Prof. (no diagnostic viewer)
saves resources
System diagnostics S7-1500
System diagnostics viewer at Comfort Panels / RT Advanced
CPU – Webserver
System diagnostics
viewer
System diagnostics S7-1500
System diagnostics window at Comfort Panels / RT Advanced
1
Move “System diagnostics window” to
global screen
No additional compilation
Diagnostics and diagnostic alarms can independently be activated Active diagnostic results automatically in diagnostic alarms
Not loaded error-OB CPU switches to STOP Not loaded error-OB CPU stays in RUN
System diagnostics only in RUN supported System diagnostics is RUN and in STOP supported
• Introduction 04
• Diagnostic LEDs 07
• Diagnostic in TIA-Portal 14
• Diagnostic in User Program
18
• Trace Editor 26
• Systemdiagnostic 39
• Web Diagnostic 50
• Summary
WebNavigator (WinCC)
Remotediagnostics
Remote diagnostics
WebServices
Systemdiagnostics
System diagnostics
Report System Error (build in S7-1500)
S7standard
S7 standard Trace Function (S7-1500 only) PROGRAM_ALARM
diagnostics
diagnostics Diagnostics using S7 Program Error OBs
Easy access to diagnostics data of the modules using standard office tools
Supported commissioning and operation
No engineering license is required for gathering diagnostics information's
Access is possible with any web browser even from Smartphone, Tablet,…
Increased plant availability
Enable Web Interface
1
Web-Application
Convert Web-Application
Call WebPages in into Datablocks
Web browser Create Webpage with any
4 editor 2
3
STEP 7
Project
DB100
Download in CPU DB99 Import in STEP 7-Projekt
Block Call in Startup OB
Web browser
Enter IP address
Enter IP address
Enter IP address
Smart Service
Ethernet
HMI panel: sm@rt Service
Remote control
Diagnostics
• Introduction 04
• Diagnostic LEDs 07
• Diagnostic in TIA-Portal 14
• Diagnostic in User Program
18
• Trace Editor 26
• Systemdiagnostic 39
• Web Diagnostic 50
• Summary
61
WebNavigator
Remotediagnostics
Remote diagnostics
WebServices
Systemdiagnostics
System diagnostics
Report System Error (build in S7-1500)
S7standard
S7 standard Trace Function (S7-1500 only) PROGRAM_ALARM
diagnostics
diagnostics Diagnostics using S7 Program Error OBs
User defined Messages can be implemented with simple block calls bounded to the program.
Programming recommendations for S7-1200 and S7-1500 with STEP 7 (TIA Portal)
http://support.automation.siemens.com/WW/view/en/67582299
Migration:
Migration production plants– http://support.automation.siemens.com/WW/view/en/83558085
Migration PLC´s – http://support.automation.siemens.com/WW/view/en/83557459
Migration Vizualisation – http://support.automation.siemens.com/WW/view/en/76878921
Migration communication – http://support.automation.siemens.com/WW/view/en/83558087
Migration periphery – http://support.automation.siemens.com/WW/view/en/83558994
Let us know if there is anything
we can support you with!
For further information and support, please contact:
Mr. Tran Van Hieu
SITRAIN Manager – Digital Industry Academy
Siemens Vietnam
Email: tran-van.hieu@siemens.com
www.siemens.com.vn
www.facebook.com/Siemens.Vietnam