SAP – Standalone Error Handling
Gets/sets the mode [value] for what line a program will restart after an error is cleared.
Access: Read/Write
Category: Standalone
Applies to: All Commander Controllers
ASCII SAP
Syntax
Read
SAP
Write
SAP=[value]
|
[value] specifies which line to return to in the program after the error is cleared: 0: Continue from the next line where the error occurred 1: Continue from the first line of the program |
Reply
Command is accepted and executed
Read
Returns the setting of the command (0-1)
Write
OK
Command cannot be processed
An error message is returned. See Error Codes
Example
Read
SAP * Returns the setting of return line on error clear; 0, or 1
Write
SAP=1 * After the error is cleared, return to the first line of the program.
Notes
None
See also
SACTRL, SASTAT, SLOAD, V, GS, SPC