80
intelligent motion systems, inc. Excellence in Motion TM OPERATING INSTRUCTIONS Patent Pending

intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

intelligent motion systems, inc.

Excellence in MotionTM

OPERATING INSTRUCTIONS

Patent Pending

Page 2: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

The information in this book has been carefully checked and is believedto be accurate; however, no responsibility is assumed for inaccuracies.

Intelligent Motion Systems, Inc., reserves the right to make changeswithout further notice to any products herein to improve reliability,function or design. Intelligent Motion Systems, Inc., does not assumeany liability arising out of the application or use of any product or circuitdescribed herein; neither does it convey any license under its patentrights of others. Intelligent Motion Systems and aretrademarks of Intelligent Motion Systems, Inc.

Intelligent Motion Systems, Inc.’s general policy does not recommend theuse of its products in life support or aircraft applications wherein a failureor malfunction of the product may directly threaten life or injury. PerIntelligent Motion Systems, Inc.’s terms and conditions of sales, the userof Intelligent Motion Systems, Inc., products in life support or aircraftapplications assumes all risks of such use and indemnifies IntelligentMotion Systems, Inc., against all damages.

© Intelligent Motion Systems, Inc.All Rights Reserved

MDrive34 Operating InstructionsRevision 04.29.05

Page 3: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

1

Table of ContentsSection 1: The MDrive34 Integral Motor+Driver ................................... 5

Section Overview ........................................................................................... 5Introduction to the Microstepping MDrive34 .................................................. 5

IMS Motor Interface Software ................................................................. 6Features and Benefits of the Microstepping MDrive34 ................................ 6Introduction to the MDrive34 Speed Control ................................................. 7

IMS Analog Speed Control Interface Software ....................................... 8Features and Benefits of the MDrive34 Speed Control ................................ 8

Section 2: MDrive34 Power And Thermal Requirements ..................... 9Power Supply Current Requirements ................................................... 9Recommended IMS Power Supplies .................................................... 9Thermal Specifications .......................................................................... 9

Section 3: Rotary MDrive34 Specifications ......................................... 10Section Overview .........................................................................................10Mechanical Specifications ...........................................................................10Motor Specifications .................................................................................... 11Electrical Specifications ..............................................................................13

MDrive34 Microstepping ......................................................................13MDrive34 Speed Control ......................................................................13Recommended Wire Sizes ..................................................................13

Section 4: Linear MDrive34 Specifications ......................................... 14Section Overview .........................................................................................14Mechanical Specifications ...........................................................................14Motor Specifications ....................................................................................14Electrical Specifications ..............................................................................16

MDrive34 Microstepping ......................................................................16MDrive34 Speed Control ......................................................................16Recommended Wire Sizes ..................................................................16

Section 5: Interfacing The Microstepping MDrive34 .......................... 17Section Overview .........................................................................................17Layout and Interface Guidelines .................................................................17Interfacing Power and Logic Inputs (Flying Leads) ....................................18

Interfacing the Microstepping Logic Inputs ..........................................18Isolated Logic Input Characteristics ....................................................20Interface Options ..................................................................................21

Interfacing the MDrive34 SPI Interface (Connector P2) ..............................22Minimum Required Connections ...............................................................23Securing the MDrive34 Power, Logic and Encoder Leads .........................24

Section 6: Interfacing An Encoder ...................................................... 25Section Overview .........................................................................................25Factory-Mounted Encoder ...........................................................................25Lead Configuration .....................................................................................25

Single-End Encoder .............................................................................25Differential Encoder .............................................................................25

Page 4: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

2

Section 7: Configuring The Microstepping MDrive34 ........................ 26Section Overview .........................................................................................26The IMS Motor Interface Software ...............................................................26Installing the IMS SPI Interface Software ....................................................26

Startup ..................................................................................................28The IMS Motor Interface GUI Configuration Utility ................................28Changing Parameters .........................................................................29Returning to Factory Defaults ..............................................................29

Configuration Parameters ..........................................................................30Microselect Values ......................................................................................31Configuring the MDrive34 With User Defined SPI ......................................31Timing Notes ...............................................................................................31SPI Commands ..........................................................................................32SPI Read/Write Example .............................................................................33

Section 8: Interfacing The MDrive34 Speed Control .......................... 35Section Overview .........................................................................................35Layout and Interface Guidelines .................................................................35Interfacing Power and Speed Control Inputs (Flying Leads) .....................35

Interfacing the Speed Control Inputs ...................................................36Input Characteristics ............................................................................38Interfacing the Speed Control Outputs ................................................40

Interfacing the SPI Interface (Connector P2) ..............................................41Securing the MDrive34 Power, Logic and Encoder Leads .........................42

Section 9: Configuring The MDrive34 Speed Control ........................ 43Section Overview .........................................................................................43The IMS Analog Speed Control Utility ..........................................................43Installing the IMS SPI Interface ...................................................................43Configuration Parameters Explained .........................................................44Setting the Configuration Parameters ........................................................47

Configuring the MDrive34 for Unidirectional Operation ......................47Illegal Parameters ...............................................................................48Returning to the Default Parameters ...................................................49Configuring the MDrive for Bidirectional Operation .............................50

Configuring the MDrive34 Speed Control With User Defined SPI ..............51Timing Notes ...............................................................................................51SPI Commands ..........................................................................................52SPI Read/Write Example .............................................................................53

APPENDIX A - Recommended Cable Configurations ......................... 55

ADDENDUM - MDrive with Planetary Gearbox ................................... 59

Page 5: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

3

List of Figures

Figure 3.1 MDrive34 Mechanical Specifications .....................................10Figure 3.2 MDrive3424 Speed/Torque Data (100% Current) ................. 11Figure 3.3 MDrive3431 Speed/Torque Data (100% Current) .................12Figure 3.4 MDrive3447 Speed/Torque Data (100% Current) .................12Figure 4.1 Linear Actuator MDrive34 Mechanical Specifications ............14Figure 4.2 MDrive 3429 Force/Speed Data - 24VDC (100% Current) ....15Figure 4.3 MDrive 3429 Force/Speed Data - 48VDC (100% Current) ....15Figure 4.4 MDrive 3429 Force/Speed Data - 75VDC (100% Current) ....15Figure 5.1 Microstepping MDrive34 Block Diagram ...............................18Figure 5.2 Sinking Input Configuration ...................................................19Figure 5.3 Sourcing Input Configuration ................................................19Figure 5.4 Open Collector Interface ........................................................21Figure 5.5 Switch Interface .....................................................................21Figure 5.6 Parameter Setup Cable for MDrive34 ...................................22Figure 5.7 SPI Interface Wiring and Connections ..................................22Figure 5.8 SPI Logic Level Shifiting and Conditioning Schematic .........23Figure 5.9 Minimum Required Connections ..........................................23Figure 5.10 Secured Power, Logic and Encoder Leads on MDrive34 .....24Figure 6.1 Encoder Flying Lead Configuration .......................................25Figure 7.1 The IMS CD Main Index Page ................................................27Figure 7.2 The IMS CD Software Selection Page ...................................27Figure 7.3 The SPI Setup Dialog Box .....................................................27Figure 7.4 Typical GUI for MDrive34 ........................................................28Figure 7.5 Changing the Parameter Settings ........................................29Figure 7.6 Returning to Factory Defaults ................................................29Figure 7.7 SPI Read/Write Examples .....................................................33Figure 7.8 SPI Waveforms & Timing Diagram .......................................34Figure 8.1 MDrive34 Speed Control Block Diagram ..............................35Figure 8.2 Interfacing the Speed Control Using Switches and a

Potentiometer — Sinking Configuration ..........................37Figure 8.3 Interfacing the Speed Control Using a PWM Output and a

PLC — Sourcing Configuration .......................................37Figure 8.4 Controlling Speed and Direction on a Second MDrive .........40Figure 8.5 Parameter Setup Cable for MDrive34 ...................................41Figure 8.6 SPI Interface Wiring and Connections ..................................41Figure 8.7 SPI Logic Level Shifiting and Conditioning Schematic .........42Figure 8.8 Secured Power, Logic and Encoder Leads on MDrive34 .....42Figure 9.1 Speed Control Configuration Utility Screen ...........................44Figure 9.2 Changing Speed Control Parameters ..................................48Figure 9.3 Illegal Parameters/Tool Tips .................................................48Figure 9.4 Returning to Default Parameters ..........................................49Figure 9.5 Initialization Mode ..................................................................50Figure 9.6 Accepting the Analog Initialization Values .............................50Figure 9.7 SPI Waveforms & Timing Diagram .......................................54

Page 6: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

4

List of TablesTable 2.1 Recommended Power Supply Specifications ........................ 9Table 3.1 MDrive3424 Motor Specifications .......................................... 11Table 3.2 MDrive3431 Motor Specifications .......................................... 11Table 3.3 MDrive3447 Motor Specifications ..........................................12Table 4.1 Linear Actuator Motor Specifications .....................................14Table 4.2 Acme Screws for the MDrive34 Linear Actuator ....................15Table 5.1 Microstepping MDrive34 Lead Colors and Assignments .....18Table 5.2 Logic Input Timing .................................................................20Table 5.3 P2 Pin Assignment and Description .....................................22Table 7.1 Fault Indication ......................................................................29Table 7.2 Setup Parameters .................................................................30Table 7.3 Microstep Resolution Settings ..............................................31Table 7.4 Microstepping MDrive34 SPI Command Summary ..............32Table 8.1 Lead Configuration for the MDrive34 Speed Control ............33Table 8.2 P2 SPI Pin Assignment and Description ..............................41Table 9.1 Speed Control Parameter Summary .....................................44Table 9.2 MDrive34 Speed Control MSEL Parameter Settings ............46Table 9.3 RANGE Parameter Settings ..................................................46Table 9.4 Fault Indication ......................................................................51Table 9.5 MDrive34 Speed Control SPI Command Summary ..............52

Page 7: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

5

S e c t i o n 1The MDr i v e34 I n t e g r a l Mo t o r +D r i v e r

S e c t i o n O v e r v i e w

The purpose of this section is to introduce the user to the MDrive34 inte-grated high torque motor and microstepping driver. Covered are:

Introduction to the Microstepping MDrive34Microstepping MDrive34 Features and BenefitsIntroduction to the MDrive34 Speed ControlMDrive34 Speed Control Features and Benefits

I n t r o d u c t i o n t o t h e M i c r o s t e p p i n g M D r i v e 3 4

The MDrive34 high torque Integrated Motor and Driver is ideal for designerswho want the simplicity of a motor with on-board electronics. The low costMDrive34 allows the system designer to decide the best method of control.The MDrive’s integrated electronics eliminates the need to run the motorcabling through the machine, reducing the potential for problems due toelectrical noise.The MDrive34 uses a NEMA 34 1.8° high torque motor combined with amicrostepping drive, and accepts up to 14 resolution settings from 1/2 to 256microsteps per step. Setup parameters include Microstep Resolution, Runand Hold Currents, and Motor Direction vs. Direction Input, and can bechanged on-the-fly or downloaded and stored in nonvolatile memory with theuse of a simple user interface program which is provided, eliminating the needfor external switches or resistors. Parameters are changed via an SPI (SerialPeripheral Interface) port located on connector P2. This port connects to theParallel/SPI port on your PC. Operating voltage for the MDrive34 rangesfrom +24 to +75 VDC.The versatile, compact MDrive34 is available in multiple configurations to fitvarious system needs including a single shaft stand-alone device available withan internal optical encoder, a dual shaft rotary motor with control knob formanual positioning, a planetary gearbox, and a long life Acme screw linearactuator. The rotary MDrive34 is available in three different motor lengths:24, 31 & 47. Interface connections are accomplished using 12” (30.5cm) flyingleads.The MDrive34 is a compact, powerful and inexpensive solution that willreduce system cost, design and assembly time for a large range of steppingmotor applications.

Page 8: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

6

I M S M o t o r I n t e r f a c e S o f t w a r e

The IMS Motor Interface Software is accessed through the IMS SPI Interfacewhich is an easy to install and use software program. The SPI Interface isincluded on the CD that ships with the MDrive34 or is available for downloadat www.imshome.com. Use of this utility and the optional 6 foot MD-CC100-000 Parameter Setup Cable is the suggested method of configuring theMDrive34 Parameters from the Parallel/SPI port of your computer. Purchaseof this cable is recommended with the first order as it includes built-in logiclevel shifting circuitry to make the MDrive34 SPI port compatible with all PCLPT (printer) port voltage levels. The Cable Part # is MD-CC100-000.

IMS Motor Interface features include:Easy installation.

Automatic communication configuration.

Will not set out-of-range values.

Tool-tips display valid range setting for each option.

Ease of use via single screen interface.

F e a t u r e s a n d B e n e f i t s o f t h e M i c r o s t e p p i n gM D r i v e 3 4

Integrated Microstepping Drive/NEMA 34 High Torque Motor+24 to +75 VDC Input VoltageLow CostExtremely CompactOptically Isolated Logic Inputs will Accept +5 to +24VDC Signals,Sourcing or SinkingAutomatic Current ReductionConfigurable:

Motor Run/Hold CurrentMotor Direction vs. Direction InputMicrostep Resolution to 256 Microsteps/Full Step

Available Configurations:Factory-Mounted Internal Optical EncoderRear Knob For Manual PositioningPlanetary GearboxLong Life Linear Actuator

Rotary Motor Available in Three Motor Lengths: 24, 31 & 47Current and Resolution May Be Switched On-The-FlySingle SupplyInterface Uses 12” (30.5 cm) Flying LeadsGraphical User Interface (GUI) for Quick and Easy Parameter Setup

Page 9: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

7

I n t r o d u c t i o n t o t h e M D r i v e 3 4 S p e e d C o n t r o l

The MDrive34 Speed Control offers the system designer low cost, intelligentvelocity control integrated with a NEMA 34 high torque stepping motor and a+24 to +75 volt microstepping drive.The MDrive34 Speed Control features a digital oscillator for accurate velocitycontrol with an output frequency of up to 100 kilohertz. Output frequencywill vary with the voltage level on the speed control input. The speed controlinput can be adjusted by using one of the following methods:

0 to +5V

15 - 25kHz (0 to 100% duty cycle) PWM

4 - 20mA or 0 - 20mA applied to input

Optional 10k Potentiometer

Step Clock and direction output signals are available with the MDrive34Speed Control. These outputs can be used to control a second microsteppingMDrive. This secondary unit will follow the speed of the speed control unit.By using this feature, wiring and controlling machines with large tables orwide conveyors requiring two motors can be simplified.There are two speed control inputs on the MDrive34 Speed Control. SPEED1and SPEED2. This allows the user to have two preset speeds which can beselected digitally. The MDrive34 will then accelerate/decelerate to the new value.There are two basic modes of operation: bidirectional and unidirectional. Inbidirectional mode, both speed and direction are controlled by the analogspeed control input. In unidirectional mode, only velocity is controlled by thespeed control input; direction is controlled by a separate digital input.The MDrive34 Speed Control has 12 setup parameters which are configuredby using the included IMS Analog Speed Control Interface. These enable theuser to configure all of the operational parameters of the MDrive34 which arestored in nonvolatile memory.The versatile, compact MDrive34 Speed Control is available in multipleconfigurations to fit various system needs. These options include a singleshaft stand-alone device, internal optical encoder, a control knob, a planetarygearbox, and a long life Acme screw linear actuator. The MDrive34 SpeedControl rotary motor versions are available in three different motor lengths:24, 31 and 47mm. Interface connections are accomplished using 12” (30.5cm)flying leads.

Page 10: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

8

F e a t u r e s a n d B e n e f i t s o f t h e M D r i v e 3 4 S p e e dC o n t r o l

Integrated Speed Control, Driver and NEMA 34 High TorqueMotor +24 to +75 VDC Input VoltageDigital Oscillator for Accurate Speed ControlOptically Isolated Inputs will Accept +5 to +24 VDC Signals,Sourcing or SinkingStep Clock and Direction OutputsLow CostExtremely CompactRotary Motor Available in Three Motor LengthsElectronically Configurable (Eliminates Potentiometers):

Motor Run/Hold CurrentAcceleration/DecelerationInitial and Max VelocitySpeed Control Input Source (SPD1/2)Microstep Resolution to 256 Microsteps/Full StepMotor Direction vs. Direction Input

Available Configurations:Internal Optical EncoderRear Knob for Manual PositioningPlanetary GearboxLong Life Linear Actuator

