Presentation is loading. Please wait.

Presentation is loading. Please wait.

Date:23.10.2015 File:PRO1_12E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Troubleshooting.

Similar presentations


Presentation on theme: "Date:23.10.2015 File:PRO1_12E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Troubleshooting."— Presentation transcript:

1 Date:23.10.2015 File:PRO1_12E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Troubleshooting

2 Date:23.10.2015 File:PRO1_12E.2 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation System Diagnostics - Overview CPU I/O-Module CPU diagnostics detects a system error CPU diagnostics detects an error in the user program Error OB Diagnostic buffer CPU messages Diagnostics- capable module detects an error and generates a diagnostic interrupt Diagnostic interrupt System status list SFC

3 Date:23.10.2015 File:PRO1_12E.3 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Searching for Errors, that Cause the CPU to Stop CPU

4 Date:23.10.2015 File:PRO1_12E.4 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Calling the "Module Information" Tool

5 Date:23.10.2015 File:PRO1_12E.5 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Module Information Tab: "Diagnostic Buffer"

6 Date:23.10.2015 File:PRO1_12E.6 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Interpreting Error Messages

7 Date:23.10.2015 File:PRO1_12E.7 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Opening a Block Containing an Error

8 Date:23.10.2015 File:PRO1_12E.8 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Diagnostics with I Stack, B Stack, L Stack Program structure Block containing error Error location You see the contents of the accumulators, registers, status word etc. (up to time of interruption) in the I Stack. You see the values of the temporary variables up to time of interruption in the L Stack. Error location You see the blocks executed up to the error in the B Stack.

9 Date:23.10.2015 File:PRO1_12E.9 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation B Stack

10 Date:23.10.2015 File:PRO1_12E.10 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation I Stack

11 Date:23.10.2015 File:PRO1_12E.11 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation L Stack

12 Date:23.10.2015 File:PRO1_12E.12 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Exercise: Finding Stop Errors and Eliminating Them ResultWhat to Do Step The CPU memory is reset.Carry out a CPU memory reset.1 Copy the S7 program "ERROR" from the project "ERROR _16" ("ERROR _32") into the HW-Station "My Station". The project structure is displayed.2 The faulty program is downloaded. Download all the blocks from the S7 program "ERROR" into the CPU. 3 The CPU goes into STOP mode.Perform a complete restart. 4 The CPU remains in RUN. Find and eliminate the errors, that lead to the Stop state. 5

13 Date:23.10.2015 File:PRO1_12E.13 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Exercise: Troubleshooting with I Stack, B Stack ResultWhat to Do Step The CPU goes into STOP once more. Switch on the inputs I 1.0 to I 1.2 in sequence. 1 Answer the questions in the table below. Clarify the cause of the error with the help of the diagnostic buffer and the Stacks. 2 The CPU remains in RUN. Switch the inputs I 1.0 to I 1.2 off again. 3

14 Date:23.10.2015 File:PRO1_12E.14 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Logical Errors ??

15 Date:23.10.2015 File:PRO1_12E.15 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Displaying Reference Data

16 Date:23.10.2015 File:PRO1_12E.16 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Filtering Reference Data

17 Date:23.10.2015 File:PRO1_12E.17 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Cross References

18 Date:23.10.2015 File:PRO1_12E.18 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Filtering Cross References

19 Date:23.10.2015 File:PRO1_12E.19 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Reference Data: Find

20 Date:23.10.2015 File:PRO1_12E.20 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Block Correction using Cross References 2x

21 Date:23.10.2015 File:PRO1_12E.21 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Go to Location 1xright

22 Date:23.10.2015 File:PRO1_12E.22 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Assignment of I,Q,M,T,C

23 Date:23.10.2015 File:PRO1_12E.23 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Unused Symbols / Addresses without Symbols

24 Date:23.10.2015 File:PRO1_12E.24 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Program Structure

25 Date:23.10.2015 File:PRO1_12E.25 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Comparing Blocks (1)...see next page

26 Date:23.10.2015 File:PRO1_12E.26 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Comparing Blocks (2)

