Reference Manual
PMAC 2 Software Reference
PMAC I-Variable Specification 25
I6 Error Reporting Mode
Range
0 .. 3
Units
none
Default
3
Remarks
I6 controls how PMAC reports errors in command lines. When I6 is set to 0 or 2, PMAC
reports any error only with a <BELL> character. When I6 is 0, the <BELL> character is
given for invalid commands issued both from the host and from PMAC programs (using
CMD”{command}”). When I6 is 2, the <BELL> character is given only for invalid
commands from the host; there is no response to invalid commands issued from PMAC
programs. (In no mode is there a response to valid commands issued from PMAC
programs.)
When I6 is set to 1 or 3, an error number message can be reported along with the <BELL>
character. The message comes in the form of ERRnnn<CR>, where nnn represents the
three-digit error number. If I3 is set to 1 or 3, there is a <LF> character in front of the
message.
When I6 is set to 1, the form of the error message is <BELL>{error message}. This
setting is the best for interfacing with host-computer driver routines. When I6 is set to 3,
the form of the error message is <BELL><CR>{error message}. This setting is
appropriate for use with the PMAC Executive Program in terminal mode.
Currently, the following error messages can be reported:
Error Problem Solution
ERR001
Command not allowed during
program execution
(should halt program execution before
issuing command)
ERR002
Password error (should enter the proper password)
ERR003
Data error or unrecognized
command
(should correct syntax of command)
ERR004
Illegal character: bad value (>127
ASCII) or serial parity/framing
error
(should correct the character and or check
for noise on the serial cable)
ERR005
Command not allowed unless
buffer is open
(should open a buffer first)
ERR006
No room in buffer for command (should allow more room for buffer –
DELETE or CLEAR other buffers)
ERR007
Buffer already in use
(should CLOSE currently open buffer first)
ERR008
MACRO ring auxiliary
communications error
(should correct MACRO communications
or connections)
ERR009
Program structural error (e.g.
ENDIF without IF)
(should correct structure of program)
ERR010
Both overtravel limits set for a
motor in the C.S.
(should correct or disable limits)
ERR011
Previous move not completed
(should Abort it or allow it to complete)
ERR012
A motor in the coordinate system is
open-loop
(should close the loop on the motor)
ERR013
A motor in the coordinate system is
not activated
(should set Ix00 to 1 or remove motor
from C.S.)
ERR014
No motors in the coordinate system (should define at least one motor in C.S.)
ERR015
Not pointing to valid program
buffer
(should use B command first, or clear out
scrambled buffers)
ERR016
Running improperly structured
p
ro
g
ram
(
e.
g
. missin
g
ENDWHILE
)
(should correct structure of program)