Selectable Speed Control Inputs from One of Two 0 to+5VDC Inputs (One Configurable as 4-20mA or 0-20mA) or 15to 25kHz PWM Input, all with Programmable Center PointSingle SupplyInterface Uses 12” (30.5 cm) Flying LeadsGraphical User Interface (GUI) for Quick and Easy ParameterSetup

I M S A n a l o g S p e e d C o n t r o l I n t e r f a c eS o f t w a r e

The IMS Speed Control Interface Software is accessed through the IMS SPIInterface which is easy to install and use graphical user interface (GUI) forconfiguring the MDrive34 from the parallel/SPI port on your computer. It isrequired for configuring your MDrive34 Speed Control and is included on aCD with the product, or it may be downloaded at www.imshome.com.The IMS Speed Control Interface Software features include:

Easy installation.Automatic communication configuration.Will not set out-of-range values.Tool-tips display valid range setting for each option.Ease of use via single screen interface.

Page 11: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

9

R e c o m m e n d e d I M S P o w e r S u p p l i e s

I P 8 0 4 U n r e g u l a t e d L i n e a r S u p p l y

Input Range120 VAC Versions ................................................................... 102-132 VAC240 VAC Versions ................................................................... 204-264 VAC

OutputNo Load Output Voltage* .............................................. 76 VDC @ 0 AmpsContinuous Output Rating* ........................................... 65 VDC @ 2 AmpsPeak Output Rating* ..................................................... 58 VDC @ 4 Amps

I S P 3 0 0 - 7 U n r e g u l a t e d L i n e a r S u p p l y

Input Range120 VAC Versions ................................................................... 102-132 VAC240 VAC Versions ................................................................... 204-264 VAC

OutputNo Load Output Voltage* .............................................. 68 VDC @ 0 AmpsContinuous Output Rating* ........................................... 63 VDC @ 2 AmpsPeak Output Rating* ..................................................... 59 VDC @ 4 Amps

* All measurements were taken at 25°C, 120 VAC, 60 Hz.

Table 2.1: Recommended Power Supply Specifications

S e c t i o n 2MDr i v e34 Powe r & The rma l Requ i r emen t s

T h e r m a l S p e c i f i c a t i o n s

The MDrive34 consists of two core components, a drive and a motor. Thethermal specifications of both the motor and the electronics must be observed.

Heat Sink Temperature - Max ............................................................... 85°CMotor Temperature - Max .................................................................. 100°C

P o w e r S u p p l y C u r r e n t R e q u i r e m e n t s

Power supply current requirements per MDrive34 is 4A (MAX). Actual powersupply current will depend upon voltage and load.

A characteristic of all motors is back EMF which is a source of current that canpush the output of a power supply beyond the maximum operating voltage of thedriver. Damage to the stepper driver may occur. Care should be taken so that theback EMF does not exceed the maximum input voltage rating of the MDrive34.

Motor Power Supply RequirementsRecommended Supply Type Unregulated DC

Ripple Voltage ±10%

Output Voltage +24 to +75 VDC

Output Current* 4A Peak

WARNING! The maximum +75 VDC Input Voltage of the MDrive34includes Motor Back EMF, Power Supply Ripple and High Line.

WARNING! DO NOT connect or disconnect power leads when power is applied!Disconnect the AC power side to power down the DC power supply.For battery operated systems, connect a “transient suppressor” across the powerswitch to prevent arcs and high voltage spikes.

Page 12: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

10

S e c t i o n 3Ro ta r y MDr i v e34 Spec i f i c a t i o n s

S e c t i o n O v e r v i e w

This section contains mechanical, motor and electrical specifications specificto each version of the Rotary MDrive34. Shown are:

Mechanical SpecificationsMotor SpecificationsElectrical Specifications

M e c h a n i c a l S p e c i f i c a t i o n sD i m e n s i o n s i n i n c h e s ( m m )

Figure 3.1: MDrive34 Mechanical Specifications

P1P2

Flying Leads

10 Pin Connector

MDrive34 Top View

Ø 1.90(Ø 48.3)

Ø 0.5512 +0/-0.0005(Ø 14.0 +0/-0.013)

L MAX

3.73(94.7)

0.512 ±0.004(13.0 ±0.1)

0.984 ±0.01(25.0 ±0.25)

0.08 (2.0)

0.39(10.0)

4X Ø 0.22 (Ø 5.5)

2.739 ±0.01 SQ.(69.58 ±0.25 SQ.)

3.40 SQ.(86.4 SQ.)

Ø 2.874 ±0.002(Ø 73.0 ±0.05)

12.0" (30.5 cm)Flying Leads

LMAX2

1.46 ±0.04(37.0 ±1.0)

2.07(52.6)

2.33(59.2)

LMAX2-Control Knob

Single Shaft or Encoder Version (LMAX2 )

Stack in (mm)

3424

3431

3447

3.81 (96.8)

4.60 (116.8)

6.17 (156.7)

Control Knob Version (LMAX2 )

Stack in (mm)

3424

3431

3447

4.97 (126.2)

5.76 (146.3)

7.34 (186.4)

Page 13: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

11

Figure 3.2: MDrive3424 Speed/Torque Data (100% Current)

M o t o r S p e c i f i c a t i o n s

Table 3.1: MDrive3424 Motor Specifications

MDrive3424 Motor Specifications and Speed/Torque Curves

400

350

300

250

200

150

100

50

0

282

247

211

170

141

106

71

35

0 1000 2000 3000 4000 5000 6000 7000

Speed in Full Steps per Second

Torq

ue in

Oz

- In Torque in N - cm

24 VDC45 VDC75 VDC

MDrive3431 Motor Specifications and Speed/Torque Curves

Table 3.2: MDrive3431 Motor Specifications

NOTE! The following specifications apply to all rotaryMDrive34, the standard rotary as well as the encoderand control knob versions.

N

MD3424

Holding Torque oz-in (N-cm) 381 (269)

Detent Torque oz-in (N-cm)

Rotor Inertia oz-in-sec2 (kg-cm2)

Weight (Motor+Driver) oz (g)

10.9 (7.7)

0.01416 (1.0)

67.4 (1909)

MD3431

Holding Torque oz-in (N-cm) 575 (406)

Detent Torque oz-in (N-cm)

Rotor Inertia oz-in-sec2 (kg-cm2)

Weight (Motor+Driver) oz (g)

14.16 (10.0)

0.02266 (1.6)

92.1 (2609)

Page 14: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

12

Figure 3.4: MDrive3447 Speed/Torque Data (100% Current)

MDrive3447 Motor Specifications and Speed/Torque Curves

Figure 3.3: MDrive3431 Speed/Torque Data (100% Current)

400

450

500

550

350

300

250

200

150

100

50

00 1000 2000 3000 4000 5000 6000 7000

Speed in Full Steps per Second

Torq

ue in

Oz

- In

Torque in N

- cm

24 VDC45 VDC75 VDC

282

247

211

423

353

318

170

141

106

71

35

Table 3.3: MDrive3447 Motor Specifications

900

1000

1100

1200

800

700

600

500

400

300

200

100

00 1000 2000 3000 4000 5000 6000 7000

Speed in Full Steps per Second

Torq

ue in

Oz

- In

Torque in N

- cm

45 VDC75 VDC

465

494

423

777

847

706

635

353

282

211

140

71

24 VDC

MD3447

Holding Torque oz-in (N-cm) 1061 (749)

Detent Torque oz-in (N-cm)

Rotor Inertia oz-in-sec2 (kg-cm2)

Weight (Motor+Driver) oz (g)

19.83 (14.0)

0.04815 (3.4)

148.5 (4209)

Page 15: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

13

E l e c t r i c a l S p e c i f i c a t i o n s

M D r i v e 3 4 M i c r o s t e p p i n g

Input Voltage (+V) Range ........................................................... +24 to +75 VDCIsolated Inputs .................................................... Step Clock, Direction & EnableIsolated Input Voltage Range (Sinking or Sourcing) ..................... +5 to +24VDCIsolated Current

+5 Volt (Max) .................................................................................... 8.7 mA+24 Volt (Max) ................................................................................ 14.6 mA

Step Frequency (Max) ................................................................................. 2 MHzStep Frequency Minimum Pulse Width

Sourcing (Low) .................................................................................... 320 nSSinking (High) ..................................................................................... 320 nS

Steps per Revolution .............................................. 400, 800, 1000, 1600, 2000,3200, 5000, 6400, 10000, 12800,

25000, 25600, 50000, 51200Protection ......................................................................................... Over Voltage

M D r i v e 3 4 S p e e d C o n t r o l

Input Voltage ............................................................................... +24 to +75 VDCSpeed Control Input 1 ............................ 0 to +5 VDC, 0 to 20mA or 4 to 20mASpeed Control Input 2 ....................................................................... 0 to +5 VDCA/D Resolution .............................................................................................. 10 bitSpeed Control Potentiometer Resistance .............................................. 10 k OhmInput Voltage (+V) Range ........................................................... +24 to +75 VDCStep Clock, Direction Out (Drain Source Voltage Max) ........................ 100 VDCStep Clock, Direction Out (Continuous Drain Current) .......................... 100 mAStep Clock Output Pulse Width ............................................................... 3.64µsecIsolated Inputs .................................................................... Speed1/Speed2/PWM,

Start/Stop, DirectionIsolated Input Voltage Range (Sinking or Sourcing) .................... +5 to +24 VoltsIsolated Current

+5 Volt (Max) .................................................................................... 8.7 mA+24 Volt (Max) ................................................................................ 14.6 mA

PWM Input Frequency ..................................................................... 15 to 25 kHz

R e c o m m e n d e d W i r e S i z e s

Recommended Wire SizeLogic Wiring .................................................................................... 22 AWGPower and Ground ........................... See Appendix A “Recommended Cable

Configurations”

A characteristic of all motors is back EMF which is a source of current that canpush the output of a power supply beyond the maximum operating voltage of thedriver. Damage to the stepper driver may occur. Care should be taken so that theback EMF does not exceed the maximum input voltage rating of the MDrive34.

WARNING! The maximum +75 VDC Input Voltage of the MDrive34includes Motor Back EMF, Power Supply Ripple and High Line.

Page 16: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

14

S e c t i o n 4L i n ea r MDr i v e34 Spec i f i c a t i o n s

S e c t i o n O v e r v i e w

This section contains mechanical, motor and electrical specifications specificto the Linear MDrive34. Shown are:

Mechanical SpecificationsMotor SpecificationsElectrical Specifications

M e c h a n i c a l S p e c i f i c a t i o n sD i m e n s i o n s i n i n c h e s ( m m )

Figure 4.1: Linear Actuator MDrive34 Mechanical Specifications

M o t o r S p e c i f i c a t i o n s

4X Ø 0.26(Ø 6.6)

2.730 ±0.008 SQ.(69.34 ±0.2 SQ.)

3.40 SQ.(86.4 SQ.)

Ø 2.875 +0/-0.002(Ø 73.03 +0/-0.05)

7/16-14UNC-2A THREAD

0.625(15.88)

4.46(113.3)

3.73(94.7)

0.06(1.5)

0.39(10.0)

12.0" (30.5 cm)Flying Leads

6.00(152.4)

2.33(59.2)

2.07(52.6)

0.71(18.0)

0.1(2.5)

Ø 0.30(Ø 7.6)

Table 4.1: Linear Actuator MDrive34 Motor Specifications

WARNING: The maximum axial load limit for the MDrive34Motor is 500 lbs (226.8 kg). Do not exceed this rating!

MD3429 Linear ActuatorMaximum Thrust lbs (N) 500 (2224)Maximum Screw Deflection ± 1°Backlash in (mm) 0.005 (0.127)Weight (without screw) oz (g) 89.0 (2523)

WARNING: The Acme screw MUST NOT deflect more than± 1 degree perpendicular to the motor face. Additionalsupport for radial loads may be required!

Page 17: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

15

Figure 4.2: MDrive3429 Force/Speed Data - 24VDC (100% Current)

300

250

200

150

100

50

0

1334

1112

890

667

445

222

0 1000 2000 3000 4000 5000 6000

Speed in Full Steps per Second

For

ce in

lbs F

orce in N

w Dw Cw Bw A

ScreScreScreScre

500

450

400

350

2224

2002

1779

1557

Load Limit 500lbs / 2224N

7000

w EScre

300

250

200

150

100

50

0

1334

1112

890

667

445

222

0 1000 2000 3000 4000 5000 6000

Speed in Full Steps per Second

For

ce in

lbs F

orce in N

w Dw Cw Bw A

ScreScreScreScre

500

450

400

350

2224

2002

1779

1557

Load Limit 500lbs / 2224N

7000

w EScre

Figure 4.3: MDrive3429 Force/Speed Data - 48VDC (100% Current)

300

250

200

150

100

50

0

1334

1112

890

667

445

222

0 1000 2000 3000 4000 5000 6000

Speed in Full Steps per Second

For

ce in

lbs F

orce in N

w Dw Cw Bw A

ScreScreScreScre

500

450

400

350

2224

2002

1779

1557

Load Limit 500lbs / 2224N

7000

w EScre

Figure 4.4: MDrive3429 Force/Speed Data - 75VDC (100% Current)

Table 4.2: Acme Screws for the MDrive34 Linear Actuator

Acme Screws for MDrive34Screw Travel/Full Step inches (mm)

A 0.005 (0.127)

B 0.0025 (0.0635)

C 0.000125 (0.03175)

D 0.000625 (0.015875)

E 0.0005 (0.0127)

Page 18: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

16

E l e c t r i c a l S p e c i f i c a t i o n s

M D r i v e 3 4 M i c r o s t e p p i n g

Input Voltage (+V) Range ..................................................... +24 to +75 VDCIsolated Inputs ............................................... Step Clock, Direction & EnableIsolated Input Voltage Range (Sinking or Sourcing) ................ +5 to +24VDCIsolated Current

+5 Volt (Max) ............................................................................... 8.7 mA+24 Volt (Max) ........................................................................... 14.6 mA

Step Frequency (Max) .......................................................................... 2 MHzSteps per Revolution .......................................... 400, 800, 1000, 1600, 2000,

3200, 5000, 6400, 10000, 12800,25000, 25600, 50000, 51200

Protection .....................................................................................Over Voltage

M D r i v e 3 4 S p e e d C o n t r o l

Input Voltage ......................................................................... +24 to +75 VDCSpeed Control Input 1 ...................... 0 to +5 VDC, 0 to 20mA or 4 to 20mASpeed Control Input 2 .................................................................0 to +5 VDCA/D Resolution ........................................................................................ 10 bitSpeed Control Potentiometer Resistance ......................................... 10 k OhmInput Voltage (+V) Range ..................................................... +24 to +75 VDCStep Clock, Direction Out (Drain Source Voltage Max) .................. 100 VDCStep Clock, Direction Out (Continuous Drain Current) ..................... 100 mAStep Clock Output Pulse Width ........................................................ 3.64µsecIsolated Inputs ............................................................. Speed1/Speed2/PWM,

Start/Stop, DirectionIsolated Input Voltage Range (Sinking or Sourcing) ............... +5 to +24 VoltsIsolated Current

+5 Volt (Max) ............................................................................... 8.7 mA+24 Volt (Max) ........................................................................... 14.6 mA

PWM Input Frequency .............................................................. 15 to 25 kHz

R e c o m m e n d e d W i r e S i z e s

Recommended Wire SizeLogic Wiring ............................................................................... 22 AWGPower and Ground .................... See Appendix A “Recommended Cable

Configurations”

A characteristic of all motors is back EMF which is a source of current thatcan push the output of a power supply beyond the maximum operatingvoltage of the driver. Damage to the stepper driver may occur. Care should betaken so that the back EMF does not exceed the maximum input voltage ratingof the MDrive34.

WARNING! The maximum +75 VDC Input Voltage of the MDrive34includes Motor Back EMF, Power Supply Ripple and High Line.

Page 19: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

17

S e c t i o n 5I n t e r f a c i n g The M i c r o s t epp i n g

MDr i v e34

S e c t i o n O v e r v i e w

This section will acquaint the user with connecting and using the microstep-ping MDrive34 products. If your MDrive34 is equipped with a factorymounted encoder, also refer to Section 6: Interfacing an Encoder. Covered inthis section are:

Layout and Interface GuidelinesInterfacing Power and Logic Inputs (Flying Leads)Interfacing the SPI Interface (Connector P2)

L a y o u t a n d I n t e r f a c e G u i d e l i n e s

Logic level cables must not run parallel to power cables. Power cables willintroduce noise into the logic level cables and make your system unreliable.Logic level cables must be shielded to reduce the chance of EMI induced noise.The shield needs to be grounded at the signal source to AC ground. The otherend of the shield must not be tied to anything, but allowed to float. Thisallows the shield to act as a drain.Power supply leads to the MDrive need to be twisted. If more than oneMDrive is to be connected to the same power supply, run separate power andground leads from the supply to each driver.

