Technical data

Contents of Chapter 4
4.1 Introduction and Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 4
4.2 Program Processing Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 7
4.3 STOP Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 13
4.3.1 Characteristics and Indication of the Operating Mode . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 13
4.3.2 Requesting an OVERALL RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 15
4.3.3 Performing an OVERALL RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 16
4.4 RESTART Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 17
4.4.1 MANUAL and AUTOMATIC COLD RESTART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 18
4.4.2 MANUAL and AUTOMATIC WARM RESTART . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 19
4.4.3 Comparison of the Different Restart Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 21
4.4.4 User Interfaces for Restart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 22
4.4.5 Interruptions in the RESTART Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 25
4.5 RUN Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 27
4.5.1 Cyclic Program Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 28
4.5.2 Time-Driven Program Execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 31
Delay interrupt (from Version -3UB12) 4 - 31
Clock-driven time interrupts 4 - 33
TIME INTERRUPTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 35
Collision of time interrupts (WECK-FE) 4 - 36
4.5.3 CLOSED LOOP CONTROLLER INTERRUPT: Processing
Closed Loop Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 - 38
4.5.4 PROCESS INTERRUPT: Interrupt-Driven Program Execution . . . . . . . . . . . . . . . . . . 4 - 39
4.5.5 Nested Interrupt-Driven and Time-Driven Program Execution . . . . . . . . . . . . . . . . . . . 4 - 42
4
4
Operating Modes and Program
Processing Levels
CPU 928B Programming Guide
C79000-B8576-C898-01
4 - 1