ER  Error code and explanation

Command Command description Controller response Default
mode
(N/A - not available)
Service
Mode
(N/A - not available)
xER Last motion error explanation. Resets error bit 0. No error detected
1. Error: Left limit detected
2. Error: Right limit detected
3. Error: Stall detected
4. Error: Motion commands disabled in service mode
5. Error: Encoder is absent or disabled
Yes Yes

SYNTAX    xER, where x - controller number.
PARAMETER none.
DESCRIPTION The command is used to read the last error code (the error is indicated by x? command). The command also resets the error code to zero. After the error code is read, motion commands are enabled.
Note: if error code = 0, no errors detected.
RETURNS ONE OF STRINGS: 0. No error detected || 1. Error: Left limit detected || 2. Error: Right limit detected || 3. Error: Stall detected || 4. Error: Motion commands are disabled in service mode  || 5. Error: Encoder is absent or disabled
REL. COMMANDS none.
EXAMPLES: 5ER ||  1er ||  20 Er