38 ● #AUTOERR DMC-40x0 Command Reference
#AUTOERR
FUNCTION: Automatic subroutine for notification of EEPROM checksum errors
DESCRIPTION:
#AUTOERR will run code upon power up if data in the EEPROM has been corrupted. The
EEPROM is considered corrupt if the checksum calculated on the bytes in the EEPROM do
not match the checksum written to the EEPROM. The type of checksum error can be queried
with _RS
USAGE:
While Moving Yes
In a Program Yes
Command Line No
Controller Usage
ALL
RELATED COMMANDS:
_RS Checksum error code
EN End program
EXAMPLES:
#AUTO
WT 2000
MG "AUTO"
JP#AUTO
EN
#AUTOERR
WT500
MG "AUTOERR ", _RS
EN
NOTE: Use EN to end the routine