P
ar
t
1: P
rog
ra
m
ming
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 219 of 909
I/O Connections Example (D-Style Motors)
Encoders, ports, switches and buttons can be connected directly to the SmartMotor's I/O pins.
The following figure provides an example of some common I/O connections to the D-style
SmartMotor's 15-pin D-sub connector.
1
2
3
4
5
6
7
8
9
11
12
13
14
15
10
Port 0 (Enc A or Step Input)
Port 1 (Enc B or Dir Input)
Port 2 (Pos or Right Limit)
Port 3 (Neg or Left Limit)
Port 5 (AniLink C/RS-485 B)
Port 6 (G, Index Capture, RS-485 COM 0)
Enc A Out
Enc B Out
RS-232 Tx
RS-232 Rx
+5 VDC Out
Signal GND
Power GND
Servo Power (+)
Gnd
5V
Gnd
B
A
Quadrature Signals
Pos / Right Limit (Dry Switch)
Neg / Left Limit (Dry Switch)
NPN Switch
NPN
Sense
Port 4 (AniLink D/RS-485 A)
Optical
Encoder
Momentary Switch
Common I/O Signals and Connections
NOTE:
Class 5 D-style SmartMotor I/O is Sinking type (NPN); Class 5 D-style AD1,
Class 5 M-style and Class 6 SmartMotor I/O are Sourcing type (PNP).
For additional connector, pinout and cabling information, refer to the
SmartMotor Installation
& Startup Guide
for your motor.
I/O Voltage Spikes
This section provides information on how the SmartMotor handles voltage spikes on the I/O
lines.
While all SmartMotor I/O is confined to operate between 0 and 5 VDC, some circuitry exists to
accommodate spikes above and below the operational range. This is permitted as long as
those spikes are moderate and have a short duration.
Refer to the following figure. Notice from the schematic that an I/O point can be configured as
an output. However, it can still be readable as an analog input because the connections to the
CPU are separate.
Part 1: Programming: I/O Connections Example (D-Style Motors)