6.15 OB 153: Set/Read Time for Delayed Interrupt
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).
Function
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.
Life of a delay job
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.
Parameters
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
OB 153: Set/Read Time for Delayed Interrupt
CPU 948 Programming Guide
6 - 50
C79000-G8576-C848-04
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...