WARNING! DO NOT connect or disconnect power leads whenpower is applied! Disconnect the AC power side to power downthe DC power supply. For battery operated systems, connect a“transient suppressor” across the power switch to prevent arcsand high voltage spikes.

Page 20: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

18

I n t e r f a c i n g P o w e r a n d L o g i c I n p u t s ( F l y i n g L e a d s )

EnhancedTorque

SteppingMotorMicrostep

Driver

ØA

ØB

Opto Spply

Step Clock

Direction

Enable

Power

MDrive IntegratedMotor and Microstep

Driver

Figure 5.1: Microstepping MDrive34 Block Diagram

Table 5.1: Microstepping MDrive34 Lead Colors and Assignments

I n t e r f a c i n g t h e M i c r o s t e p p i n g L o g i c I n p u t s

O p t i c a l l y I s o l a t e d L o g i c I n p u t s

MD34 Flying Leads

Flying Lead Wire Size Function and Description

White AWG 22+5 VDC Optocoupler Reference: This input is used to supply power to theisolated logic inputs. A higher voltage may be used but care must be takento limit the current through the Optocoupler.

--- --- Not Connected

Orange AWG 22Step Clock Input: A positive going edge on this input advances the motorone increment. The size of the increment is dependant on the MicrostepResolution Setting.

Blue AWG 22CW/CCW Direction Input: This input changes the direction of the motorlogic. A HIGH state (open) = Clockwise.

Brown AWG 22

Enable/Disable Input: This input enables or disables the output section ofthe driver. A logic HIGH (open) enables the outputs. However, this inputdoes not inhibit the Step Clock. The outputs will update by the number ofclock pulses (if any) applied while the driver was disabled.

Black AWG 18* Power Ground (Return)

Red AWG 18* +V: +24 to +75 VDC

* For supplies 10 feet or less.

NOTE: Wire and insulation type are subject to the user’s application and environment.

The Microstepping MDrive34 has 3 optically isolated logic inputs which areaccessed using the flying leads. These inputs are isolated to minimize oreliminate electrical noise coupled onto the drive control signals. Each inputmay be configured as either sinking inputs or sourcing inputs based uponusing the Optocoupler Reference (White) lead. This allows yourMicrostepping MDrive34 to be interfaced to a variety of controllers. Theseinputs are:

1] Step Clock (Orange)2] Direction (Blue)3] Enable (Brown)

Of these inputs, only step clock and direction are required to operate theMicrostepping MDrive34.

Page 21: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

19

INPUT

+5 to +24VDC

Optocoupler Reference (White)

Figure 5.2: Sinking Input Configuration

S i n k i n g C o n f i g u r a t i o n

When using the inputs as sinking inputs, a reference voltage between +5 and+24VDC is connected to the Optocoupler Reference (White) lead. To maintainisolation, this power source should not be connected to the motor powersource. The isolated inputs are then interfaced to a sinking output (whichutilizes the same supply as the optocoupler reference input) such as a switch,open collector, or PLC output.

S o u r c i n g C o n f i g u r a t i o n

When using the inputs as sourcing inputs, the Optocoupler Reference (White)lead will be connected to ground. To maintain isolation, this power sourceshould not be connected to the motor power source. The isolated inputs arethen sourced to between +5 to +24VDC (which utilizes the same supply asthe optocoupler reference input) and interfaced using a switch, open collector,or PLC output.

INPUT

+5 to +24VDC

Optocoupler Reference (White)

Figure 5.3: Sourcing Input Configuration

Page 22: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

20

I s o l a t e d L o g i c I n p u t C h a r a c t e r i s t i c s

S t e p C l o c k ( O r a n g e )

The step clock input is where the motion clock from your control circuitrywill be connected. The motor will advance one microstep in the plus or minusdirection (based upon the state of the direction input) on the step clock edgethat causes the opto to be active. The size of this increment or decrement willdepend on the microstep resolution setting.

D i r e c t i o n ( B l u e )

The direction input controls the CW/CCW direction of the motor. May beconfigured as sinking or sourcing based upon the state of the Optocoupler Ref-erence.The CW/CCW rotation, based upon the state of the input may be set using theIMS Motor Interface software included with the MDrive34. See Section 6 ofthis document.

E n a b l e ( B r o w n )

This input can be used to enable or disable the driver output circuitry. Leavingthe enable switch open for sinking or sourcing configuration (see the figures onthe previous page) the driver outputs will be enabled and step clock pulses willcause the motor to advance. When this input switch is closed in both sinking andsourcing configurations, the driver output circuitry will be disabled. Please notethat the internal sine/cosine position generator will continue to increment ordecrement as long as step clock pulses are being received by the MDrive34.This input is asynchronous to any other input and may be changed at any time.

I n p u t T i m i n g

The direction input and the microstep resolution inputs are internallysynchronized to the positive going edge of the step clock input. When a stepclock transitions from low to high on the positive going edge, the state of thedirection input and microstep resolution settings are latched. Any changesmade to the direction and/or microstep resolution will occur on the rising edgeof the step clock pulse following this change.Run and Hold Current changes are updated immediately.Table below lists the timing specifications.

Table 5.2: Logic Input Timing

MDrive34 Logic Input TimingSpecification

Minimum Pulse Width

Maximum Frequency

Input Time

Step ClockHigh Low

Sourcing – 320 ns320 ns –Sinking

Step Clock 2.0 MHz

Page 23: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

21

I n t e r f a c e O p t i o n s

O p e n C o l l e c t o r I n t e r f a c e

Figure 5.4: Open Collector Interface

CW/CCW Direction Input (Blue)Controller

Output

+5 to +24VDC

Optocoupler Reference (White)

CW/CCW Direction Input (Blue)

ControllerOutput

+5 to +24VDC

Optocoupler Reference (White)

Sinking (NPN) Configuration

Sourcing (PNP) Configuration

S w i t c h I n t e r f a c e

Figure 5.5: Switch Interface

Enable Input (Brown)

Optocoupler Reference (White)

+5 to +24 VDCSupply SPST Switch

Enable Input (Brown)

Optocoupler Reference (White)

+5 to +24 VDCSupply

SPST Switch+

+

Sinking ConfigurationSourcing Configuration

GND

GND

Page 24: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

22

Table 5.3: P2 Pin Assignment and Description

Figure 5.7: SPI Interface Wiring and Connections

Interfacing the MDrive34 SPI Interface(Connector P2)

The MDrive’s SPI communications connector is a 10 pin IDC header. Therecommended means of connecting to the header is with the 6 foot (1.8m)Parameter Setup Cable MD-CC100-000.The setup cable eliminates the need for theuser to wire communications to the MDrive.In addition to offering ease of connection,this cable features a built-in logic levelshifter for PC’s that run on 3.3V outputports. This cable plugs in easily to connect astandard DB-25 PC Parallel/SPI port to theMDrive’s 10 pin pin-header (P2).

To MDriveTo Customer PCParallel/SPI Port

MD-CC100-000Parameter Setup Cable

DB-25

MDrive Connector P2 (SPI Interface)Pin # Pin Name

No Connect1 N/C

N/CN/C

N/C

23

4

567

8910

AWG 22AWG 22

AWG 22

AWG 22AWG 22

AWG 22

No ConnectNo Connect

DescriptionWire Size

GND+5 VDCMOSICLK

MISO

Chip SelectCommunications Ground+5 VDC Output (See Warning Below)Master Out/Slave InClockNo ConnectMaster In/Slave Out

CS

GND - PIN 5MOSI - PIN 7

PIN 4 - CSPIN 6 +5VDC OUT*

PIN 10 - MISOPIN 8 - CLOCK

10 Pin HeaderP2

DB25 StandardPC Parallel / SPI Port

Ground

PIN 1

2 3 4

15

19

Logic Level Shifting andConditioningInterface

*Use ONLY to power IMS MD-CC100-000

The SPI communication wiring mayrequire a logic level shifting interface.

Figure 5.6: Parameter Setup Cable for MDrive 34

WARNING! The +5VDC output on connector P2 is used for the setupcable ONLY! This output is not designed to power external devices!

WARNING! The Parallel/SPI Port on your PC must be set to one of the following: output only bi-directional EPP (Extended Parallel Port)

Try the SPI connection using the default parallel port setting first. If necessary, theParallel/SPI port may be configured in the bios of your PC.

Page 25: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

23

M i n i m u m R e q u i r e d C o n n e c t i o n s

The connections shown are the minimum required to operate the Microstep-ping MDrive34.

Figure 5.9: Minimum Required Connections

Figure 5.8: SPI Logic Level Shifting and Conditioning Schematic

U1:A

U1:B

U1:D

U1:C

HCT125

HCT125

HCT125

HCT1252

1

14

45

7

1312 11

10

8 9

6

32 R1

100

+5V

R2

49.9 P2: 8CLK

+5V

P2: 4

P2: 7

P2: 10

P2: 6

P2: 5

CS

MOSI

MISO

+5 VDC

GND5

6

10

7

4

8

3

4

19

DB25: 2

DB25: 3

DB25: 4

DB25: 19

DB25: 15

15

C3330pFR9

100K

R10 100K R4

49.9

R6

49.9

C4 330pF

R3

100

R5

100 C5330pFR11

100K+5V

R12 100K

+5V

R8 4.9KR7

49.9+5V

C1 C2.1µF 1µF25V

+

NOTE: If making your own parameter setup cable, be advised the 3.3V output parallelports on some laptop PC’s may not be sufficient to communicate with the devicewithout use of a logic level shifting and conditioning Interface.

Blue

Orange White

RedBlack

GND +VDC

CONTROLLER

CLOCK

DIRECTION

POWER SUPPLY

GND

P1

Brown N/CP2*

Blue

Orange

White

RedBlack

GND +VDC

CONTROLLER

CLOCK

DIRECTION

POWER SUPPLY

GND

+5 to +24V OPTOCOUPLERSUPPLY

P1

Brown N/CP2*

* MD-CC100-000 cable or equivalent required only when setting up or changing parameters.

SINKING CONFIGURATION

SOURCING CONFIGURATION

+5 to +24V OPTOCOUPLERSUPPLY

GND

+VDC

Page 26: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

24

Figure 5.10: Secured Power, Logic and Encoder Leads on MDrive34

S e c u r i n g M D r i v e 3 4 P o w e r & E n c o d e r L e a d s

Some applications may require that the MDrive34 move with the axis motion.If this is a requirement of yourapplication, the motor leads and theOptional Encoder leads (if equipped)must be properly anchored. This willprevent flexing and tugging which cancause damage at critical connectionpoints in the MDrive34 electronicsand the Encoder. DO NOT bundle theLogic Leads or Optional Encoder Leadswith the MDrive34 Power Leads.

Adhesive Anchors & Tywraps

Optional Encoder Leads

Power Leads

Logic Leads

Page 27: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

25

NOTE: Wire and insulation type are subject to the user’s application and environment.

Yellow/Black - Ground

Yellow/Violet - Index +

Yellow/Blue - Channel A+

Yellow/Red - +5 VDC Input

Yellow/Brown - Channel B+

Yellow/Gray - Index –

Yellow/Green - Channel A–

Yellow/Orange - Channel B–

P2

Pin 1

S e c t i o n 6I n t e r f a c i n g An En code r

S e c t i o n O v e r v i e w

This section will cover interfacing the Internal Optical Encoder version ofboth the Microstepping MDrive34 and the MDrive34 Speed Control.Included are the lead configurations for both the single-end and differentialmodels.Note that this encoder is internally mounted. The footprint of the encoderversion is the same as the standard MDrive34. Interfacing is accomplished viaflying leads.

F a c t o r y - M o u n t e d E n c o d e r

The MDrive34 is available with a factory-mounted internal optical encoder.Available line counts: 100 200 250 400 500 1000Encoders are available in both single-end and differential configurations. Allencoders, except for the 1000 line, have an index mark.Use of the encoder feedback feature of this product requires a controller suchas an IMS LYNX or PLC.The encoder has a 100kHz maximum output frequency.L e a d C o n f i g u r a t i o n

The encoder has the following lead configurations:

Figure 6.1: Encoder Flying Lead Configuration

Yellow/Black - GroundYellow/Violet - Index Yellow/Blue - Channel AYellow/Red - +5 VDC InputYellow/Brown - Channel B

P2

Pin 1

S ing le -End Encoder D i f f e r e n t i a l E n c o d e r

Page 28: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

26

S e c t i o n 7Con f i g u r i n g The M i c r os t epp i ng MDr i v e34

S e c t i o n O v e r v i e w

This section is specific to all MDrive34 Microstepping versions. For theMDrive34 Speed Control version refer to Section 9 for configuration details.This section will acquaint the user with the following:

The IMS Motor InterfaceInstalling the IMS SPI InterfaceThe IMS Motor Interface Configuration UtilityConfiguration Parameters

T h e I M S M o t o r I n t e r f a c e S o f t w a r e

The IMS Motor Interface Software is accessed through the IMS SPI Interfacewhich is an easy to install and use software program. Use of this utility andthe optional MD-CC100-000 Parameter Setup Cable (See Section 5) is thesuggested method of configuring the MDrive34. The SPI Interface is includedon the CD that ships with the MDrive or is available for download atwww.imshome.com. This utility features the following:

Easy installation.Ease of use via single screen interface.Automatic communication configuration.Will not allow out-of-range values to be set.Tool-tips display valid range settings for each option.

I n s t a l l i n g t h e I M S S P I I n t e r f a c e S o f t w a r e

NOTE: If you have previously installed the IMS SPI Interface Software, IMSrecommends that you install the latest version which is backward compatableand ensures compatability with the latest MDrives.S y s t e m R e q u i r e m e n t s

A Pentium Class or Higher IBM Compatible PC.Windows 9x (95/98) or Windows NT (Windows NT4.0 SP6,Windows 2000 SP1, Windows XP).10 MB hard drive space.A free parallel communications port.

I n s t a l l a t i o n

Insert the IMS Product CD into your CD-ROM Drive. The CD shouldautostart to the IMS Main Index Page. If the CD does not autostart, click“Start > Run” and type “x:\IMS.exe” in the “Open” box and click OK.NOTE: “x” is your CD ROM drive letter.

Page 29: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

27

1) After the CD starts, the IMS Main Index Page will be displayed.

2) Place your mouse pointer over the MDrive Icon. The Icon wil behighlighted and the text message “MDrive Integrated Motor &Electronics” will be displayed. This verifies you have selectedthe correct software.

3) Click the MDrive Motor Icon. This opens the MDrive SoftwareSelection Page.

4) Place the mouse pointer over the menu and select SPI Interface(Win9x) or SPI Interface (WinNT). The displayed text will againverify your selection. Click your selection and the “Setup” dialogbox will be displayed.

5) Click SETUP in the Setup dialog box and follow the on-screeninstructions.Once the SPI Interface is installed and started theCommunications Settings will be set automatically.

Figure 7.1: The IMS CD Main Index Page

Figure 7.2: The IMS CD Software Selection Page

Figure 7.3: The SPI Setup Dialog Box

Page 30: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

28

S t a r t u p

Select “Start>Programs>IMS SPI Interface>IMS SPI Interface”. The IMSMotor Interface will automatically scan your LPT ports for the connectedMDrive and configure the communications. The connection status and portare displayed at the bottom of the configuration screen. The Version Numberof the Firmware in your MDrive will also be displayed at the top of theconfiguration utility as shown below.T h e I M S M o t o r I n t e r f a c e G U I C o n f i g u r a t i o nU t i l i t y

The IMS Motor Interface GUI (Graphical User Interface) simplifies use witha single screen interface for configuring the MDrive34. All of the parametersand commands are controlled from this single screen.The designation for the MDrive34 Microstepping is MDMF.

MDMF - MDrive Microstepping with Flying Leads.

Figure 7.4: Typical GUI for MDrive34

Your GUI may appear slightly different than the example shown above due todifferent versions of MDrive Firmware. The Firmware is not upgradable butthe IMS Motor Interface will configure itself to your current Firmwareversion. The Version Number will be displayed as indicated above.The Factory Default settings are shown in the Figure above. These settingsmay be changed to suit the user’s application.

Connection Status & Port

Version Number

Page 31: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

29

Figure 7.6: Returning to Factory Defaults

R e t u r n i n g t o F a c t o r y D e f a u l t s

To return to the Factory Defaults, click the “Default” button and the “Set”button. The Factory Defaults will be restored.

