Intelligent Motion Systems MForce Series Microstepping PowerDrive SPI Commands and Parameters

Page 57

SPI Commands and Parameters

Use the following table and figure found on the following page together as the Byte order read and written from the MDrivePlus Microstepping, as well as the checksum at the end of a WRITE is critical.

 

 

SPI Commands and Parameters

 

Command/

HEX

Range

Notes

 

Parameter

(Default)

 

 

 

 

READ ALL

0x40

Reads the hex value of all parameters

 

 

 

 

 

MSB

Device (M)

0x4D

M Character precedes every READ

 

Version_MSB

0x10

<1-8>.<0-9>

Firmware Version.Sub-version, eg 1.0

 

Version_LSB

0x00

<0-99>

Firmware Version Appends to Version_

 

MSB, eg.00

 

 

 

 

 

USR_ID1

0x49

Uppercase Letter <I>

 

USR_ID2

0x4D

Uppercase Letter <M>

 

USR_ID3

0x53

Uppercase Letter <S>

 

MRC

0x19

1-67%

Motor Run Current

 

MHC

0x05

0-67%

Motor Hold Current

 

MSEL

0x00

0*, 1-259

Microstep Resolution (See Table in Section

 

*0=256

2.4 for settings)

 

 

 

 

DIR_OVRID

0x00

0=no override

Direction Override

 

1=override dir

 

 

 

 

 

HCDT_HI

0x01

0 or 2-65535

Hold Current Delay Time High Byte

 

 

 

 

 

HCDT_LO

0xF4

Hold Current Delay Time Low Byte

 

 

 

 

 

0=s/d,

 

 

CLKTYP

0x00

1=quad,

Input Clock Type

 

 

 

2=u/d

 

 

CLKIOF

0x00

<0-9>

Clock Input Filtering

 

WARNTEMP

0x50

 

OVER_TEMP - 5° C

 

 

 

 

 

 

EN_ACT

0x01

0=Low

Enable Active High/Low

 

1=High,

 

 

 

 

LSB

FAULT

0x00

See Fault Table, Section 2.4

 

WRITE ALL

0x80

Writes the hex value to the following

 

parameters.

 

 

 

 

MSB

USR_ID1

0x49

Uppercase Letter <I>

 

USR_ID2

0x4D

Uppercase Letter <M>

 

USR_ID3

0x53

Uppercase Letter <S>

 

MRC

0x19

1-100%

Motor Run Current

 

MHC

0x05

0-100%

Motor Hold Current

 

MSEL

0x00

0*, 1-259

Microstep Resolution (See Table in Section

 

*0=256

2.4 for settings)

 

 

 

 

DIR_OVRID

0x00

0=no override

Direction Override

 

1=override dir

 

 

 

 

 

HCDT_HI

0x01

0 or 2-65535

Hold Current Delay Time High Byte

 

HCDT_LO

0xF4

Hold Current Delay Time Low Byte

 

 

 

 

 

0=s/d,

 

 

CLKTYP

0x00

1=quad,

Input Clock Type

 

 

 

2=u/d

 

 

CLKIOF

0x00

<0-9>

Clock Input Filtering

 

WARNTEMP

0x50

 

OVER_TEMP - 5° C

 

 

 

 

 

 

EN_ACT

0x01

0=Low

Enable Active High/Low

 

1=High

 

 

 

 

LSB

CKSUM

 

 

34

 

 

 

 

 

 

Table 2.7.1: SPI Commands and Parameters

Part 2: Interfacing and Configuring

39

Image 57
Contents Forcetm Microstepping MForce PowerDrive Product Manual Table Of Contents Appendices List of Figures List of Tables Microstepping MForce PowerDrive MForce PowerDrive FrontStepping Motor Connect Opto Reference and Logic Inputs Connecting the MotorForcetm Intentionally Left Blank Configuring Introduction to the Microstepping MForce PowerDriveFeatures and Benefits General Specifications Microstepping MForce PowerDrive Detailed SpecificationsMechanical Specifications Dimensions in Inches mm Setup ParametersPin # Function Description Pin Assignment and DescriptionP4 Connector Motor P3 Connector DC Power, 2-Pin Locking Wire CrimpOptions and Accessories Parameter Setup Cable and AdaptersPrototype Development Cable Intentionally Left Blank Forcetm Microstepping MForce PowerDrive Manual Revision R040507 Mounting Recommendations Mounting and Connection GuidelinesSecuring Power Leads and Logic Leads Mounting Hole PatternLayout and Interface Guidelines Power P3 Logic and SPI Communications P1Motor P4 Intentionally Left Blank Choosing a Power Supply for Your MForce PowerDrive Interfacing DC PowerISP300-7 Unregulated Switching Supply DC Power Supply RecommendationsRecommended IMS Power Supplies IP804 Unregulated Linear SupplyBasic DC Power Connection Recommended Power and Cable ConfigurationsExample a DC Power Cabling Under 50 Feet Transformer 10 to 28 VAC RMS for 48 VDC Systems Selecting a Motor Motor Selection and InterfaceWinding Inductance Types and Construction of Stepping MotorsRecommended IMS Motors Lead Stepping Motor Parallel ConfigurationFrame Enhanced 3.0A Frame Enhanced 2.4A Not Available with Double ShaftFrame Enhanced 6.0A Frame Enhanced 6.3ALead Motors Phase Connector PinPhase a Recommended Motor Cabling MForce PowerDrive Phase OutputsMotor Connections Example a Motor Cabling Less Than 50 FeetRecommended Motor Cable AWG Sizes Example B Motor Cabling Greater Than 50 FeetMicrostepping MForce PowerDrive Manual Revision R040507 Isolated Logic Input Characteristics Isolated Logic Input Pins and ConnectionsEnable Input Logic Interface and ConnectionDirection Step ClockQuadrature Up/DownSTEP/DIRECTION Timing Optocoupler Reference Optocoupler ReferenceInput Connection Examples NPN Open Collector Interface SinkingSwitch Interface Example Switch Interface Sinking+V +12 to +48 Minimum Required ConnectionsConnecting SPI Communications Logic Level Shifting and Conditioning Circuit SPI Pins and Connections4 SPI Master with a Single Microstepping MForce PowerDrive SPI Master with Multiple Microstepping MForce PowerDriveUsing the IMS SPI Motor Interface Installation Configuration Parameters and RangesColor Coded Parameter Values IMS SPI Motor Interface Menu Options FileView Upgrade RecallHelp Msel Microstep Resolution Selection Msel Microstep Resolution SelectFactory Connected/Disconnected IndicatorSet ExitEnable Active High/Low Screen 2 I/O Settings Configuration ScreenInput Clock Type Input Clock FilterIMS Part Number/Serial Number Screen Fault IndicationUpgrade Instructions IMS SPI Upgrader ScreenPort Menu Initialization ScreenUsing User-Defined SPI SPI Timing NotesCheck Sum Calculation for SPI MSB SPI Commands and ParametersSPI Communications Sequence WriteAppendices Intentionally Left Blank MD-CC300-000 USB to SPI Parameter Setup Cable Optional Prototype Development CablesAdapter Cables Installing the Cable/VCP Drivers Installation Procedure for the MD-CC300-000Figure A.5 Hardware Update Wizard Screen Determining the Virtual COM Port VCP Wire Color Code PD12-1434-FL3 Power, I/O and SPIPrototype Development Cable PD04-MF34-FL3 Prototype Development Cable PD02-2300-FL3Warranty Excellence in Motion