27 Date:23.10.2015 File:PRO1_12E.27 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Exercise: Eliminating Logical Program Errors Can you select the "Manual" mode? Can the conveyor belt be traversed in jog mode? Switch on the Automatic mode ! Does the bottle stop at the bottle sensor for filling? Is there a message when the minimum level was exceeded? Is the number of packaging units displayed on the digital display?

28 Date:23.10.2015 File:PRO1_12E.28 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Sporadic Errors

29 Date:23.10.2015 File:PRO1_12E.29 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Displaying CPU Messages

30 Date:23.10.2015 File:PRO1_12E.30 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Writing User Messages in the Diagnostic Buffer SEND = TRUE 1 2 Send buffer Diagnostic buffer Sending asynchronous to user program Node e.g. PG, OP CPU SFC 52

31 Date:23.10.2015 File:PRO1_12E.31 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Configuring Your Own Message Texts

32 Date:23.10.2015 File:PRO1_12E.32 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Calling the SFC 52 Block Network 2: User message when limit value exceeded ENO RET_VAL #error_sfc52 SFC 52 EN SEND EVENTN INFO 1 INFO 2 #analog value_ normalized #dummy W#16#A901 M 0.1 P #analog value_ normalized 5.000000e+003 CMP>R IN1 IN2 >=1 M 90.1

33 Date:23.10.2015 File:PRO1_12E.33 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Structure of the EVENTN Parameter of the SFC 52 Block Event class 15141312 EVENTN 1..9are standard texts for the different events (see the Standard and System Functions manual) A..Bfree texts, that are specified using Message Configuration C..Freserved for expansions in the future Event class 111098 Identification Specifies if it is an incoming or an outgoing event, or, an internal or an external event, for example: Bit 8= "1" -->incoming message Bit 8= "0" -->outgoing message Bit 10= "1" -->internal fault Bit 11= "1" -->external fault Identification 76543210 Event number Continuous message number from 1 to 255 within an event class Event number

34 Date:23.10.2015 File:PRO1_12E.34 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Diagnostics-Capable Modules Assigning parameters for a diagnostics-capable module:... trigger a diagnostics interrupt OB 82 when an error occurs

35 Date:23.10.2015 File:PRO1_12E.35 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Displaying Hardware Diagnostics in the SIMATIC Manager 2x

36 Date:23.10.2015 File:PRO1_12E.36 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Exercise: Enabling Diagnostic Messages

37 Date:23.10.2015 File:PRO1_12E.37 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Exercise: Outputting User Messages SFC 52 SEND EVENTN INFO1 INFO2 RET_VAL TRUE W#16#9101 MW 54 MD 56 MW 52 ??? * * * a contact must be connected to the EN for programming in LAD ! EN

38 Date:23.10.2015 File:PRO1_12E.38 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Exercise: Enabling Diagnostic Interrupts and Simulating Hardware Faults StepWhat to DoResult Enable the diagnostic interrupt at the analog module ! (HW Config.) 1 The hardware diagnostic is activated 2 Download the configuration in the CPU 3 Remove the front connector on the analog module ! The "SF" LED on the analog module indicates a hardware fault 4 The configuration is opened online Activate the "Diagnose Hardware" tool ! 5 The message "Power supply failure" is given as the cause of the error Clarify the cause of the error with the tool !

39 Date:23.10.2015 File:PRO1_12E.39 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation System Information

40 Date:23.10.2015 File:PRO1_12E.40 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation System Information - Overview

41 Date:23.10.2015 File:PRO1_12E.41 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Module Information: "Memory" Tab

42 Date:23.10.2015 File:PRO1_12E.42 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Module Information: "Scan Cycle Time" Tab

43 Date:23.10.2015 File:PRO1_12E.43 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Module Information: "Time System" Tab... in the SIMATIC Manager: PLC -> Set Date and Time

44 Date:23.10.2015 File:PRO1_12E.44 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Module Information: "Performance Data" Tab... in the SIMATIC Manager: Blocks folder -> Properties

45 Date:23.10.2015 File:PRO1_12E.45 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Performance Data: Blocks

46 Date:23.10.2015 File:PRO1_12E.46 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Exercise: Reading Out System Information


Download ppt "Date:23.10.2015 File:PRO1_12E.1 SIMATIC S7 Siemens AG 1999. All rights reserved. Information and Training Center Knowledge for Automation Troubleshooting."

Similar presentations


Ads by Google