Table 7.1: Fault Indication

If a fault occurs it will be displayed in the Fault window. If more than onefault occurs each one will be displayed with the + (plus sign) between them.The Table below lists the faults and the characters displayed for each.

Click "Defaults"... ...then click "Set"

Parameters will return to Default

Parameter changes turn blue...

...then click "Set"

Figure 7.5: Changing the Parameter Settings

C h a n g i n g P a r a m e t e r s

When a Parameter is changed, the font color will change to blue and the “Set”button will be activated. The change will not take place until Set is clicked.

Fault TableBinary Code* Display Fault Condition

0 None No Fault

4 CS SPI Write to Settings Check Sum

8 CS SPI Write to Defaults Check Sum

16 DFLT Defaults Check Sum

32 DATA EEPROM Check Sum Fault

*NOTE: All fault codes are "OR"ed together.

Page 32: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

30

D e s c r i p t i o n o f t h e F a u l t s

N O N E

No Faults exist in the MDriveC S - S P I W r i t e C h e c k S u m

Check Sum indicates an error or problem with the last transmission of data tothe MDrive. A RECALL will clear the fault and the screen will display thestored parameters.D F L T & D A T A

These faults indicate a Driver failure. Contact the factory.

C o n f i g u r a t i o n P a r a m e t e r s

There are 4 configuration parameters for the MDrive34. Parameter settings areautomatically saved to memory when the “SET” button is clicked on the IMSMotor Interface screen. These parameters may all be changed on-the-fly.The Table below summarizes the parameters and their function, range, unitsand default setting.

MDrive Setup Parameters

NAME FUNCTION RANGE UNITS DEFAULT

MHC Hold Current 0 to 100 percent 5

MRC Run Current 1 to 100 percent 25

MSEL Microstep Resolution 2, 4, 5, 8, 10, 16, 25, 32, 50, 64,125, 128, 250, 256

µsteps perstep 256

DIR Motor DirectionOverride 0/1 CW–

M o t o r H o l d i n g C u r r e n t ( M H C )

The MHC parameter sets the motor holding current as a percentage of the fulloutput current of the driver. If the hold current is set to 0, the output circuitryof the driver section will disable when the hold current setting becomes active.The hold current setting becomes active 200ms following the last step clockpulse.M o t o r R u n C u r r e n t ( M R C )

The Motor Run Current (MRC) parameter sets the motor run current to apercentage of the full output current of the MDrive34 driver section.M i c r o s t e p R e s o l u t i o n S e l e c t ( M S E L )

The MSEL parameter specifies the microstep resolution of the MDrive34. Seethe Table on the following page for valid MSEL parameter settings.M o t o r D i r e c t i o n O v e r r i d e ( D I R )

The DIR parameter changes the motor direction relative to the direction inputsignal, adapting the direction of the MDrive to operate as your systemexpects.

Table 7.2: Setup Parameters

Page 33: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

31

Table 7.3: Microstep Resolution Settings

T i m i n g N o t e s

1) MSb (most significant bit) and MSB (most significant byte) first2) 8 bit bytes3) 25kHz SCK4) Data In (MOSI) on rising clock5) Data Out (MISO) on falling clock

C o n f i g u r i n g t h e M D r i v e 3 4 W i t h U s e r D e f i n d e d S P I

The MDrive34 may be configured and operated through the end user’s SPIinterface without using the previously discussed IMS Motor Interface GUI(see the beginning of this section) or the optional Parameter Setup Cable (seeSection 5).If the optional cable is not being used you will need to make one using thediagram (SPI Interface Wiring and Connections) shown in Section 5 of thisdocument for MDrive34.

M i c r o s e l e c t V a l u e s

MDrive Microstep Resolution Settings (MSELL)

MSEL = Steps/Rev.

Binary Microstep Resolution Settings

2

4

400

800

8

16

32

64

128

256

1,600

3,200

6,400

12,800

25,600

51,200

Decimal Microstep Resolution Settings5

10

25

50

125

250

1,000

2,000

5,000

10,000

25,000

50,000

Page 34: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

32

Table 7.4: Microstepping MDrive34 SPI Command Summary

S P I C o m m a n d s

SPI Commands and Parameters

CMD/PRM HEX RANGE NOTES

SPICommands

Data READ

DATA WRITE

READ ALL

WRITE ALL

"M"

Version_MSB

Version_LSB

USR_ID1

USR_ID2

USR_ID2

MRC

MHC

MSEL

DIR

DFLT_MRC

DFLT_MHC

DFLT_MSEL

DFLT_DIR

FAULT

MRC

MHC

MSEL

DIR

CKSUM

0x40

0x80

0x4D

0x10

0x00

0x49

0x4D

0x53

0x19

0x05

0x00

0x00

0x19

0x05

0x00

0x00

0x00

0x19

0x05

0x00

0x00

0x62

––––

––––

––––

<1-8><0-9>

<0-99>

––––

––––

––––

1-100%

0-100%

0*, 2-250

0/1

1-100%

0-100%

0*, 2-250

0/1

––––

1-100%

0-100%

0*, 2-250

0/1

––––

Reads the hex value of all parameters

Writes the hex value to the following parameters

M Character precedes every READ

Firmware Version Subversion, eg 1.0

Firmware Version Appends toVersion mSB, eg .00

Upper Case Letter < I >

Upper Case Letter < M >

Upper Case Letter < S >

Motor Run Current

Motor Hold Current

Microstep Resolution

1 Complements Hardware Direction

Default Motor Run Current

Default Motor Hold Current

Default Microstep Resolution

Default Direction Override

(See Fault Table)

Motor Run Current

Motor Hold Current

Microstep Resolution

1 Complements Hardware Direction

2s Complement of all WRITESincluding Command

NOTE: The READ and WRITE commands in shaded areas apply only to Firmware Versions <2.0.00, All of the Commands apply to Firmware Versions ≥ 2.0.00, <3.00.00.*Zero (0) = 256 Microsteps Resolution.

WARNING! The Parallel/SPI Port on your PC must be set to one of the following: output only bi-directional EPP (Extended Parallel Port)

Try the SPI connection using the default parallel port setting first. If necessary, theParallel/SPI port may be configured in the bios of your PC.

Page 35: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

33

S P I R e a d / W r i t e E x a m p l e

READ ALL

MOSI:

MISO:

WRITE ALL

MOSI:

MISO:

FAULTDFLT_DIR_OVRIDDFLT_MSELDFLT_MHCDFLT_MRCDIR_OVRIDMSELMHCMRCUSR_ID3USR_ID2USR_ID1VERSIONDEVICE

MRCMHCMSELDIR_OVRIDCKSUM

0005250256525SMI1.0.00M

255256062

80 19 05 00 00 62

XX FF FF FF FF FF

FF FF40 FFFFFFFFFFFFFFFFFFFFFFFFFF

104D 00 49 4D 53 19 05 00 00 19 05 00 00 00XX

Figure 7.7: SPI Read/Write Examples

C h e c k S u m C a l c u l a t i o n f o r S P I

The values in the example above are 8-bit binary hexadecimal conversions forthe following SPI parameters: MRC=25%, MHC=5%, MSEL=256.

The Check Sum is calculated as follows:

80+19+05+00+00Sum = 9E 1001 11101’s complement = 51 0110 00012’s complement = 62 0110 0010Send the check sum value of 62

Note: 80 is always the first command on a write.Note: Once a write is performed, a read needs to be performed to see if thereis a fault. The fault is the last byte of the read.

Page 36: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

34

Figu

re 7

.8: S

PI W

avef

orm

s & T

imin

g D

iagr

am

Page 37: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

35

I n t e r f a c i n g P o w e r a n d S p e e d C o n t r o l I n p u t s( F l y i n g L e a d s )

InternalClock PulseGenerator

EnhancedTorque

SteppingMotor

MicrostepDriver

Step Clock

ØA

ØB

MDrive + IntegratedSpeed Control

Direction

Enable

Power

SPD1/SPD2

Speed In 2

PWM

Speed In 1

Start/Stop

StepClk Out

Dir Out

Figure 8.1: MDrive34 Speed Control Block Diagram

S e c t i o n 8I n t e r f a c i n g T h e MDr i v e34 Speed

Con t ro l

S e c t i o n O v e r v i e w

This section covers the hardware interface of the MDrive34 versions withintegrated speed control electronics. Refer to Section 9 for parameter setupand configuration. Covered in the section are:

Layout and Interface GuidelinesInterfacing Power and Speed Control Inputs (Flying Leads)Interfacing the SPI Interface (Connector P2)

L a y o u t a n d I n t e r f a c e G u i d e l i n e s

Logic level cables must not run parallel to power cables. Power cables willintroduce noise into the logic level cables and make your system unreliable.Logic level cables must be shielded to reduce the chance of EMI induced noise.The shield needs to be grounded at the signal source to AC ground. The otherend of the shield must not be tied to anything, but allowed to float. Thisallows the shield to act as a drain.Power supply leads to the driver need to be twisted. If more than oneMDrive34 is to be connected to the same power supply, run separate powerand ground leads from the supply to each MDrive34.

Page 38: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

36

Table 8.1: Lead Configuration for the MDrive34 Speed Control

I n t e r f a c i n g t h e S p e e d C o n t r o l I n p u t s

The MDrive34 Speed Control has 3 logic inputs. These inputs control theON/OFF state of the internal clock pulse generator, direction of motorrotation, select the active speed control input, or provide a PWM input. Eachinput is optically isolated and may be configured as sinking or sourcing andcan be controlled using a +5 to +24 VDC level.

1] Start/Stop (Violet)2] Direction (Blue)3] Speed 1/2 or PWM (White/Brown)

There are also four connections used for connecting an analog speed controldevice such as a 10k potentiometer or a joystick. These are:

1] Speed Control Input 1 (Green)2] Speed Control Input 2 (White/Green)3] +5V Output (Yellow)4] Logic Ground (Gray)

The Speed Control inputs may also be interfaced to a 4 - 20mA or 0-20mAoutput analog device (Speed 1 ONLY). If a 4 - 20mA or 0-20mA device is usedthe corresponding input mode MUST be selected on the Analog SpeedControl Interface software.The two figures on the following page illustrate interface options for theSpeed Control version of the MDrive34.

NOTE: Wire and insulation type are subject to the user’s application and environment.

MDrive34 Speed Control Flying LeadsFlying Lead Wire Size Function and Description

Violet AWG 22Stop/Start Input: This input will start the internal pulse generator when pulledLOW by means of a switch or sinking input.

Blue AWG 22CW/CCW Direction Input: This input is used to change the direction of themotor. In unidirectional mode a logic HIGH (open) equals CW.

White/Brown AWG 22

Speed Control 1 & 2/PWM Input Select: This input selects the Speed 1Input or the Speed 2 Input. With a closed circuit Velocity will be controlledby the Speed 1 Input. With an open circuit, Velocity will be controlled by theSpeed 2 Input. It is also used for the PWM Input.

White AWG 22+5 VDC Optocoupler Reference: This input is used to supply power tothe isolated logic inputs.

White/Orange AWG 22Step Clock Output: This output follows the internal Motion Clock. It is usedas the Clock Input on other drives.

White/Blue AWG 22Direction Output: This output follows the Direction Input. It is used as theDirection Input on other drives.

Yellow AWG 22+5 VDC Output: This voltage may be used for a 10K pot or joystick tomanually control velocity. This output is not to be used to power externaldevices.

Gray AWG 22 Logic Ground: Speed Control ground.

Green AWG 22 Speed 1 Control Input: 0 to +5 VDC / 4-20mA or 0-20mA Input / 10 K Pot

White/Green AWG 22 Speed 2 Control Input: 0 to +5 VDC / 10K Pot

Black AWG 18 Power Ground: (Return)

Red AWG 18 +V: +24 to +75 VDC

Isolated Inputs

Non-Isolated Inputs

Page 39: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

37

Figure 8.2: Interfacing the Speed Control Using Switches and aPotentiometer — Sinking Configuration

P1

VIOLET

BLUE

WHITE / BROWN

WHITE

WHITE / ORANGE

WHITE / BLUE

YELLOW

GRAY

GREEN

WHITE / GREEN

BLACK

RED

Optocoupler Reference

+5 to 24 VDC

Ground / +VDC

Stop/Start SwitchOpen = Stop

Closed = Start

Direction Switch

Software Configuration

15 to 25 kHz PWM Signal

+ -

P2*

Figure 8.3: Interfacing the Speed Control Using a PWM Output and aPLC — Sourcing Configuration

P1

VIOLET

BLUE

WHITE / BROWN

WHITE

WHITE / ORANGE

WHITE / BLUE

YELLOW

GRAY

GREEN

WHITE / GREEN

BLACK

RED

Optocoupler Reference

+5 to 24 VDC

Ground / +VDC

Speed Input Select SwitchClosed = Speed 1

Open = Speed 2

Stop/Start SwitchOpen = Stop

Closed = Start

Direction Switch

10k Ohm Pot †

Software Configuration

+-

P2*

* MD-CC100-000 cable or equivalent required only when setting up or changing parameters.

† Example Part: 10k ohm, 1/2 W potentiometer such as the Bourns 53AAA-B28-B15is available from Digi-Key No. 53AAA-B28-B15-ND or Newark Electronics No. 90F6563.

* MD-CC100-000 cable or equivalent required only when setting up or changing parameters.

Page 40: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

38

I n p u t C h a r a c t e r i s t i c s

S t a r t / S t o p I n p u t ( V i o l e t )

When the start/stop switch is open sinking or sourcing, the internal stepclock generator will be off. When the switch is closed sourcing or sinking, theinternal step clock oscillator will be enabled.

D i r e c t i o n ( B l u e )

The direction input controls the CW/CCW direction of the motor. May beconfigured as sinking or sourcing based upon the state of the OptocouplerReference.The CW/CCW rotation, based upon the state of the input, may be set usingthe IMS Speed Control Interface software included with the MDrive34. SeeSection 9 of this document.

S p e e d 1 / 2 S e l e c t — P W M I n p u t ( W h i t e / B r o w n )

This input is used to select which speed control input (Speed 1 or 2) is usedto control the velocity of the axis if the device is in voltage mode. If PWMMode is selected in the Speed Control Interface software, then this input willbe a 15 to 25 kHz PWM Input and is the input by which the internal stepclock frequency, hence the velocity of the motor, is controlled.When the circuit is closed, the velocity of the axis will be controlled bySpeed Control Input #1. When the circuit is open, velocity will be controlledSpeed Control Input #2.Configure as either sinking or sourcing, based upon the state of the Optocou-pler Reference.

S p e e d C o n t r o l I n p u t 1 ( G r e e n )

The Speed Control Input is the input by which the internal step clockfrequency, hence the velocity of the motor, is controlled.This 0 - +5 volt analog input may be interfaced using an optional 10kpotentiometer (see the previous figure “Interfacing the Speed Control usingSwitches and a Potentiometer”), a joystick wiper, or a 4 - 20 mA / 0 - 20mAanalog output. If a constant velocity is desired, the speed control input canbe connected directly to the +5VDC output and the desired velocity set usingthe VM parameter. When the input is 1 count greater than DB (value of thepotentiometer deadband parameter) the step clock frequency will begin at thevalue specified by the initial velocity (VI) parameter. When at FS (the valuespecified by the full scale parameter), it will be at the value specified by themaximum velocity (VM) parameter. See Setting the Initial/Maximum Velocityin Section 8, for more details.

NOTE: The physical direction of the motor with respect tothe direction input will depend upon the CW/CCW Setting inthe Speed Control Interface Software.

Page 41: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

39

S p e e d C o n t r o l I n p u t 2 ( W h i t e / G r e e n )

The Speed Control Input is the input by which the internal step clockfrequency, hence the velocity of the motor, is controlled.This 0 - 5 volt analog input may be interfaced using a 10kΩ potentiometer(see the previous figure “Interfacing the Speed Control using Switches and aPotentiometer”), or a joystick wiper. If a constant velocity is desired, thespeed control input can be connected directly to the +5VDC output and thedesired velocity set using the VM parameter. When the input is 1 countgreater than DB (value of the potentiometer deadband parameter) the stepclock frequency will begin at the value specified by the initial velocity (VI)parameter. When at FS (the value specified by the full scale parameter), it willbe at the value specified by the maximum velocity (VM) parameter. SeeSetting the Initial/Maximum Velocity in Section 9, for more details.

E x a m p l e P o t e n t i o m e t e r

Bourns 53AAA-B28-B15. This is available from Digikey (P/N53AAA-B28-B15-ND) and Newark Electronics (Stock No.90F6563).

