Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 442 of 909
Code Description Notes
14 BAD_LABEL Label does not exist for GOSUB or GOTO.
15 NESTED_SWITCH Reserved (no longer used)
16 BAD_FORMULA Formula used in an assignment, IF, or SWITCH is improperly format-
ted. Check syntax, parenthesis, operators, etc.
17 BAD_WRITE_LENGTH VST command amount written too long
18 NOT_USED Reserved (no longer used)
19 BAD_BIT Z{letter} command issued for a bit that cannot be reset; ITR command
may also show this error if incorrect bit number is specified.
20 INVALID_INTERRUPT EITR command for interrupt not defined.
21 NO_PERMISSION Operation or memory range is not user-accessible.
22 OPERATION_FAILED General error
23 MATH_OVERFLOW A math operation (add, multiply, etc.) overflowed, or an assignment to
a variable where the value is outside of the allowable range.
24 CMD_TIMEOUT Combitronic timeout
25 IO_NOT_PRESENT Attempt to access an I/O point that does not exist.
26 NO_CROSS_AXIS_SUPPORT Attempt to use Combitronic on a command that does not support it.
27 BAD_MOTOR_STATE Reserved (no longer used)
28 BAD_CROSS_AXIS_ID Reserved (no longer used)
29 BAD_COMBITRONIC_FCODE The remote Combitronic does not support the command called, pos-
sibly due to older firmware or different motor series.
30 BAD_COMBITRONIC_SFCODE The remote Combitronic does not support the command called, pos-
sibly due to older firmware or different motor series.
31 EE_WRITE_QUEUE_FULL Reserved (no longer used)
32 CAM_FULL Cam table cannot fit a table of the specified size (CTA command).
33 GOSUB_GOTO_BLOCKED GOSUB attempted but motor cannot process it. This could happen
when another command source (such as CANopen) attempts a GOSUB
during a user program upload/download.
EXAMPLE:
x=ERRC 'Assign error value to the variable x
ERRC may be used in SWITCH CASE code:
SWITCH ERRC
CASE 2 PRINT("BAD_ARGUMENT",#13) BREAK
CASE 11 PRINT("DIVIDE_BY_ZERO",#13) BREAK
ENDS
RELATED COMMANDS:
R
ERRW Communication Channel of Most Recent Command Error (see page 443)
Part 2: Commands: ERRC