Chapter 6. Service Request Function
GFK-2950C
February 2018
293
SVC_REQ 7 Example
In this example, the time of day is set to 12:00 pm without changing the current year, BCD format
requires six contiguous memory locations for the parameter block.
Rung 1 sets up the new time of day in two-digit year BCD format. It writes the value 4608 (equivalent
to 12 00 BCD) to NOON and the value 0 to MIN_SEC.
Rung 2 requests the current date and time using the parameter block located at %P00300.
Rung 3 moves the new time value into the parameter block starting at R00300. It uses AND and ADD
operations to retrieve the current clock value from %P00303 and replace the hours, minutes and
seconds portion of the value with the values in NOON and MIN_SEC.
Rung 4 uses the parameter block beginning at %R00300 to set the new time.
Summary of Contents for PACSystems RSTi-EP
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451 ...