WARNING: The +5 VDC Output (P1:4) is intended tocontrol velocity ONLY! It is not to be used to powerexternal devices!

Page 42: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

40

I n t e r f a c i n g t h e S p e e d C o n t r o l O u t p u t s

The MDrive34 Speed Control features two logic outputs, Step Clock andCW/CCW Direction. This enables the user to cascade additional drives whichwill follow the master MDrive.S t e p C l o c k ( W h i t e / O r a n g e )

The Step Clock output is buffered through an open-drain N-channel FET.This output will follow the step clock signal used internally to step the speedcontrol motor.Note: The Step Clock Output pulse width is 3.64 Microseconds.D i r e c t i o n O u t p u t ( W h i t e / B l u e )

The Direction output is buffered through an open-drain N-channel FET. Thisoutput will follow the direction signal used internally to control the directionof the speed control motor.

Figure 8.4: Controlling Speed and Direction on a Second MDrive

Direction Input (Blue)

Direction Output (White/Blue)

Step Clock Input(Orange)

Step Clock Output(White/Orange)

Speed ControlInput 1 or 2

MDrive Speed Control

Microstepping MDrive

(Green) or (White/Green)

Page 43: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

41

Interfacing the MDrive34 SPI Interface(Connector P2)

The MDrive’s SPI communications connector is a 10 pin IDC header. Therecommended means of connecting to the header is with the 6 foot (1.8m)Parameter Setup Cable MD-CC100-000.The setup cable eliminates the need for theuser to wire communications to the MDrive.In addition to offering ease of connection,this cable features a built-in logic level shifterfor PC’s that run on 3.3V output ports. Thiscable plugs in easily to connect a standardDB-25 PC Parallel/SPI port to the MDrive’s10 pin pin-header (P2).

To MDriveTo Customer PCParallel/SPI Port

MD-CC100-000Parameter Setup Cable

DB-25

Table 8.2: P2 Pin Assignment and Description

Figure 8.6: SPI Interface Wiring and Connections

MDrive Connector P2 (SPI Interface)Pin # Pin Name

No Connect1 N/C

N/CN/C

N/C

23

4

567

8910

AWG 22AWG 22

AWG 22

AWG 22AWG 22

AWG 22

No ConnectNo Connect

DescriptionWire Size

GND+5 VDCMOSICLK

MISO

Chip SelectCommunications Ground+5 VDC Output (See Warning Below)Master Out/Slave InClockNo ConnectMaster In/Slave Out

CS

WARNING! The +5VDC output on connector P2 is used for the setupcable ONLY! This output is not designed to power external devices!

WARNING! The Parallel/SPI Port on your PC must be set to one of the following: output only bi-directional EPP (Extended Parallel Port)

Try the SPI connection using the default parallel port setting first. If necessary, theParallel/SPI port may be configured in the bios of your PC.

GND - PIN 5MOSI - PIN 7

PIN 4 - CSPIN 6 +5VDC OUT*

PIN 10 - MISOPIN 8 - CLOCK

10 Pin HeaderP2

DB25 StandardPC Parallel / SPI Port

Ground

PIN 1

2 3 4

15

19

Logic Level Shifting andConditioningInterface

*Use ONLY to power IMS MD-CC100-000

The SPI communication wiring mayrequire a logic level shifting interface.

Figure 8.5: Parameter Setup Cable for MDrive 34

Page 44: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

42

Figure 8.8: Secured Power, Logic and Encoder Leads on MDrive34

Figure 8.7: SPI Logic Level Shifting and Conditioning Schematic

U1:A

U1:B

U1:D

U1:C

HCT125

HCT125

HCT125

HCT1252

1

14

45

7

1312 11

10

8 9

6

32 R1

100

+5V

R2

49.9 P2: 8CLK

+5V

P2: 4

P2: 7

P2: 10

P2: 6

P2: 5

CS

MOSI

MISO

+5 VDC

GND5

6

10

7

4

8

3

4

19

DB25: 2

DB25: 3

DB25: 4

DB25: 19

DB25: 15

15

C3330pFR9

100K

R10 100K R4

49.9

R6

49.9

C4 330pF

R3

100

R5

100 C5330pFR11

100K+5V

R12 100K

+5V

R8 4.9KR7

49.9+5V

C1 C2.1µF 1µF25V

+

NOTE: If making your own parameter setup cable, be advised the 3.3V output parallelports on some laptop PC’s may not be sufficient to communicate with the devicewithout use of a logic level shifting and conditioning Interface.

S e c u r i n g M D r i v e 3 4 P o w e r & E n c o d e r L e a d s

Some applications may require that the MDrive34 move with the axis motion.If this is a requirement of yourapplication, the motor leads and theOptional Encoder leads (if equipped)must be properly anchored. This willprevent flexing and tugging which cancause damage at critical connectionpoints in the MDrive34 electronicsand the Encoder. DO NOT bundle theLogic Leads or Optional Encoder Leadswith the MDrive34 Power Leads.

Adhesive Anchors & Tywraps

Optional Encoder Leads

Power Leads

Logic Leads

Page 45: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

43

S e c t i o n 9Con f i g u r i n g T h e MDr i v e34 Speed Con t r o l

S e c t i o n O v e r v i e w

This section applies only to the MDrive34 Speed Control. The softwareutility is the only method for configuring your MDrive34 Speed Control. Thissection will acquaint the user with the following:

Easy installation.Ease of use via single screen interface.Automatic communication configuration.Will not allow out-of-range values to be set.Tool-tips display valid range settings for each option.

T h e I M S A n a l o g S p e e d C o n t r o l U t i l i t y

The IMS Analog Speed Control is accessed through the IMS SPI Interfacewhich is an easy to install and use software program. Use of this utility andthe optional 6 foot MD-CC100-000 Parameter Setup Cable is the suggestedmethod of configuring the MDrive34 Speed Control. The SPI Interface isincluded on the CD that ships with the MDrive or is available for download atwww.imshome.com.

I n s t a l l i n g t h e I M S S P I I n t e r f a c e S o f t w a r e

NOTE: IMS recommends that you install the latest version of the SPIInterface which is backward compatable and ensures compatability with thelatest MDrives.S y s t e m R e q u i r e m e n t s

A Pentium Class or Higher IBM Compatible PC.Windows 9x (95/98) or Windows NT (Windows NT4.0 SP6,Windows 2000 SP1, Windows XP).10 MB hard drive space.A free parallel communications port.

I n s t a l l a t i o n

Please refer to Section 7 “Installing the IMS SPI Interface Software” andfollow steps 1 through 5.

Page 46: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

44

Figure 9.1: Speed Control Configuration Utility Screen

Connection Status & Port

S t a r t - u p

Select “Start>Programs>Analog Speed Control>Analog Speed Control”. Theconfiguration utility will automatically scan your LPT ports for the connectedMDrive and configure communications. The connection status and port aredisplayed at the bottom of the configuration screen as shown below.

C o n f i g u r a t i o n P a r a m e t e r s E x p l a i n e d

There are 12 configuration parameters for the MDrive. Parameter settings areautomatically saved to memory when the “SET” button is clicked on theconfiguration utility screen.The table below summarizes the parameters and their function, range, unitsand default setting.

Table 9.1: Speed Control Parameter Summary

MDrive34 Speed Control ParametersParameter Function Range Units Default

ACCL Acceleration/Deceleration 2000-65000 Steps/sec2 2000

C Joystick Center Position 0 to 1022(0.005 to 4.995)

Counts(Volts)

0(0.000)

DB Potentiometer/Joystick Deadband

0 to 255(0.000 to 1.245)

Counts(Volts)

1(0.005)

DCLT Deceleration Type DecelerateDo Not Decelerate – Decel

FS Full Scale of thePotentiometer/Joystick

1 to 1023(0.005 to 4.995)

Counts(Volts)

1023(4.995)

MHC Motor Holding Current 0 - 100 Percent 5MRC Motor Run Current 1 - 100 Percent 25

IMODESource

Analog InputCW/CCW

Speed A1/A2 Volts

0

RANGE VI / VM Range Setting 1 - 8 – 3MSEL Resolution Select Parameter See Table per step divisor 256

VI Initial Velocity 1-100000 Steps/sec. 400VM Maximum Velocity 1-100000 Steps/sec. 20000

– – –

Speed A1/A2/PWMVolts/0-20mA/4-20mA

0/1

Page 47: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

45

USAGE NOTE: If the motor oscillates between twovelocities, increase the potentiometer deadband to a highervalue. This will add coarseness to the pot and eliminate theoscillation.

A c c e l e r a t i o n ( A C C L )

The ACCL parameter sets the acceleration and deceleration in steps persecond2.J o y s t i c k C e n t e r P o s i t i o n ( C )

The parameter sets the center position of the joystick. It can be set by twomethods. Using method one the user will manually enter a value between 0(default) and 1022 into the parameter box. This count will represent thevoltage that the MDrive34 Speed Control will interpret as the zero-referenceposition. Any voltage seen on the speed control input will accelerate from 0 tothe maximum set velocity. The second method is to select Analog>Initializefrom the menu bar of the configuration utility. Move the joystick or rotate thepot to the end of travel in both directions, move or rotate the input device tothe desired center and click the “Accept” button. See the setup procedurelocated in “Setting the Configuration Parameters”, the next subsection of thisdocument.P o t e n t i o m e t e r D e a d b a n d ( D B )

The DB parameter sets the deadband of the potentiometer. The range for thisparameter is a relative term as the actual deadband value is based upon thesettings of the VI and VM parameters. The deadband is the amount ofdeflection seen on the potentiometer until the velocity is changed. With DB=1it is possible that the motor will oscillate between two velocities. This can beeliminated by setting the deadband to a higher value.Note that when the voltage seen at the speed control input is ≤ 0.005V, thestep clock output of the oscillator will be 0. When the potentiometer orjoystick deflects to the level specified by the DB parameter the axis will startto accelerate, beginning at the velocity specified by the VI or initial velocityparameter.

D e c e l e r a t i o n T y p e ( D C L T )

This parameter sets the motor deceleration to an ON/OFF state. If Decel isselected on the speed control utility, the motor will decelerate to stop at therate specified by the ACCL parameter. If No Decel is selected, the motor willhard stop.I n p u t M o d e ( I M O D E )

There are three conditions for the Input Mode Parameter. This parameterspecifies the input mode for the speed control. These conditions are:1] SourceThis selects the input source for the speed control, either A1/A2 which willsense the speed control inputs, or PWM which will select the PWM input.

Page 48: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

46

2] Analog InputThis condition specifies whether the speed control inputs will be in voltagemode (0-5V) or current mode (4-20mA/0-20mA).3] CW/CCW DirectionThis selects the direction of motor rotation.F u l l S c a l e ( F S )

The full scale parameter sets the deflection of thepotentiometer or joystick. While the min/max range ofthe speed control input is 0 to 1023 counts (0.005 to4.995 volts) (0 counts = no motion, 1023 counts = maxvelocity, or VM) the user has the option of setting thefull scale to a different value. For instance, settingFS=500 counts (2.411 volts) will cause the MDrive34’soscillator to output the appropriate step clock frequencyset for VM when the voltage on the speed control inputis 2.411V.M o t o r H o l d i n g C u r r e n t ( M H C )

The MHC parameter sets the motor holding current as apercentage of the full output current of the driver. If thehold current is set to 0, the output circuitry of the driverwill disable when the hold current setting becomes active.The hold current setting becomes active 200ms followingthe last step clock pulse.M o t o r R u n C u r r e n t ( M R C )

The Motor Run Current (MRC) parameter sets the motor run current to apercentage of the full output current of the driver.M i c r o s t e p R e s o l u t i o n S e l e c t ( M S E L )

The MSEL parameter specifies the microstep resolution of the MDrive34Speed Control. See table at right for valid MSEL parameter settings.V e l o c i t y R a n g e ( R A N G E )

The RANGE parameter specifies the maximum ranges available for the initialvelocity (VI) and the maximum velocity (VM). When the range is set to avalue, the VI and VM parameters will automatically default to the valuespecified by the range setting. The value of VI and VM can then be set withinthe range specified by RANGE. The table above illustrates the range settings.

RANGE PARAMETER SETTINGS

RANGE 1 2 3 4 5 6 7 8

VI 200 100 50 20 10 5 2 1VM 100000 50000 25000 10000 5000 1000 5002500

MSEL Settings

MSEL Steps/Rev.

Binary MSEL Settings

2

4

8

16

32

64

128

256

Decimal MSEL Settings

5

10

25

50

125

250

1,000

2,000

5,000

10,000

25,000

50,000

400

800

1,600

3,200

6,400

12,800

25,600

51,200

Table 9.2: MSELParameter Settings

Table 9.3: RANGE Parameter Settings

Page 49: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

47

I n i t i a l V e l o c i t y ( V I )

The VI parameter establishes the initial velocity of the controlled axis in stepsper second. The setting of this parameter represents the slowest speed themotor will turn. This is the velocity of the axis when the voltage on the speedcontrol input = 0V. The valid settings for VI is dependent on the RANGEsetting.M a x i m u m V e l o c i t y ( V M )

The VM parameter establishes the maximum velocity of the controlled axis insteps per second. The setting of this parameter represents the highest speedthat the motor will turn. This is the velocity of the axis when the voltage onthe speed control input = 5V. The valid setting for VM is dependent on theRANGE setting.

S e t t i n g t h e C o n f i g u r a t i o n P a r a m e t e r s

In order to follow the procedures set forth in this subsection, the following isnecessary:

The 6 foot Parameter Setup Cable (MD-CC100-000) or equivalentmust be connected between your PC Parallel (Printer) Port andthe 10 pin IDC connector (P2) on the MDrive34.The Analog Speed Control configuration utility must be installedand operating on your PC. Correct connection of the device andoperation of the software will be indicated by a “Connected -LPTx” message at the bottom of the configuration screen.The Stop/Start input must be in a HIGH (Disconnected, Stopped)state.

C o n f i g u r i n g t h e M D r i v e 3 4 S p e e d C o n t r o l f o rU n i d i r e c t i o n a l O p e r a t i o n

When operating as a unidirectional device, the internal clock pulse generator willoutput step clock pulses to the MDrive34 Speed Control’s driver section. Theinitial and maximum frequency of these pulses, and the rate which they acceleratebetween these values, is established by the following four parameters:

1] Initial Velocity (VI)2] Maximum Velocity (VM)3] Acceleration (ACCL)4] Velocity Range (RANGE)

Set the Run Current (MRC) and Holding Current (MHC) to the desired value.The changed parameters will appear in blue. After making changes they will nottake affect until the “Set” button is clicked.When using the MDrive34 Speed Control in velocity mode the settings for FS,C and DB will likely be left in their default state. These three parameters maybe displayed as either counts or volts. The displayed value is changed byclicking the “Cts” to the right of the parameter’s text box. It may be changedfrom volts back to counts by clicking “volts”.

Page 50: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

48

I l l e g a l P a r a m e t e r s

When certain parameters such as the Range is changed, other parametersadopt different min/max values. If a parameter is illegal it will be displayed inred. To determine a legal parameter value place your mouse pointer over theparameter in question. A “Tool Tips” dialog will appear and show the legalrange of that parameter. NOTE: The Tool Tips are always functional.

An illegal value is displayed in red

Maximum Velocity: 20 to 10000 steps/sec

Tool Tips give legal values

Figure 9.2: Changing Speed Control Parameters

Parameter changes turn blue...

...then click "Set"

Figure 9.3: Illegal Parameters/Tool Tips

Page 51: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

49

R e t u r n i n g t o t h e D e f a u l t P a r a m e t e r s

To return to the Default Parameters, click the “Defaults” button and then clickthe “Set” button.

Parameters will reset to Defaults

Click "Defaults"... ...and then click "Set"

Figure 9.4: Returning to Default Parameters

If the motor oscillates between frequencies, increase the potentiometerdeadband (DB). If desired, these may be changed. For example: setting the FSparameter to 511 would configure the MDrive34 Speed Control such that itwill be at maximum velocity when the potentiometer is at 1/2 of its fulldeflection.Test the settings by pulling the Stop/Start input to ground by means of aswitch or sinking output. Turn the potentiometer between its stops, themotor should accelerate and decelerate between the VI and VM settings. Notethat there will be no motion at the zero reference point of the potentiometer.The motion will not start until the speed control input sees the voltageequivalent of 0 + DB.Fine-tune the ACCL, VI, VM and RANGE settings to the requirements ofyour application. Clicking the “Set” button saves the parameter settings tononvolatile memory.

Page 52: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

50

