Introduction to STEP 5
S5-100U
7.4.4
Time-Controlled Program Processing, for CPU 103 Version 8MA02
and Higher
Time-controlled program processing can be defined as a (periodic) time signal causing the CPU to
interrupt cyclic program processing to process a specific program. Once this program has been
processed, the CPU returns to the interruption point in the cyclic program and resumes processing.
Prerequisites for time-controlled program processing
Time-controlled program processing is possible only if the following prerequisites have been fulfilled.
•
Organization block OB13 must be programmed.
•
The programmable controller must be set to Power ON and the RUN mode must be selected.
•
Interrupt processing may not be disabled (by the IA - disable interrupt - operation). See
section
8.2.8.
•
The OB13 call-up interval is set to > 0.
OB13 is available for time-controlled program processing when using CPU 103 version 8MA02 and
higher. You determine the intervals at which you want the operating system to process OB13. It is
also possible to change the call-up intervals during cyclic program processing. Cyclical program
processing continues if OB13 is not programmed.
•
Setting the call-up interval
You can set the call-up interval in DB1 using the TFB: block ID. You can set the times from
10 ms to 655,530 ms (use 10-ms increments). The default for OB13 is 100 ms.
•
Interrupt possibilities
OB13 can interrupt the cyclical program after any STEP 5 statement. After the current STEP 5
statement is executed, you can use process interrupts to interrupt time-controlled program
processing. After interrupt processing, time-controlled program processing continues until it is
finished.
OB13 cannot interrupt the operating system, the process interrupts (OB2), or the current time-
controlled program processing (OB13).
•
Disabling/enabling the call-up
Use the IA command to disable, and the RA command to enable the OB13 call-up.
A call-up request can be stored during a call-up disable. The default is RA. See section 8.2.8.
7-28
EWA 4NEB 812 6120-02b
Summary of Contents for SIMATIC S5-100U
Page 6: ...EWA 4NEB 812 6120 02b ...
Page 16: ...EWA 4NEB 812 6120 02b ...
Page 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Page 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Page 23: ......
Page 27: ......
Page 36: ...EWA 4NEB 812 6120 02b ...
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 102: ...EWA 4NEB 812 6120 02b ...
Page 156: ...EWA 4NEB 812 6120 02b ...
Page 232: ...EWA 4NEB 812 6120 02b ...
Page 268: ...EWA 4NEB 812 6120 02b ...
Page 272: ...EWA 4NEB 812 6120 02b ...
Page 336: ...EWA 4NEB 812 6120 02b ...
Page 352: ...EWA 4NEB 812 6120 02b ...
Page 412: ...EWA 4NEB 812 6120 02b ...
Page 482: ...EWA 4NEB 812 6120 02b ...
Page 484: ...EWA 4NEB 812 6120 02b ...
Page 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Page 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Page 516: ...EWA 4NEB 812 6120 02b ...
Page 522: ...EWA 4NEB 812 6120 02b ...
Page 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Page 524: ...EWA 4NEB 812 6120 02b ...
Page 530: ...EWA 4NEB 812 6120 02b ...
Page 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Page 532: ...EWA 4NEB 812 6120 02b ...
Page 534: ...EWA 4NEB 812 6120 02b ...
Page 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Page 536: ...EWA 4NEB 812 6120 02b ...
Page 542: ...EWA 4NEB 812 6120 02b ...
Page 543: ...Index EWA 4NEB 812 6120 02b ...
Page 544: ...EWA 4NEB 812 6120 02b ...
Page 550: ...EWA 4NEB 812 6120 02b ...