User manual

Computer Gateway User Manual 3-6 5/96
3.2.1
3.2.1.10 Get ACP Status
This routine fetches a set of parameters that enables the requesting program to determine
why the system has turned it on, and what special processing may be required at this time.
3.2.1.11 Program Delay
This routine suspends execution of the calling ACP for a specified number of seconds.
Program execution resumes at the statement following the delay call.
3.2.1.12 Program Termination
This routine terminates the execution of the calling ACP. It must be used as the last
operating statement of each ACP. If there is an associated ACIDP, a termination-status
code is stored in its ABORTCOD parameter. If an ACP is aborted by the operating system,
a system-assigned abort code is stored.
The execution state of an ACIDP can be changed from ABORT to normal by operator
demand through a Universal Station. This causes the execution state to be changed from
ABORT to either OFF or DELAY. A subsequent operator demand will activate the ACP if
its activation type permits.
3.2.1.13 ACP Trap Handler
This routine is required by the host processor operating system to ensure the export of an
Abort Code to the CG in event of abnormal termination of the ACP.
3.2.1.14 Check Bad Value
This routine checks a value of type Real to determine if it is a valid single-precision,
floating-point number. Its primary purpose is to check for the "Bad Value" indicator.
3.2.1.15 Create Bad Value
This routine stores the Bad Value constant (-0) into the specified variable of type Real.
3.2.1.16 Convert External to Internal ID
This routine converts the external point and parameter name for a single point to its internal
form (through communication of a request to the CG). System overhead is reduced
through use of the internal address by repetitive single-value data gets and stores.