User Manual

Table Of Contents
Maintenance Commands
Advanced Digital Motor Controller User Manual 293
Where:
secretkey = 32-bit number (1 to 4294967296)
RESET - Reset Controller
Argument: Key
Description:
This command will cause the controller to reset similarly as if it was powered OFF and
ON. This command must be used with care and must be followed by a 9-digit
safety key to prevent accidental reset.
Syntax:
%RESET safetykey
Where:
safetykey = 321654987
SLD - Script Load
Argument: Key
Description:
After receiving this command, the controller will enter the script loading mode. It will
reply with HLD and stand ready to accept script bytecodes in intel Hex Format. The exact
download and data format is described in the MicroBasic section of the manual. The
timeout for the communication is 3 seconds. After the timeout expires, the controller will
return “-”.
Syntax:
%SLD
STIME - Set Time
Argument: Hours Mins Secs
Description:
This command sets the time inside the controller’s clock that is available in some con-
troller models. The clock circuit will then keep track of time as long as the clock remains
under power. On older controller models, the clock is a single 32-bit counter in which the
number of seconds from a preset day and time is stored (for example 02/01/00 at 3:00).
On newer model, the clock contains 6 registers for seconds, dates, minuted, hours, day-
ofmonth, month, year. The command syntax will be different for each of these models.
Syntax:
%STIME nn : Older models%STIME ee nn : Newer models
Where:
Older models:nn = number of secondsNewer modelsee = 1: Seconds2: Minutes3: Mours
(24h format)4: Dayofmonth5: Month6: Year in fullnn = Value