Technical data
Important points
concerning time parameters
Depending on when you want to trigger a clock-driven time interrupt
(timed job) you must select the individual time parameters in certain
combinations. Depending on the time you select for the clock-driven
time interrupt, you must specify certain parameters, while others are
not evaluated by the system program and can therefore be ignored.
The following table indicates which time parameters must be
specified for which timed job (XXX = must be specified,
--- = irrelevant).
Time of interrupt Seconds Minu-
tes
Hours Week-
day
Day
of
month
Month Year
every minute
every hour
every day
every week
every month
every year
once
XXX
XXX
XXX
XXX
XXX
XXX
XXX
---
XXX
XXX
XXX
XXX
XXX
XXX
---
---
XXX
XXX
XXX
XXX
XXX
---
---
---
XXX
---
---
---
---
---
---
---
XXX
XXX
XXX
---
---
---
---
---
XXX
XXX
---
---
---
---
---
---
XXX
Special features
•• If you select the job type "every year" (= 6) and select " February
29th" as the day of the month and month, then OB 9 will only be
called every leap year.
•• If you select the job type "every month" (= 5) and select the value
"29", "30" or "31" then OB 9 will only be called in the months
containing these dates.
Examples
Table 6-4 "Time job - Time parameter" assignments
Various timed jobs (24 hour format):
1. "Job at the 29th second of every minute"
(12:44:29, 12:45:29 etc):
You must specify the following: job type = 1 (Function no. in
ACCU-2-L = 1)
seconds = 29
2. "Job every hour at xx:14:15":
You must specify the following: job type = 2 (Function no. in
ACCU-2-L = 1)
seconds = 15
minutes = 14
Continued on the next page
6
OB 151: Setting/Reading the Time for Clock-Driven Interrupts
CPU 928B Programming Guide
C79000-B8576-C898-01
6 - 37