C o n f i g u r i n g t h e M D r i v e 3 4 S p e e d C o n t r o l f o rB i d i r e c t i o n a l O p e r a t i o n

When setting the MDrive34 Speed Control for bidirectional operation, it isnecessary that the joystick or pot be calibrated. First, a center position mustbe established, as well as the full scale range of the input device in twodirections. The following steps outline the calibration procedures.

1] With the input device in the center position, click“Analog>Initialize” on the menu bar.

2] Move the input device to its full scale position, first in the maxdirection, then in the min direction. Re-center the input device.

3] Click the “Accept” button.4] Set the other parameters to the desired value.5] Click the “Set” button to save the parameter settings to non-

volatile memory.

Figure 9.5: Initialization Mode

Figure 9.6: Accepting the Analog Initialization Values

Click Analog and Initialize

Counts (Volts or mA) will change...

then click "Accept"

Clicking on the label will change

the units from Cts (Counts) to

V (Volts) to mA (milliAmps)

Page 53: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

51

Configuring the MDrive34 Speed Control With User Defined SPI

The MDrive34 Speed Control may be setup and operated without theincluded IMS Motor Interface GUI.If the optional cable is not being used you will need to make one using thediagram (SPI Interface Wiring and Connections) shown in Section 5 of thisdocument.

T i m i n g N o t e s

1) MSb (most significant bit) and MSB (most significant byte) first2) 8 bit bytes3) 25kHz SCK4) Data In (MOSI) on rising clock5) Data Out (MISO) on falling clock

If a fault occurs it will be displayed in the Fault window. If more than onefault occurs each one will be displayed with the + (plus sign) between them.The Table below lists the faults and the characters displayed for each.

D e s c r i p t i o n o f t h e F a u l t s

N O N E

No Faults exist in the MDriveC S - S P I W r i t e C h e c k S u m

Check Sum indicates an error or problem with the last transmission of data tothe MDrive. A RECALL will clear the fault and the screen will display thestored parameters.D F L T & D A T A

These faults indicate a Driver failure. Contact the factory.

Table 9.4 Fault Indication

Fault TableBinary Code* Display Fault Condition

0 None No Fault

4 CS SPI Write to Settings Check Sum

8 CS SPI Write to Defaults Check Sum

16 DFLT Defaults Check Sum

32 DATA EEPROM Check Sum Fault

*NOTE: All fault codes are "OR"ed together.

WARNING! The Parallel/SPI Port on your PC must be set to one of the following: output only bi-directional EPP (Extended Parallel Port)

Try the SPI connection using the default parallel port setting first. If necessary, theParallel/SPI port may be configured in the bios of your PC.

Page 54: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

52

Table 9.5: MDrive34 Speed Control SPI Command Summary

S P I C o m m a n d s

READ ALL 0X40

CMD/PRM HEX/DEFAULT RANGE NOTES

SPICommands

Reads the hex value of all parameters

WRITE ALL 0X80 Writes the hex value to the following parameters

Data READ "u" 0x75 "u" character precedes every read

Version MSB 0x80

Version LSB 0x12

Defines the SPI Version and revision numberi.e.; Version 1.2 Rev. 02

ACCL, MSB 0x07

ACCL, LSB 0xD0

Acceleration in Steps/Sec2

The default is 2000

DB 0x01

2000-65000

0-255 Potentiometer/Joystick Deadband

RANGE 0x03 1-8 VI/VM Range Setting

VI, MSB 0x00

VI, MB 0x01

VI, LSB

1-100000Establishes the maximum velocity (highest speed)

of the controlled axis in steps per second0x90

VM, MSB 0x00

VM, MB 0x4E

VM, LSB 0x20

1-100000Establishes the maximum velocity (highest speed)

of the controlled axis in steps per secondThe default is 20000

FULLSCALE, MSB 0x03

FULLSCALE, LSB 0xFF1-1023 Sets the deflection of the potentiometer or joystick

CENTER, MSB 0x00

CENTER, LSB 0x001-1022

Sets the center position of the joystickThe default is 0.0000

MRC 0x19 1-100% Motor Run Current - Default = 25

MHC 0x05 0-100% Motor Hold Current - Default = 5

DCLT 0x00 0-1 Deceleration (On/Off) Default = 0

MSEL 0x00 0, 2-250 Microstep Resolution Default = 256

TYPE 0x01 1-Microstep Fixed

INP_MODE ... A1A2_PWM MA_4_20 MA_0_20 DIR1 DIR2

0x000x010x040x080x400x80

A1&A2, A1Volt, CW0 = A1-A2, 1 = PWM0 = A1Volts, 1 = A1Current0 = 0-20mA, 1 = 4-20mA0 = CW, 1 = CCW0 = CW, 1 = CCW

Defined by the following parameters ...A1 and A2 or PWM

Volts or Current0 to 20 mA or 4 to 20 mA

Direction Override

Data WRITE ACCL, MSB 0x07

ACCL, LSB 0xD02000-65000

Acceleration in Steps/Sec2

The default is 2000

DB 0x01 0-255 Potentiometer/Joystick Deadband

RANGE 0x03 1-8 VI/VM Range Setting

VI, MSB 0x00

VI, MB 0x01

VI, LSB 0x90

1-100000Establishes the initial velocity (slowest speed) of the

controlled axis in steps per second The default is 800

VM, MSB 0x00

VM, MB 0x4E

VM, LSB 0x20

1-100000Establishes the maximum velocity (highest speed) of

the controlled axis in steps per secondThe default is 20000

FULLSCALE, MSB 0x03

FULLSCALE, LSB 0xFF1-1023 Sets the deflection of the potentiometer or joystick

CENTER, MSB 0x00

CENTER, LSB 0x001-1022

Sets the center position of the joystickThe default is 0.0000

MRC 0x19

MHC 0x05

1-100 %

0-100 %

Motor Run Current - Default = 25

Motor Hold Current - Default = 5

DCLT 0x00 0-1 Deceleration (On/Off) Default = 0

MSEL 0x00 0, 2-250 Microstep Resolution Default = 256

CKSUM 0x5D 2s Complement of all WRITES including Command

SPI COMMANDS AND PARAMETERS

INP_MODE ... A1A2_PWM MA_4_20 MA_0_20 DIR1 DIR2

0x000x010x040x080x400x80

A1&A2, A1Volt, CW0 = A1-A2, 1 = PWM0 = A1Volts, 1 = A1Current0 = 0-20mA, 1 = 4-20mA0 = CW, 1 = CCW0 = CW, 1 = CCW

Defined by the following parameters ...A1 and A2 or PWM

Volts or Current0 to 20 mA or 4 to 20 mA

Direction Override

FAULT 0x00 (See Fault Table)

Page 55: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

53

S P I R e a d / W r i t e E x a m p l e

C h e c k S u m C a l c u l a t i o n f o r S P I

The values in the example above are 8-bit binary hexadecimal conversions forthe WRITE ALL commands.

The Check Sum is calculated as follows:

80+07+D0+01+03+00+01+90+00+4E+20+03+FF+00+00+19+05+00+00+00Sum = 37ATruncate the Sum = 7A 0111 10101’s complement = 85 1000 0101 (invert binary)2’s complement = 86 1000 0110 (add 1)Send the check sum value of 86

Note: 80 is always the first command on a write.Note: Once a write is performed, a read needs to be performed to see if thereis a fault. The fault is the last byte of the read.

MOSI:

40

FFFF

FFFF

FFFF

FFFF

FFFF

FFFF

FFFF

FFFF

FFFF

FFFF

FFFF

FFFF

MIS

O:

XX

75

12

02

07

D0

01

03

00

01

90

00

4E

20

03

FF0

00

01

90

50

00

00

20

0FF

MOSI:

80

FFFF

FFFF

FFFF

FFFF

FFFF

FFFF

FFFF

FFFF

FFFF

FFM

ISO:

XX

75

07

D0

01

03

00

01

90

00

4E

20

03

FF0

00

01

90

50

00

00

08

6

A1

&A2

, A1

v , C

W2 0=2

56

DEC

EL5 2

50 1

02

32

00

00

40

03 1 2

00

01

.2.0

2U

INPU

T M

OD

ETY

PE

MSEL

DCLT

MH

CM

RC

CEN

TER

FULL

SCALE

VM

VI

RAN

GE

DEA

DB

AN

DACCEL

VER

SIO

ND

EVIC

E

ACCEL

DEA

DB

AN

DR

AN

GE

VI

VM

FULL

SCALE

CEN

TER

MR

CM

HC

DCLT

MSEL

INPU

T M

OD

E

20

00

1 3 40

02

00

00

10

23

0 25

5 DEC

EL0

=25

6A1

&A2

, A1

V , C

W

REA

D A

LL

WR

ITE

ALL

0

00

FAU

LT

FF

FFFF

CKSU

M8

6

Page 56: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

54

Figu

re 9

.7: S

PI W

avef

orm

s & T

imin

g D

iagr

am

Page 57: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

55

A P P E N D I X ARecommended Cab l e Con f i g u r a t i o n s

Shield to Earth Groundon Supply End Only

DC Voltage fromPower Supply

500 µfPer Amp

+ -

Shielded Twisted Pair(Wire Size from

MDrive Supply Cable AWG Table)

FerriteBeads

π Type RFI Filter≥ Required Current

+-To MDrive

Cable Lengthless than 50 Feet

Example A – Cabling Under 50 Feet, DC Power

Cable length, wire gauge and power conditioning devices play a majorrole in the performance of your MDrive34.

NOTE: These recommendations will provide optimal protection against EMIand RFI. The actual cable type, wire gauge, shield type and filtering devicesused are dependent on the customer’s application and system.

NOTE: The length of the DC power supply cable to an MDrive34 should notexceed 50 feet.

Example A demonstrates the recommended cable configuration for DC powersupply cabling under 50 feet long. If cabling of 50 feet or longer isrequired, the additional length may be gained by adding an AC powersupply cable (see Examples B & C).

Correct AWG wire size is determined by the current requirement pluscable length. Please see the MDrive34 Supply Cable AWG Table at theend of this Appendix.

Page 58: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

56

Shield to Earth Groundon Supply End Only

Shielded Twisted Pair(Wire Size from

MDrive Supply Cable AWG Table)

π Type RFI Filter≥ Required Current

Cable Lengthas required

Transformer : 0 to 28 VAC RMS for 48 VDC Systems20 to 48 VAC RMSfor 75 VDC Systems

Full Wave Bridge

+ -To Cable ANOTE:Connect the cable illustratedin Example A to the output ofthe Full Wave Bridge

Example B – Cabling 50 Feet or Greater, AC Power to FullWave Bridge

Page 59: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

57

Shield to Earth Groundon Supply End Only

Shielded Twisted Pair(Wire Size from

MDrive Supply Cable AWG Table)

π Type RFI Filter≥ Required Current

Cable Lengthas required

120 or 240 VACDependent onPower Supply

Power Supply

+ -To Cable A

DC Volts OutNOTE:Connect the cable illustratedin Example A to the output ofthe Power Supply

Example C – Cabling 50 Feet or Greater, AC Power toPower Supply

Page 60: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

58

