11.8.3.3 Example of SVCREQ 7
In the example, when called for by previous logic, a parameter block for the time-of-day
clock is built. It requests the current date and time, then sets the clock to 12 noon using
BCD format. The parameter block is located at location %R0300. Array NOON has been
set up elsewhere in the program to contain the values 12, 0, and 0. (Array NOON must
also contain the data at %R0300.) BCD format requires six contiguous memory locations
for the parameter block.
I1
I2
Q
CONST
00FF
%R0303
%R0303
%I0017
%R0303
INT
I1
I2
Q
NOON
%R0303
%I0016
CONST
+00000
IN
Q %R0301
%T0001
%I0017
MIN_SEC
The Service Request Function GFK-1503E User Manual 209
For public disclosure