PMAC Quick Reference Guide
Appendix A – PMAC Error Code Summary
73
APPENDIX A – PMAC ERROR CODE SUMMARY
I6, Error Reporting Mode:
This parameter controls how PMAC reports errors in command lines. When I6 is set to 0 or 2, PMAC
reports an error with a
<BELL>
character only. 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 Link error
Register X:$0798 holds the error value
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 program (e.g.
missing
ENDWHILE
)
(should correct structure of program)
ERR017
Trying to resume after
/
or
\
with motors out of
stopped position
(should use
J=
to return motor[s] to stopped position)
Summary of Contents for PMAC Mini
Page 4: ......
Page 8: ...PMAC Quick Reference Guide iv Table of Contents ...
Page 28: ...PMAC Quick Reference Guide 20 PMAC Executive Program PEWIN ...
Page 80: ...PMAC Quick Reference Guide 72 Troubleshooting ...
Page 82: ...PMAC Quick Reference Guide 74 Appendix A PMAC Error Code Summary ...
Page 88: ...PMAC Quick Reference Guide 80 Appendix B PMAC I Variables Summary ...
Page 106: ...PMAC Quick Reference Guide 98 Appendix F I O Suggested M Variable Definitions ...