EasyManua.ls Logo

GE PACSystems RX7i - SVC_REQ 7: Read or Change Time-of-Day Clock

GE PACSystems RX7i
469 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...
Chapter 6. Service Request Function
286 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C
6.8 SVC_REQ 7: Read or Change the Time-of-Day Clock
Use SVC_REQ 7 to read or change the time of day clock in the CPU. The function is successful unless:
An invalid number is entered for the requested operation.
An invalid data format is specified.
Data is provided in an unexpected format.
6.8.1 Parameter Block Formats
In the first two words of the parameter block, you specify whether to read or set the time and date,
and which format to use.
Address
2-Digit Year Format
4-Digit Year Format
Address
(word 1)
0 = read time and date
0 = read time and date
1 = set time and date
1 = set time and date
Address+1
(word 2)
0 = numeric data format
80h numeric data format
1 = BCD format
81h = BCD format
2 = unpacked BCD format
82h = unpacked BCD format
3 = packed ASCII format (with embedded spaces and colons)
83h = packed ASCII format
4 = POSIX format
n/a
Address+2
(word 3)
to the end
Data
Data
Words 3 to the end of the parameter block contain output data returned by a read function, or new
data being supplied by a change function. In both cases, format of these data words is the same.
When reading the date and time, words (address + 2) to the end of the parameter block are ignored
on input.
The format and length of the parameter block depends on the data format and number of digits
required for the year:
Data Format and N-digit Year
Length of parameter block
(number of words)
BCD, 2-digit year
6
BCD, 4-digit year
6
POSIX format
6
Unpacked BCD 2
9
Unpacked BCD 4
10
Numeric (2 and 4 digit years)
9
Packed ASCII, 2-digit year
12
Packed ASCII, 4-digit year
13

Table of Contents

Other manuals for GE PACSystems RX7i

Related product manuals