SMAC
LAC-25 Technical Reference Manual
72
5. Appendix A, LAC-25 Error Code Definitions
1 - ARGUMENT ERROR.
This error indicates that a command argument was not given or was specified out of the
permissible numerical range.
2 - INVALID COMMAND.
This error indicates that an invalid or unrecognized command was specified in the
command line.
3 - INVALID MACRO COMMAND.
This error indicates that an invalid or unrecognized command was used in defining a
macro.
4 - MACRO ARGUMENT ERROR.
This error indicates that a command argument was not given or was specified out of the
permissible numerical range in defining a macro.
5 - MACRO NOT DEFINED
This error indicates that execution of an undefined macro was attempted.
6 - MACRO OUT OF RANGE.
The LAC-25 allows for a maximum of 256 macros (numbered 0 to 255). This error indicates
that an attempt was made to access a macro out of this boundary.
7 - OUT OF MACRO SPACE.
The LAC-25 allows for a maximum of 256 macros with up to 256 commands per macro and
approximately 15800 bytes of macro storage space. Each macro command requires 6 bytes of
macro storage memory and each macro requires an overhead of 1 byte. This error indicates that so
many macros/macro commands have been defined that there is no remaining memory to define
more.
8 - CAN'T DEFINE MACRO IN A MACRO.
This error indicates that an attempt was made to define a macro from another macro that is
currently being executed. This is not allowed on the LAC-25 as to prevent loss of program control
due to possible "nesting".
9 - CAN'T DEFINE MACRO WHILE SERVO ENABLED.
This error indicates that attempt was made to define a macro while a servo axis the was
enabled (i.e.: "MN"). This is not allowed on the LAC-25 as to prevent loss of program and/or servo
control due to macro memory space definition contention.
10 - MACRO JUMP ERROR.
This command indicates that an attempt was made to jump ("MJ" command) to a
command within a macro that does not exist.