Date: File:GRAPH_03e.1 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Programming Steps and Transitions
Date: File:GRAPH_03e.2 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Programming Steps and Transitions
Date: File:GRAPH_03e.3 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Application Settings and Block Settings
Date: File:GRAPH_03e.4 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Application Settings, General Tab (1)
Date: File:GRAPH_03e.5 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Application Settings, General Tab (2)
Date: File:GRAPH_03e.6 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Application Settings, Editor (1)
Date: File:GRAPH_03e.7 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Application Settings, Editor (2)
Date: File:GRAPH_03e.8 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives View Types: Overview
Date: File:GRAPH_03e.9 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives View Types: Single Page
Date: File:GRAPH_03e.10 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives View Types: Single Step
Date: File:GRAPH_03e.11 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Interlock condition missing!Supervision error occurred! Interlock = 0 (error):Supervision = 1 (error): Enable if transition satisfiedNo enable if transition satisfied FB parameter ERR_FLT = 1FB parameter ERR_FLT = 1 Error display in statusError display in status "C" actions are not carried outActions are carried out "NC" actions are reset FB parameter ERR_FLT = 0 FB parameter ERR_FLT = 0 Error no longer presentError no longer present "C" actions are executedSatisfied transition enabled (with acknowledge if required) C= 0 --> Interlock V= 1 --> Supervision + STOP C= 1 --> Interlock V= 0 --> Supervision + continue Interlocks and Supervisions
Date: File:GRAPH_03e.12 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives View Types: Permanent Instructions
Date: File:GRAPH_03e.13 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives S1 S2 T1 T2 S4 T3 Initial step Transition S5S6 T4 T5 Seq. end Alternative branch, open Simultaneous branch, open Alternative branch, close Simultaneous branch, close Seq. 1 S7 S8 T6 T7 S9 T9 Seq. 2 S8 T9 Jump to step 8 Elements of a Sequencer, Overview
Date: File:GRAPH_03e.14 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Editing Sequencers (1)
Date: File:GRAPH_03e.15 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Editing Sequencers (2)
Date: File:GRAPH_03e.16 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Actions (1), Editing Action Blocks
Date: File:GRAPH_03e.17 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Action block with simple instructions N = Non-stored S = Set (Stored) D = Time Delayed, delayed by time T, non-stored L = Time Limited, non-stored, time-delayed CALL = Block call (only if step is active) Action block _2 NM1.1 SM1.2 RM1.3 DM1.4 T#1H2M3S LM1.5 T#4MS CALLFC1 Actions (2), Standard Actions
Date: File:GRAPH_03e.18 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Action block with conditional instructions Conditions An action indicated with"C" (Condition) is only executed if the interlock condition of the step is satisifed ("C" = 1). An interlock error occurs if the condition is zero. The action with the C condition is not executed. The step is highlighted and the error message "Error" is generated. Action block _3 NCM1.1 SCM1.2 RCM1.3 DCM1.4 T#1H2M3S LCM1.5 T#4MS CALLCFB5,DB3 Actions (3), Interlock-Dependent Actions
Date: File:GRAPH_03e.19 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives 1. Double-click on error message; error is highlighted in screen. Compiler is activated with: 1. Store FB 2. Consistency check 3. Compile GRAPH source Troubleshooting procedure: 2. Correct in program Compiler Messages
Date: File:GRAPH_03e.20 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives INI 1 Proximity switch LS 1 Light barrier M 1 Motor H 1 LED S 1 Acknowledge switch L R Final assembly Bay 1 Conveyor OFF/ON S 1 S 2 S 3 T 1 T 2 ? Exercise: Program Actions and Transitions
Date: File:GRAPH_03e.21 SIMATIC S7 Siemens AG All rights reserved. SITRAIN Training for Automation and Drives Error! Exercise: Program Interlocks and Supervisions