6.15 Ob 153: Set/Read Time For Delayed Interrupt - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

OB 153: Set/Read Time for Delayed Interrupt

6.15 OB 153: Set/Read Time for Delayed Interrupt

Function
Life of a delay job
Parameters
6 - 50
Using OB 153, you can transfer so-called "delay jobs" to the system
program. After a specified delay time "a delayed interrupt" is then
processed (refer to OB 6, Section 4.5.3).
By calling OB 153, you can do the following:
• • define and start a delay time,
• • stop an activated delay time (cancel delay job),
• • read how long the delay time still has to run.
A delay job can be activated in the START UP and RUN modes.
The delayed interrupt triggered by a delay job is only activated by the
system program in the RUN mode (OB 6 call).
Jobs which become due in a mode other than RUN are discarded by
the system program without any message.
A currently active (but not yet due) job is also discarded if the CPU
changes to the STOP mode or if the power is switched off.
ACCUs
a) ACCU-2-L
ACCU-2-L only needs to be supplied with the function number '1'
("define delay time") when OB 153 is called, as follows:
Delay time in milliseconds (max. 65535)
Permitted values:
0001H to FFFFH
b) ACCU-1-L
Function no.
Permitted values:
1 = define and start delay time
2 = stop delay time (= cancel job)
3 = read remaining delay time
CPU 948 Programming Guide
C79000-G8576-C848-04

Advertisement

Table of Contents
loading

Table of Contents