EasyManua.ls Logo

Siemens CPU 948 - Page 282

Siemens CPU 948
548 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The parameters have the following meaning, range of values and
representation:
Parameter Permitted range of values Value in
Job type 0 to 7 where:
0: cancel job or
no job active
1: every minute
2: every hour
3: every day
4: every week
5: every month
6: every year
7: once
BCD format
Seconds
1/100 seconds
Minutes
Hours
Weekday
Day of month
1)
Month
Year
0 to59
0
0 to 59
0 to 23 or 1 to 12, depending on the
format
0 to 6 for Mon to Sun
1 to 31
1 to 12
0 to 99
BCD format
Format
2)
Format for the hour field with the
following meaning:
Bit 15 = 0: 12 hour clock
Bit 15 = 1: 24 hour clock
(bit 14 = 0)
Bit 14 = 0: "am"
Bit 14 = 1: "pm"
1) After calling OB 151, the specified value is checked logically that the date is correct
taking into account leap years.
2) For the meaning of "am" and "pm": refer to OB 150 in the previous section:
"format" must match the form specified when setting the system time with OB 150.
Data field in the flag area
If you set up the data field in a flag area, you must take into account
the following assignment of the data field words to the flag bytes. "x"
is the parameter number of the 1st data field word’ which must be
written to ACCU-1-L when OB 151 is called.
Bit no. 15 8 7 0
Data field word 1 Flag byte x Flag byte x+1
Data field word 2 Flag byte x+2 Flag byte x+3
Data field word 3 Flag byte x+4 Flag byte x+5
Data field word 4 Flag byte x+6 Flag byte x+7
OB 151: Set/Read Time for Clock-Controlled Interrupt
CPU 948 Programming Guide
6 - 44 C79000-G8576-C848-04

Table of Contents

Related product manuals