Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 100 of 909
ECHO, ECHO1
ECHO input
ECHO_OFF, ECHO_OFF1
De-assert ECHO
The ECHO and ECHO_OFF commands toggle (turn on/off) the echoing of data input. Because
the motors do not echo character input by default, consecutive commands can be presented,
configuring them with unique addresses, one at a time. If the host computer or controller sent
out the following command sequence, each motor would have a unique and consecutive
address.
If a daisy chain of SmartMotors has been powered off and back on, the following commands
can be entered into the SmartMotor Interface to address the motors (0 equals 128, 1 equals
129, etc.). Some delay should be inserted between commands when sending them from a host
computer.
0SADDR1
1ECHO
1SLEEP
0SADDR2
2ECHO
2SLEEP
0SADDR3
3ECHO
0WAKE
Commanded by a user program in the first motor instead of a host, the same daisy chain
could be addressed with the following sequence:
SADDR1'Address the first motor
ECHO'Echo for host data
PRINT(#128,"SADDR2",#13) '0SADDR2
WAIT=10 'Allow time
PRINT(#130,"ECHO",#13) '2ECHO
WAIT=10
PRINT(#130,"SLEEP",#13) '2SLEEP
WAIT=10
PRINT(#128,"SADDR3",#13) '0SADDR3
WAIT=10
PRINT(#131,"ECHO",#13) '3ECHO
WAIT=10
PRINT(#128,"WAKE",#13) '0WAKE
WAIT=10
Part 1: Programming: ECHO, ECHO1