GE PACSystems RX7i Cpu Programmer's Reference Manual page 308

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

Chapter 6. Service Request Function
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.
GFK-2950C
February 2018
293

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents