Siemens CPU 948 Programming Manual page 285

Simatic s5 s5-155u
Table of Contents

Advertisement

Points to note with the time
parameters
Table 6-14
Assignment of "timed job - time parameters"
Interval
every minute
every hour
every day
every week
every month
every year
once
Special situations
CPU 948 Programming Guide
C79000-G8576-C848-04
OB 151: Set/Read Time for Clock-Controlled Interrupt
Regardless of when a clock-controlled interrupt (timed job) is to be
triggered, the individual time parameters must be specified in certain
combinations. Depending on the selected time for the clock-controlled
interrupt, certain parameters must be specified, while others are not
evaluated by the system program.
The following table shows which time parameters must be specified
for which timed job (XXX = must be specified, --- = irrelevant).
Seconds
Minu-
Hours
tes
XXX
---
---
XXX
XXX
---
XXX
XXX
XXX
XXX
XXX
XXX
XXX
XXX
XXX
XXX
XXX
XXX
XXX
XXX
XXX
When reading out the time parameters, the irrelevant parameters are
assigned the value FFH.
• • If the "29th of February" is selected with the job type "every year"
(= 6), this means that OB 9 is only called every leap year.
• • If the value "29", "30" or "31" is selected with the job type "every
month" (= 5), OB 9 is only called in the months which have these
dates.
Week-
Day of
Month
day
month
---
---
---
---
---
---
---
---
---
XXX
---
---
---
XXX
---
---
XXX
XXX
---
XXX
XXX
Year
---
---
---
---
---
---
XXX
6 - 47

Advertisement

Table of Contents
loading

Table of Contents