elbaTGWAelbaCylppuSevirDM

)kaeP(erepmA1

)teeF(htgneL 01 52 *05 *57 *001

GWAmuminiM 02 02 81 81 61

)kaeP(serepmA2

)teeF(htgneL 01 52 *05 *57 *001

GWAmuminiM 02 81 61 41 41

)kaeP(serepmA3

)teeF(htgneL 01 52 *05 *57 *001

GWAmuminiM 81 61 41 21 21

)kaeP(serepmA4

)teeF(htgneL 01 52 *05 *57 *001

GWAmuminiM 81 61 41 21 21

* nidetartsullisdohtemevitanretlaehtesUsihtgnelelbacehtnehwCdnaBselpmaxE ≥ 05

ehtnehwgnitartnerrucemasehtesu,oslA.teef.desusirewopCAetanretla

MDrive Wire Size

NOTE: These recommendations will provide optimalprotection against EMI and RFI. The actual cable type,wire gauge, shield type and filtering devices used are dependent onthe customer’s application and system.

NOTE: Always use Shielded/Twisted Pairs for the MDrive DCSupply Cable and the AC Supply Cable.

Page 61: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

59

a d d e n d u mMDr i v e w i t h P l a n e t a r y G ea r b o x

S e c t i o n O v e r v i e w

This section contains guidelines and specifications for MDrives equippedwith an optional Planetary Gearbox, and may include product sizes notrelevant to this manual.Shown are:

Product OverviewSelecting a Planetary GearboxMechanical Specifications

P r o d u c t O v e r v i e w

All gearboxes are factory installed.M o d e o f F u n c t i o n

Optional Planetary Gearbox operate as their name implies: the motor-drivensun wheel is in the center, transmitting its movement to three circumferentialplanet gears which form one stage. They are arranged on the bearing pins of aplanet carrier. The last planet carrier in each sequence is rigidly linked to theoutput shaft and so ensures the power transmission to the output shaft. Theplanet gears run in an internally toothed outer ring gear.S e r v i c e L i f e

Depending on ambient and environmental conditions and the operationalspecification of the driving system, the useful service life of a PlanetaryGearbox is up to 10,000 hours. The wide variety of potential applicationsprohibits generalizing values for the useful service life.L u b r i c a t i o n

All Planetary Gearbox are grease-packed and therefore maintenance-freethroughout their life. The best possible lubricant is used for our MDrive/Planetary Gearbox combinations.M o u n t i n g P o s i t i o n

The grease lubrication and the different sealing modes allow the PlanetaryGearbox to be installed in any position.O p e r a t i n g Te m p e r a t u r e

The temperature range for the Planetary Gearbox is between –30 and +140°C. However, the temperature range recommended for the Heat Sink of theMDrive is 0 to +85º C.

Page 62: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

60

O v e r l o a d To r q u e

The permitted overload torque (shock load) is defined as a short-term increasein output torque, e.g. during the start-up of a motor. In these all-metalPlanetary Gearbox, the overload torque can be as much as 1.5 times thepermitted output torque.A v a i l a b l e P l a n e t a r y G e a r b o x

The following lists available Planetary Gearbox by diameter and correspondingMDrive.

Gearbox Diameter MDrive32 mm MDrive1442 mm MDrive1752 mm MDrive2381 mm MDrive34

S e l e c t i n g a P l a n e t a r y G e a r b o x

There are many variables and parameters that must be considered whenchoosing an appropriate reduction ratio for an MDrive with PlanetaryGearbox. This Addendum includes information to assist in determining asuitable combination for your application.Note: The MDrive23 and the numbers and values used in these examples havebeen chosen randomly for demonstration purposes. Be certain you obtain thecorrect data for the MDrive you have purchased.

C a l c u l a t i n g t h e S h o c k L o a d O u t p u t To r q u e ( T A B )

Note: The following examples are based on picking “temporary variables”which may be adjusted.The shock load output torque (TAB) is not the actual torque generated by theMDrive and Planetary Gearbox combination, but is a calculated value thatincludes an operating factor (CB) to compensate for any shock loads appliedto the Planetary Gearbox due to starting and stopping with no accelerationramps, payloads and directional changes. The main reason the shock loadoutput torque (TAB) is calculated, is to ensure that it does not exceed themaximum specified torque for a Planetary Gearbox.Note: There are many variables that affect the calculation of the shock loadoutput torque. Motor speed, motor voltage, motor torque and reduction ratioplay an important role in determining shock load output torque. Somevariables must be approximated to perform the calculations for the first time.If the result does not meet your requirements, change the variables and re-calculate the shock load output torque.

Page 63: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

61

Use the equation compendium below to calculate the shock load outputtorque.

F a c t o r s

i = Reduction Ratio - The ratio of the Planetary Gearbox.nM = Motor Speed - In Revolutions Per Minute (Full Steps/

Second).nAB = Output Speed - The speed at the output shaft of the

Planetary Gearbox.TN = Nominal Output Torque - The output torque at the

output shaft of the Planetary Gearbox.TM = Motor Torque - The base MDrive torque. Refer to

MDrive Speed Torque Tables.η = Gear Efficiency - A value factored into the calculation to

allow for any friction in the gears.TAB = Shock Load Output Torque - A torque value calculated to

allow for short term loads greater than the nominal outputtorque.

CB = Operating Factor - A value that is used to factor theshock load output torque.

sf = Safety Factor - A 0.5 to 0.7 factor used to create a marginfor the MDrive torque requirement.

R e d u c t i o n R a t i o

Reduction ratio (i) is used to reduce a relatively high motor speed (nM) to alower output speed (nAB).With: i = nM ÷ nAB or: motor speed ÷ output speed = reduction ratioExample:The required speed at the output shaft of the Planetary Gearbox is90 RPM.You would divide motor speed (nM) by output speed (nAB) to calculate theproper gearbox ratio.The MDrive speed you would like to run is approximately 2000 full steps/second or 600 RPM.NOTE: In reference to the MDrive speed values, they are given in full steps/second on the Speed/Torque Tables. Most speed specifications for thePlanetary Gearbox will be given in RPM (revolutions per minute). To convertfull steps/second to RPM, divide by 200 and multiply by 60.

Where: 200 is the full steps per revolution of a 1.8° stepping motor.

2000 full steps/second ÷ 200 = 10 RPS (revolutions per second)× 60 Seconds = 600 RPM

Page 64: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

62

For the Reduction Ratio (i), divide the MDrive’s speed by the requiredPlanetary Gearbox output speed.

600 RPM ÷ 90 = 6.67:1 Reduction RatioReferring to the Available Ratio Table at the end of this section, the reductionratio (i) of the Planetary Gearbox will be 7:1. The numbers in the left columnare the rounded ratios while the numbers in the right column are the actualratios. The closest actual ratio is 6.75:1 which is the rounded ratio of 7:1. Theslight difference can be made up in MDrive speed.

N o m i n a l O u t p u t T o r q u e

Calculate the nominal output torque using the torque values from the MDriveSpeed/Torque Tables.Nominal output torque (TN) is the actual torque generated at the PlanetaryGearbox output shaft which includes reduction ratio (i), gear efficiency (η) andthe safety factor (sf) for the MDrive. Once the reduction ratio (i) isdetermined, the nominal output torque (TN) can be calculated as follows:

TN = TM × i × η ÷ sf or:Motor torque × reduction ratio × gear efficiency ÷ safety factor =nominal output torque.For gear efficiency (η) refer to the Mechanical Specifications for the 7:1Planetary Gearbox designed for your MDrive.For motor torque (TM) see the appropriate MDrive Speed/TorqueTable. Dependent on which MDrive you have, the torque range willvary. The torque will fall between the high voltage line and the lowvoltage line at the indicated speed for the MDrive. (See the exampleSpeed/Torque Table below.)

The Speed/Torque Table above is for an MDrive 2222. This MDrive willproduce a torque range of 51 to 95 oz-in in the full voltage range at the speedof 2000 Full Steps/Second (600 RPM).

140

120

100

80

60

40

20

0

99

85

71

56

42

28

14

0 1000 2000 3000 4000 5000 6000 7000

Speed in Full Steps per Second

Torq

ue in

Oz

- In

Torque in N - cm

24 VDC45 VDC

600 RPM(2000 Full Steps/Second)

95 oz-inat +45VDC

51 oz-inat +24VDC

Page 65: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

63

Please note that this is not the usable torque range. The torque output to thePlanetary Gearbox must include a safety factor (sf) to allow for any voltageand current deviations supplied to the MDrive.

The motor torque must include a safety factor (sf) ranging from 0.5to 0.7. This must be factored into the nominal outputtorque calculation. A 0.5 safety factor is aggressive while a 0.7safety factor is more conservative.Example:The available motor torque (TM) is 51 to 95 oz-in.

NOTE: You may specify a torque less than but not greater than the motortorque range.

For this example the motor torque (TM) will be 35 oz-in.A 6.75:1 reduction ratio (i) has been determined.Gear efficiency (η) = 80% from the appropriate table for thePlanetary Gearbox which is used with an MDrive23.Nominal output torque would be:Motor torque (TM = 35) × reduction ratio (i = 6.75) × gearefficiency (η = 0.8) ÷ safety factor (sf = 0.5 or 0.7)35 × 6.75 = 236.25 × 0.8 = 189 ÷ 0.5 = 378 oz-in nominaloutput torque (TN)or35 × 6.75 = 236.25 × 0.8 = 189 ÷ 0.7 = 270 oz-in nominal outputtorque (TN)

With the safety factor (sf) and gear efficiency (η) included in the calculation,the nominal output torque (TN) may be greater than the user requirement.

S h o c k L o a d O u t p u t T o r q u e

The nominal output torque (TN) is the actual working torque the PlanetaryGearbox will generate. The shock load output torque (TAB) is the additionaltorque that can be generated by starting and stopping with no accelerationramps, payloads, inertia and directional changes. Although the nominal outputtorque (TN) of the Planetary Gearbox is accurately calculated, shock loads cangreatly increase the dynamic torque on the Planetary Gearbox.Each Planetary Gearbox has a maximum specified output torque. In thisexample a 7:1 single stage MDrive23 Planetary Gearbox is being used. Themaximum specified output torque is 566 oz-in. By calculating the shock loadoutput torque (TAB) you can verify that value is not exceeding the maximumspecified output torque.

Page 66: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

64

When calculating the shock load output torque (TAB), the calculated nominaloutput torque (TN) and the operating factor (CB) are taken into account. CB ismerely a factor which addresses the different working conditions of aPlanetary Gearbox and is the result of your subjective appraisal. It is thereforeonly meant as a guide value. The following factors are included in theapproximate estimation of the operating factor (CB):

direction of rotation (constant or alternating)load (shocks)daily operating time

Note: The higher the operating factor (CB), the closer the shock load outputtorque (TAB) will be to the maximum specified output torque for the PlanetaryGearbox. Refer to the table below to calculate the approximate operatingfactor (CB).

With the most extreme conditions which would be a CB of 1.9, the shock loadoutput torque (TAB) is over the maximum specified torque of the PlanetaryGearbox with a 0.5 safety factor but under with a 0.7 safety factor.

The nominal output torque (TN) × the operating factor (CB) =shock load or maximum output torque (TAB).

With a 0.5 safety factor, the shock load output torque is greaterthan the maximum output torque specification of the MDrive23Planetary Gearbox. (378 × 1.9 = 718.2 oz-in.)

With a 0.7 safety factor the shock load output torque is withinmaximum output torque specification of the MDrive23 PlanetaryGearbox. (270 × 1.9 = 513 oz-in.)

The 0.5 safety factor could only be used with a lower operating factor (CB)such as 1.5 or less, or a lower motor torque.

Note: All published torque specifications are based on CB = 1.0. Therefore,the shock load output torque (TAB) = nominal output torque (TN).

Page 67: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

65

WARNING! Excessive torque may damage your Planetary Gearbox. If theMDrive/Planetary Gearbox should hit an obstruction, especially at lowerspeeds (300 RPM or 1000 Full Steps/Second), the torque generated willexceed the maximum torque for the Planetary Gearbox. Precautions must betaken to ensure there are no obstructions in the system.

Determining the Operating Factor (CB)

Direction ofRotation

Load(Shocks) Daily Operating Time

3 Hours 8 Hours 24 Hours

Constant Low* CB=1.0 CB=1.1 CB=1.3

Medium** CB=1.2 CB=1.3 CB=1.5

Alternating Low† CB=1.3 CB=1.4 CB=1.6

Medium†† CB=1.6 CB=1.7 CB=1.9

* Low Shock = Motor turns in one direction and has ramp up at start.** Medium Shock = Motor turns in one direction and has no ramp up at start.† Low Shock = Motor turns in both directions and has ramp up at start.†† Medium Shock = Motor turns in both directions and has no ramp up at start.

Page 68: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

66

Preload onleadscrew

Weight oftable

Weight ofparts

Friction ofguideways

Weight ofnut

Weight ofscrew

S y s t e m I n e r t i a

System inertia must be included in the selection of an MDrive and PlanetaryGearbox. Inertia is the resistance an object has relative to changes in velocity.Inertia must be calculated and matched to the motor inertia. The PlanetaryGearbox ratio plays an important role in matching system inertia to motorinertia. There are many variable factors that affect the inertia. Some of thesefactors are:

The type of system being driven.Weight and frictional forces of that system.The load the system is moving or carrying.

The ratio of the system inertia to motor inertia should be between 1:1 and10:1. With 1:1 being ideal, a 1:1 to 5:1 ratio is good while a ratio greater than5:1 and up to 10:1 is the maximum.

T y p e o f S y s t e m

There are many systems and drives, from simple to complex, which reactdifferently and possess varied amounts of inertia. All of the moving compo-nents of a given system will have some inertia factor which must be includedin the total inertia calculation. Some of these systems include:

lead screw rack and pinion conveyor belt rotary table belt drive chain drive

Not only must the inertia of the system be calculated, but also any load that itmay be moving or carrying. The examples below illustrate some of the factorsthat must be considered when calculating the inertia of a system.

L e a d S c r e w

In a system with a lead screw, the following must be considered: the weight and preload of the screw the weight of the lead screw nut the weight of a table or slide the friction caused by the table guideways the weight of any parts

Page 69: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

67

R a c k a n d P i n i o n

In a system with a rack and pinion, the following must be considered: the weight or mass of the pinion the weight or mass of the rack the friction and/or preload between the pinion and the rack any friction in the guidance of the rack the weight or mass of the object the rack is moving

Weight ofpinion and shaft

Preload or frictionbetween pinion and rack

Load onrack

Weight ofrack

Friction ofrack in guide

Gearbox

Motor

C o n v e y o r B e l t

In a system with a conveyor belt, the following must be considered: the weight and size of the cylindrical driving pulley or roller the weight of the belt the weight or mass and size of the idler roller or pulley on

the opposite end the angle or elevation of the belt any load the belt may be carrying

Weight and sizeof drive roller

Weight and sizeof idler roller

Weight ofconveyor belt

Weight ofparts

Frictionof belt

Elevation

Motor

Gearbox

Page 70: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

68

R o t a r y T a b l e

In a system with a rotary table, the following must be considered: the weight or mass and size of the table any parts or load the table is carrying the position of the load on the table, the distance from the

center of the table will affect the inertia how the table is being driven and supported also affects the

inertia

Weight and sizeof drive pulley

Weight and sizeof driven pulley

Friction created bytension on belt

Weight ofshaft

Weight andsize of tableWeight and position

of parts on table

The position of parts relativeto the center of the

rotary table is important

Friction of anybearing or support

Motor

Gearbox

B e l t D r i v e

In a system with a belt drive, the following must be considered: the weight or mass and size of the driving pulley the tension and/or friction of the belt the weight or mass and size of the driven pulley any load the system may be moving or carrying

Page 71: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

69

C h a i n D r i v e

In a system with a chain drive, the following must be considered: the weight and size of drive sprocket and any attaching hub the weight and size of the driven sprocket and shaft the weight of the chain the weight of any material or parts being moved

Weight ofchain

Weight and sizeof drive

sprocket and hubWeight and size

of driven sprocket,shaft and any material or parts being moved

Once the system inertia (JL) has been calculated in oz-in-sec2, it can bematched to the motor inertia. To match the system inertia to the motor inertia,divide the system inertia by the square of the gearbox ratio. The result iscalled Reflected Inertia or (Jref).

Jref = JL ÷ Ζ2

Where:JL = System Inertia in oz-in-sec2

Jref = Reflected Inertia in oz-in-sec2

Z = Gearbox RatioThe ideal situation would be to have a 1:1 system inertia to motor inertiaratio. This will yield the best positioning and accuracy. The reflected inertia(Jref) must not exceed 10 times the motor inertia.Your system may require a reflected inertia ratio as close to 1:1 as possible.To achieve the 1:1 ratio, you must calculate an Optimal Gearbox Ratio (Zopt)which would be the square root of JL divided by the desired Jref. In this casesince you want the system inertia to match the motor inertia with a 1:1 ratio,Jref would be equal to the motor inertia.

Zopt = JL ÷ Jref

Where:Zopt = Optimal Gearbox RatioJL = System Inertia in oz-in-sec2

Jref = Desired Reflected Inertia in oz-in-sec2 (Motor Inertia)

Page 72: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

70

P l a n e t a r y G e a r b o x I n e r t i a

In addition to System Inertia, the Planetary Gearbox inertia must also beincluded when matching system inertia to motor inertia. The PlanetaryGearbox inertia varies with the ratio and the number of stages. The table belowlists the inertia values for the MDrive14, 17, 23 and 34 Planetary Gearbox.The values are in oz-in-sec2 (ounce-inches-second squared). To calculate theinertia in kg-cm2 (kilograms-centimeter squared) multiply oz-in-sec2 by70.6154.

Stages RoundedRatio

1-Stage4:15:1

7:1

2-Stage

14:1

16:1

18:1

19:1

22:1

25:1

27:1

29:1

35:1

46:1

3-Stage

51:1

59:1

68:1

71:1

79:1

93:1

95:1

100:1

107:1

115:1

124:1

130:1

139:1

150:1

169:1

181:1

195:1

236:1

308:1

MDrive 14Gearbox

MDrive 17Gearbox

MDrive 23Gearbox

MDrive 34Gearbox

0.00002181

0.00001614

0.00001260

0.00002110

0.00001770

0.00001784

0.00001586

0.00001586

0.00001359

0.00001600

0.00001359

0.00001374

0.00001388

0.00002110

0.00001770

0.00001784

0.00001586

0.00001784

0.00001359

0.00001586

0.00001600

0.00001359

0.00001600

0.00001359

0.00001374

0.00001600

0.00001374

0.00001359

0.00001374

0.00001359

0.00001359

0.00001359

0.00006627

0.00004362

0.00003328

0.00006245

0.00005084

0.00005070

0.00004149

0.00004135

0.00003200

0.00004121

0.00003186

0.00003186

0.00003186

0.00006245

0.00005084

0.00005070

0.00004149

0.00005070

0.00003200

0.00004135

0.00004121

0.00003186

0.00004121

0.00003186

0.00003186

0.00004121

0.00003186

0.00003186

0.00003186

0.00003186

0.00003186

0.00003186

0.00025986

0.00017461

0.00016030

0.00024230

0.00020406

0.00020335

0.00016512

0.00016469

0.00013453

0.00016441

0.00013425

0.00013411

0.00013411

0.00024230

0.00020406

0.00020335

0.00016512

0.00020335

0.00016441

0.00020335

0.00016441

0.00013425

0.00016441

0.00013425

0.00013411

0.00016441

0.00013411

0.00013411

0.00013411

0.00013411

0.00013411

0.00013411

0.00233660

0.00154357

0.00128867

0.00219499

0.00179847

0.00182679

0.00141612

0.00148693

0.00177015

0.00148693

0.00124619

0.00126035

0.00126035

0.00218082

0.00178431

0.00179847

0.00147276

0.00179847

0.00124619

0.00147276

0.00148693

0.00124619

0.00148693

0.00124619

0.00124619

0.00144444

0.00124619

0.00126035

0.00124619

0.00126035

0.00126035

0.00126035

Planetary Gearbox Inertia Moments (oz-in-sec2)

Page 73: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

71

M e c h a n i c a l S p e c i f i c a t i o n s

Planetary Gearbox Specifications for MDrive14

Ø 1

.26

(Ø 3

2.0)

k1

0.118(3.0)

k21.66(42.1)

2.36 (59.9)

1.84

(46.

8)

1.03(26.2)

M3 x 0.157 (4.0) Deep

1.02

4(2

6.0)

1.39

SQ

.(3

5.3

SQ

.)

1.024(26.0)

Front ViewOptional NEMA 14

Output Flange for Planetary GearboxFront View

Planetary Gearbox

M3 x 0.157 (4.0) Deep

Ø 1.024(Ø 26.0)

k3k4

With Encoder or Control Knob

Ø 0.236 -0.0002/-0005(Ø 6.0 -0.004/-0.012)

0.197(5.0)

k5

k6

k7

M D r i v e 1 4 w i t h P l a n e t a r y G e a r b o x

Dimensions in Inches (mm)

Planetary Gearbox 1-Stage 2-Stage 3-StageStandard Gearboxw/NEMA FlangeStandard Shaft

k1k2k3k4

k5

k6

Shaft w/NEMA Flange

StandardLocator DiameterLocator Diameterw/NEMA Flange

Max Output Torque

Efficiency

Max Backlash

Max Radial Load

Max Axial Load

Gearbox Only

Gearbox w/NEMA FlangeWei

ght

Load

sP

aram

eter

sD

imen

sion

sIn

ches

(mm

)

1.969 (50.0) ±0.02 (0.5)2.008 (51.0) ±0.02 (0.5)

2.343 (59.5) ±0.02 (0.5)2.382 (60.5) ±0.02 (0.5)

2.717 (60.0) ±0.02 (0.5)2.756 (70.0) ±0.02 (0.5)

0.787 (20.0)0.748 (19.0)

0.787 (20.0) +0/-0.0013 (+0/-0.033)

0.866 (22.0) +0/-0.0013 (+0/-0.033)

106 oz-in (0.75 Nm) 318 oz-in (2.25 Nm) 637 oz-in (4.5 Nm)

80% 75% 70%

1.5° 2.0° 2.5°

9.0 lb-force (40 N)

2.2 lb-force (10 N)

5.7 oz (162 gm)

5.9 oz (168 gm)

15.7 lb-force (70 N)

4.5 lb-force (20 N)

7.5 oz (213 gm)

7.8 oz (221 gm)

22.0 lb-force (100 N)

6.7 lb-force (30 N)

9.3 oz (264 gm)

9.6 oz (273 gm)

k7 Length of Flat on Shaft 0.394 (10.0)

Page 74: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

72

Planetary Gearbox 1-Stage 2-Stage 3-StageStandard Gearboxw/NEMA FlangeStandard Shaft

k1k2k3k4

k5

k6

Shaft w/NEMA Flange

StandardLocator DiameterLocator Diameterw/NEMA Flange

Max Output Torque

Efficiency

Max Backlash

Max Radial Load

Max Axial Load

Gearbox Only

Gearbox w/NEMA FlangeWei

ght

Load

sP

aram

eter

sD

imen

sion

sIn

ches

(mm

)

2.736 (69.5) ±0.02 (0.5)2.858 (72.6) ±0.02 (0.5)

3.248 (82.5) ±0.02 (0.5)3.370 (85.5) ±0.02 (0.5)

3.760 (95.5) ±0.02 (0.5)3.882 (98.6) ±0.02 (0.5)

0.984 (25.0)0.846 (21.5)

0.984 (25.0) +0/-0.002 (+0/-0.052)

0.866 (22.0) +0/-0.002 (+0/-0.052)

425 oz-in (3.0 Nm) 1062 oz-in (7.5 Nm) 2124 oz-in (15.0 Nm)

80% 75% 70%

0.80° 0.85° 0.90°

36 lb-force (160 N)

11 lb-force (50 N)

14.3 oz (406 gm)

14.8 oz (420 gm)

52 lb-force (230 N)

18 lb-force (80 N)

17.9 oz (508 gm)

18.5 oz (525 gm)

67.5 lb-force (300 N)

25 lb-force (110 N)

21.5 oz (609 gm)

22.2 oz (630 gm)

MDrive17 Size 1713 Size 1715 Size 1719LMAX1

Single Shaft Version

LMAX2 Encoder orControl Knob Version

2.20 (55.9)

2.92 (74.2)

2.43 (61.7)

3.15 (80.0)

2.75 (69.8)

3.47 (88.1)

Leng

thIn

ches

(mm

)

Planetary Gearbox Specifications for MDrive17

M D r i v e 1 7 w i t h P l a n e t a r y G e a r b o x

Dimensions in Inches (mm)

M4 x 0.394 (10.0) DeepM 3 x 0.394 (10.0) Deep

Front ViewPlanetary Gearbox

Ø 1.26(Ø 32.0)Ø 1.417(Ø 36.0)

M3 x 0.276 (7.0) Deep

Front ViewOptional NEMA 17

Output Flange for Planetary Gearbox

1.22

(31.

0)

1.22(31.0)

1.667 SQ.(42.3 SQ.)

Key DIN 6885-A-3x3x16mm

Ctrg. DIN 332 - D M3

0.08(2.0)

Ø 0.315 +0/-0.0004(Ø 8.0 +0/-0.009)

k1

Ø 1

.654

(Ø 4

2.0)

1.33(33.8)

2.16(54.9)

MAX1

MAX2

L

L

k2k3k4

k5

k6

Page 75: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

73

M D r i v e 2 3 w i t h P l a n e t a r y G e a r b o x

Dimensions in Inches (mm)

Planetary Gearbox 1-Stage 2-Stage 3-StageStandard Gearboxw/NEMA FlangeStandard Shaft

k1k2k3k4

k5

k6

Shaft w/NEMA Flange

StandardLocator DiameterLocator Diameterw/NEMA Flange

Max Output Torque

Efficiency

Max Backlash

Max Radial Load

Max Axial Load

Gearbox Only

Gearbox w/NEMA FlangeWei

ght

Load

sP

aram

eter

sD

imen

sion

sIn

ches

(mm

)

2.976 (75.6) ±0.02 (0.5)3.036 (77.1) ±0.02 (0.5)

3.531 (89.7) ±0.02 (0.5)3.590 (91.2) ±0.02 (0.5)

4.087 (103.8) ±0.02 (0.5)4.146 (105.3) ±0.02 (0.5)

0.984 (25.0)0.925 (23.5)

1.260 (32.0) +0/-0.0015 (+0/-0.039)

1.50 (38.1) +0/-0.0015 (+0/-0.039)

566 oz-in (4.0 Nm) 1699 oz-in (12.0 Nm) 3540 oz-in (25.0 Nm)

80% 75% 70%

0.70° 0.75° 0.80°

45 lb-force (200 N)

13 lb-force (60 N)

25.0 oz (711 gm)

25.9 oz (735 gm)

72 lb-force (320 N)

22 lb-force (100 N)

32.2 oz (914 gm)

33.3 oz (945 gm)

101 lb-force (450 N)

34 lb-force (150 N)

39.4 oz (1117 gm)

40.7 oz (1155 gm)

MDrive23 Size 2218 Size 2222 Size 2231LMAX1

Single Shaft Version

LMAX2 Encoder orControl Knob Version

2.63 (66.8)

3.35 (85.1)

3.00 (76.2)

3.70 (94.0)

3.86 (98.0)

4.57 (116.1)

Leng

thIn

ches

(mm

)

Planetary Gearbox Specifications for MDrive23

Key DIN 6885-A-4x4x16mm

Ctrg. DIN 332-D M4x10

0.106(2.7)

Ø 2

.047

(Ø 5

2.0)

k1k2

Ø 0.472 +0/-0.0007(Ø 12.0 +0/-0.018)

1.63(41.4)

2.92(74.2)

LMAX1LMAX2

k3k4

4x Ø 0.197 (Ø 5) Hole

1.854(47.1)

1.85

4(4

7.1)

2.22 SQ.(56.4 SQ.)

Front ViewOptional NEMA 23

Output Flange for Planetary Gearbox

M5 x 0.394 (10.0) Deep

Front View Planetary Gearbox

Ø 1.575(Ø 40.0)

k6

k5

Page 76: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

74

Planetary Gearbox 1-Stage 2-Stage 3-StageStandard Gearboxw/NEMA FlangeStandard Shaft

k1k2k3k4

k5

k6

Shaft w/NEMA Flange

StandardLocator DiameterLocator Diameterw/NEMA Flange

Max Output Torque

Efficiency

Max Backlash

Max Radial Load

Max Axial Load

Gearbox Only

Gearbox w/NEMA FlangeWei

ght

Load

sP

aram

eter

sD

imen

sion

sIn

ches

(mm

)

4.315 (109.6) ±0.02 (0.5)4.433 (112.6) ±0.02 (0.5)

5.169 (131.3) ±0.02 (0.5)5.287 (134.3) ±0.02 (0.5)

6.024 (153.0) ±0.02 (0.5)6.142 (156.0) ±0.02 (0.5)

1.929 (49.0)1.811 (46.0)

1.969 (50.0) +0.0006/-0.0004 (+0.015/-0.010)

2.874 (73.0) +0/-0.0012 (+0/-0.030)

2832 oz-in (20.0 Nm) 8496 oz-in (60.0 Nm) 16992 oz-in (120.0 Nm)

80% 75% 70%

1.0° 1.5° 2.0°

90 lb-force (400 N)

18 lb-force (80 N)

64.4 oz (1827 gm)

66.7 oz (1890 gm)

135 lb-force (600 N)

27 lb-force (120 N)

89.5 oz (2538 gm)

92.6 oz (2625 gm)

225 lb-force (1000 N)

45 lb-force (200 N)

114.6 oz (3248 gm)

118.5 oz (3360 gm)

MDrive34 Size 3424 Size 3431 Size 3447LMAX1 Single Shaftor Encoder Version

LMAX2 Control Knob Version

3.81 (96.8)

4.97 (126.2)

4.60 (116.80)

5.76 (146.3)

6.17 (156.7)

7.34 (186.4)

Leng

thIn

ches

(mm

)

Planetary Gearbox Specifications for MDrive34

M D r i v e 3 4 w i t h P l a n e t a r y G e a r b o x

Dimensions in Inches (mm)

Key DIN 6885-A-6x6x28mm

Ctrg. DIN 332-D M6x16

0.197 (5.0)

k1

1.575(40.0)

Ø 3

.189

(Ø 8

1.0)

Ø 0.748 +0/-0.0008(Ø 19.0 +0/-0.021)

LMAX1

3.73(94.7)

0.39(10.0)

LMAX2

2.07(52.6)

k3k2k4

4x Ø 0.217 (Ø 5.5) Hole

3.386 SQ.(86.0 SQ.)

2.739(69.58)

2.73

9(6

9.58

)

Front ViewOptional NEMA 34

Output Flange for Planetary Gearbox

M6 x 0.472 (12.0) DeepM6 x 0.472 (12.0) Deep

Ø 2.56(Ø 65.0)

Front ViewPlanetary Gearbox

k6

k5

Page 77: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

75

A v a i l a b l e R a t i o s

WARNING!The MDrive and its Heat Sink must not be subjected to any axial or otherpressing force as damage may result to the unit and void the Warranty.When installing a gear, pulley, coupling or other driving device to the outputshaft of the Planetary Gearbox, IMS recommends that it be “slip-fit” onto theshaft and properly secured, i.e. with set screws.DO NOT press fit the device onto the shaft.NEVER tap or hammer a driving device onto the output shaft of the PlanetaryGearbox.Disconnecting the Planetary Gearbox from the MDrive may void theWarranty.

I n s t a l l i n g a D r i v i n g D e v i c e o n a P l a n e t a r yG e a r b o x

Stages RoundedRatio

1-Stage4:15:1

7:1

2-Stage

14:1

16:1

18:1

19:1

22:1

25:1

27:1

29:1

35:1

46:1

3-Stage

51:1

59:1

68:1

71:1

79:1

93:1

95:1

100:1

107:1

115:1

124:1

130:1

139:1

150:1

169:1

181:1

195:1

236:1

308:1

Fractional Ratio Decimal Ratio*

Available Ratios for Planetary Gearbox

3.70588235294117645.1818181818181818

13.733564013840830415.8823529411764705

6.7500000000000000

18.3673469387755102

19.2032085561497326

22.207792207792207725.0147058823529411

26.851239669421500028.9285714285714876

34.9772727272727272

45.5625000000000000

50.894972521880724658.8581314878892733

68.067226890756302571.1616860648002516

78.717201166180758192.7015570934256055

95.176252319109461999.5075352455031599107.2058823529411764

115.0767414403778040123.9795918367346938

129.6216577540106951

139.1382419233658903149.9025974025974025168.8492647058823529

181.2458677685950413

195.2678571428571428

236.0965909090909090307.5468750000000000

63 / 1757 / 1127 / 4

3969 / 289

270 / 17

900 / 493591 / 1871710 / 77

1701 / 683249 / 121405 / 14

1539 / 44729 / 16

250047 / 491317010 / 2898100 / 119

226223 / 3179

27000 / 343107163 / 1156

51300 / 539204687 / 2057

3645 / 34

97470 / 847

6075 / 4996957 / 748

185193 / 1331

23085 / 154

45927 / 27287723 / 484

10935 / 5641553 / 176

19683 / 64

* The Decimal Ratio shown here has been limited to 16 places.

Page 78: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

76

This PageIntentionally Left Blank

Page 79: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

WARRANTY

TWENTY-FOUR (24) MONTH LIMITED WARRANTYIntelligent Motion Systems, Inc. (“IMS”), warrants only to the purchaser of the Product

from IMS (the “Customer”) that the product purchased from IMS (the “Product”) will be freefrom defects in materials and workmanship under the normal use and service for which theProduct was designed for a period of 24 months from the date of purchase of the Product bythe Customer. Customer’s exclusive remedy under this Limited Warranty shall be the repairor replacement, at Company’s sole option, of the Product, or any part of the Product,determined by IMS to be defective. In order to exercise its warranty rights, Customer mustnotify Company in accordance with the instructions described under the heading “ObtainingWarranty Service.”

This Limited Warranty does not extend to any Product damaged by reason of alteration,accident, abuse, neglect or misuse or improper or inadequate handling; improper orinadequate wiring utilized or installed in connection with the Product; installation, operationor use of the Product not made in strict accordance with the specifications and writteninstructions provided by IMS; use of the Product for any purpose other than those for whichit was designed; ordinary wear and tear; disasters or Acts of God; unauthorized attachments,alterations or modifications to the Product; the misuse or failure of any item or equipmentconnected to the Product not supplied by IMS; improper maintenance or repair of the Product;or any other reason or event not caused by IMS.

IMS HEREBY DISCLAIMS ALL OTHER WARRANTIES, WHETHER WRITTEN ORORAL, EXPRESS OR IMPLIED BY LAW OR OTHERWISE, INCLUDING WITHOUTLIMITATION, ANY WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANYPARTICULAR PURPOSE. CUSTOMER’S SOLE REMEDY FOR ANY DEFECTIVEPRODUCT WILL BE AS STATED ABOVE, AND IN NO EVENT WILL THE IMS BE LIABLEFOR INCIDENTAL, CONSEQUENTIAL, SPECIAL OR INDIRECT DAMAGES INCONNECTION WITH THE PRODUCT.

This Limited Warranty shall be void if the Customer fails to comply with all of the terms setforth in this Limited Warranty. This Limited Warranty is the sole warranty offered by IMS withrespect to the Product. IMS does not assume any other liability in connection with the sale ofthe Product. No representative of IMS is authorized to extend this Limited Warranty or tochange it in any manner whatsoever. No warranty applies to any party other than the originalCustomer.

IMS and its directors, officers, employees, subsidiaries and affiliates shall not be liable forany damages arising from any loss of equipment, loss or distortion of data, loss of time, lossor destruction of software or other property, loss of production or profits, overhead costs,claims of third parties, labor or materials, penalties or liquidated damages or punitive damages,whatsoever, whether based upon breach of warranty, breach of contract, negligence, strictliability or any other legal theory, or other losses or expenses incurred by the Customer orany third party.OBTAINING WARRANTY SERVICE

Warranty service may obtained by a distributor, if the Product was purchased from IMS bya distributor, or by the Customer directly from IMS, if the Product was purchased directlyfrom IMS. Prior to returning the Product for service, a Returned Material Authorization (RMA)number must be obtained. Complete the form at http://www.imshome.com/rma.html afterwhich an RMA Authorization Form with RMA number will then be faxed to you. Any questions,contact IMS Customer Service (860) 295-6102.

Include a copy of the RMA Authorization Form, contact name and address, and anyadditional notes regarding the Product failure with shipment. Return Product in its originalpackaging, or packaged so it is protected against electrostatic discharge or physical damagein transit. The RMA number MUST appear on the box or packing slip. Send Product to:Intelligent Motion Systems, Inc., 370 N. Main Street, Marlborough, CT 06447.

Customer shall prepay shipping changes for Products returned to IMS for warranty serviceand IMS shall pay for return of Products to Customer by ground transportation. However,Customer shall pay all shipping charges, duties and taxes for Products returned to IMS fromoutside the United States.

Page 80: intelligent motion systems, inc. Excellence in Motion · for external switches or resistors. Parameters are changed via an SPI (Serial Peripheral Interface) port located on connector

P.O. Box 457, 370 North Main StreetMarlborough, CT 06447 U.S.A.

Phone: 860/295-6102Fax: 860/295-6107E-mail: [email protected] Page: www.imshome.com

TECHNICAL SUPPORTEastern U.S.Phone: 860/295-6102Fax: 860/295-6107E-mail: [email protected] U.S.Phone: 760/966-3162Fax: 760/966-3165E-mail: [email protected]

IMS MOTORS DIVISION105 Copperwood Way, Suite HOceanside, CA 92054Phone: 760/966-3162Fax: 760/966-3165E-mail: [email protected]

IMS EUROPE GmbHHahnstrasse 10, VS-SchwenningenGermany D-78054Phone: +49/7720/94138-0Fax: +49/7720/94138-2European Sales Management4 Quai Des Etroits69005 Lyon, FrancePhone: +33/4 7256 5113Fax: +33/4 7838 1537German Sales/Technical SupportPhone: +49/35205/4587-8Fax: +49/35205/4587-9E-mail: [email protected]

Revision 042905MD34 Operating Instructions