P
ar
t
1: P
rog
ra
m
ming
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 97 of 909
By default, the primary channel, which shares a connector with the incoming power in some
versions, is set up as a command port with the following characteristics:
Default
Other
Options
Type:
RS-232
RS-485
Parity:
None
Odd or Even
Bit Rate:
9600
2400 to 115200
Stop Bits:
1
0 or 2
Data Bits:
8
7
Mode:
Command
Data
Echo:
Off
On
Also, note the following:
l
If the cable used is not provided by Moog Animatics, make sure the SmartMotor's power
and RS-232 connections are correct.
CAUTION:
Be sure to use shielded cable to connect RS-232 ports, with the
shield ground connected to pin 5 (ground) of the PC end only.
l
Buffers on both sides mean there is no need for any handshaking protocol when
commanding the SmartMotor.
l
Most commands execute in less time than it takes to receive the next one. Therefore, be
careful to allow processes time to complete, particularly for slower processes like
printing to an LCD display or executing a full subroutine.
Daisy Chaining Multiple D-Style SmartMotors over RS-232
This section describes how to daisy chain multiple D-style SmartMotors to a single RS-232
port as shown in the following figure. Other SmartMotors can be connected together in a
daisy-chain or multi-drop fashion. For details, see Connecting the System in the
SmartMotor
Installation & Startup Guide
for your motor.
For low-power motors (size SM23165D and smaller), as many as 100 motors could be
cascaded using the daisy-chaining technique for RS-232. To operate independently, each
motor must be programmed with a unique address. In a multiple-motor system, the
programmer has the choice of putting a host computer in control or having the first motor in
the chain be in control of the rest.
Part 1: Programming: Daisy Chaining Multiple D-Style SmartMotors over RS-232