P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 806 of 909
Z
Total CPU Reset
APPLICATION:
Reset
DESCRIPTION:
Reset the motor to power-up condition
EXECUTION:
Immediate
CONDITIONAL TO:
Serial character transmit completion
LIMITATIONS:
None
READ/REPORT:
N/A
WRITE:
N/A
LANGUAGE ACCESS:
N/A
UNITS:
N/A
RANGE OF VALUES:
N/A
TYPICAL VALUES:
N/A
DEFAULT VALUE:
N/A
FIRMWARE VERSION:
5.x and later
COMBITRONIC:
Z:3
where ":3" is the motor address — use the actual address or a
variable
DETAILED DESCRIPTION:
The Z command will totally reset the SmartMotor™ as if power were removed and then
restored. Consequently, if there is a stored program, it will be run from the beginning. All
modes of operation, variables and status bits will be restored back to their defaults.
Subsequent to a power up or reset, the SmartMotor will:
1. Initialize the motion mode, status bits and variables.
2. Hold the serial port closed for approximately ¼ second.
3. Open and initialize the serial port.
4. Delay for ½ second. At the end of this time, the SmartMotor will examine the
communications buffer. The stored program will be aborted only if the specific
characters "EE" are found.
5. Run the stored program (unless aborted as previously described ).
After a program downloads, using the Z command is a good way to evaluate how your
SmartMotor will operate when powered on. The RUN command will execute the stored
program, but it will not clear the motor to its default condition. Therefore, the operation
following the RUN command will not necessarily mimic what would happen at power up. Using
the Z command resets the motor to its power-on state.
Part 2: Commands: Z