Intelligent Motion Systems MDriveAC manual SPI Commands and Parameters, Msb

Page 49

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 MDriveAC Plus 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

0x00

0=High 1=low,

Enable Active High/Low

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.4.1: SPI Commands and Parameters

2-22

MDriveAC Plus Microstepping Hardware - Revision R121707

 

Relevant to Firmware Version 3.0.02

Image 49
Contents 34 TM UL Application Details and Conditions of Acceptance Low Voltage Installation InformationTable Of Contents Appendices List Of Figures List of Tables Connect Opto Power and Logic Inputs Connecting AC PowerMDriveAC Plus Microstepping Before You BeginInstall the IMS SPI Motor Interface Connecting Parameter Setup CablePart Hardware Specifications Intentionally Left Blank Features and Benefits ConfiguringIntroduction to the MDrive34AC Plus Microstepping Page General Specifications MDrive34AC Plus Microstepping Detailed SpecificationsSingle Length Setup ParametersDimensions in Inches mm Mechanical SpecificationsPin Assignment and Description P1 19-Pin M23 Connector I/O and SPI CommunicationsPin Assignment P1 I/O, SPI and Encoder Connections P3 Connector AC Power Options and AccessoriesPin Introduction to the MDrive42AC Plus Microstepping Page MDrive42AC Plus Microstepping Detailed Specifications Setup Parameters 76.2 Pin Assignment and Description Pin Assignment P1 I/O, SPI and Encoder Connections Outside Pins 1 Options and Accessories Part Interfacing Configuring Intentionally Left Blank Logic Interface and Connection Isolated Logic Input Pins and ConnectionsOptically Isolated Logic Inputs Direction Step ClockQuadrature Up/DownStep DirectionChannel a Channel BOptocoupler Reference Optocoupler ReferenceOpen Collector Interface Example Input Connection ExamplesSwitch Interface Example Fault Temperature Warning OutputSwitch Minimum Required Connections 7 Fault Output interfaced to an LEDConnecting SPI Communications SPI Master with Multiple MDriveAC Plus Microstepping SPI Pins and ConnectionsSPI Clock Configuration Parameters and Ranges Using the IMS SPI Motor Interface InstallationColor Coded Parameter Values IMS SPI Motor Interface Menu Options Motion Settings Screen Read-Only Part Serial Number ScreenFile ViewRecall UpgradeHelp Msel Microstep Resolution Selection Screen 1 The Motion Settings Configuration ScreenFactory 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 IndicationIMS IMS Serial Number Upgrade Instructions IMS SPI Upgrader ScreenUpgrading the Firmware in the MDriveAC Plus Microstepping Port Menu Initialization ScreenSPI Timing Notes Using User-Defined SPICheck Sum Calculation for SPI MSB SPI Commands and ParametersSPI Communications Sequence WriteIntentionally Left Blank Appendices MDriveAC Plus Microstepping Hardware Revision R121707 MDrive34AC 120VAC MDriveAC Plus Microstepping Motor PerformanceMDrive34AC 240VAC Single LengthTriple Length Double LengthMDrive42AC Plus Microstepping MDrive42AC 120VACOz-in/810 N-cm Section Overview MDrive with Planetary GearboxProduct Overview Selecting a Planetary GearboxFactors Calculating the Shock Load Output Torque TABReduction Ratio Speed in Full Steps per Second Nominal Output Torque=1.6 =1.7 =1.9 Shock Load Output TorqueType of System System InertiaLead Screw Rack and Pinion Conveyor BeltBelt Drive Rotary TableFigure B.6 Chain Drive System Inertia Considerations Chain DriveMDrive34AC Plus2 Planetary Gearbox Parameters Planetary Gearbox for MDrive34AC Plus2PM81 Gearbox Ratios and Part Numbers MDrive42AC Plus2 Planetary Gearbox Parameters PM105 Planetary Gearbox for MDrive42AC Plus2PM105 Gearbox Ratios and Part Numbers PM120 Gearbox Ratios and Part Numbers MDrive42AC Plus2 Planetary Gearbox Parameters PM120Installation Procedure for the MX-CC300-000 MD-CC300-000 USB to SPI Parameter Setup CableInstalling the Cable/VCP Drivers Optional Cables and CordsetsFigure C.4 Hardware Update Wizard Screen Determining the Virtual COM Port VCP Figure C.7 Hardware Update Wizard Finish InstallationTo Controller Interface AdapterMD-CS10x-000 Cordset Pin Assignment and Wire ColorsMD-CS201-000 MD-CS20x-000 CordsetInterfacing the Internal Differential Optical Encoder Pin ConfigurationFactory Mounted Encoder Differential Encoder Encoder SignalsLinear Slide Option FeaturesMDrive34Plus Linear Slide Speed-Force Limitations†Mechanical Specifications SpecificationsWarranty Excellence in Motion