Intelligent Motion Systems MForce Series Microstepping PowerDrive Using User-Defined SPI

Page 56

SECTION 2.7

Using User-Defined SPI

The MForce can be configured and operated through the end-user's SPI interface without using the IMS SPI Mo- tor Interface software and optional parameter setup cable.

An example of when this might be used is in cases where the machine design requires parameter settings to be changed on-the-fly by a software program or multiple system Microstepping MForce PowerDrive units parameter states being written/read.

SPI Timing Notes

1.MSb (Most Significant bit) first and MSB (Most Significant Byte) first.

2.8 bit bytes.

3.25 kHz SPI Clock (SCK).

4.Data In (MOSI) on rising clock.

5.Data Out (MISO) on falling clock.

Figure 2.7.1: SPI Timing

Check Sum Calculation for SPI

The values in the example below are 8-bit binary hexadecimal conversions for the following SPI parameters:

MRC=25%, MHC=5%, MSEL=256, HCDT=500 mSec, WARNTEMP=80.

The Check Sum is calculated as follows:

(Hex) 80+19+05+00+00+01+F4+50

 

Sum = E3

1110 0011

 

1’s complement = 1C

0001 1100

(Invert)

2’s complement = 1D

0001 1101

(Add 1)

Send the check sum value of 1D

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 there is a fault. The fault is the last byte of the read.

38

Microstepping MForce PowerDrive Manual Revision R040507

Image 56
Contents Forcetm Microstepping MForce PowerDrive Product Manual Table Of Contents Appendices List of Figures List of Tables Stepping Motor Microstepping MForce PowerDriveMForce PowerDrive Front Connecting the Motor Connect Opto Reference and Logic InputsForcetm Intentionally Left Blank Introduction to the Microstepping MForce PowerDrive ConfiguringFeatures and Benefits Microstepping MForce PowerDrive Detailed Specifications General SpecificationsSetup Parameters Mechanical Specifications Dimensions in Inches mmPin Assignment and Description Pin # Function DescriptionP3 Connector DC Power, 2-Pin Locking Wire Crimp P4 Connector MotorPrototype Development Cable Options and AccessoriesParameter Setup Cable and Adapters Intentionally Left Blank Forcetm Microstepping MForce PowerDrive Manual Revision R040507 Mounting and Connection Guidelines Mounting RecommendationsLayout and Interface Guidelines Securing Power Leads and Logic LeadsMounting Hole Pattern Motor P4 Power P3Logic and SPI Communications P1 Intentionally Left Blank Interfacing DC Power Choosing a Power Supply for Your MForce PowerDriveDC Power Supply Recommendations ISP300-7 Unregulated Switching SupplyRecommended IMS Power Supplies IP804 Unregulated Linear SupplyExample a DC Power Cabling Under 50 Feet Basic DC Power ConnectionRecommended Power and Cable Configurations Transformer 10 to 28 VAC RMS for 48 VDC Systems Motor Selection and Interface Selecting a MotorWinding Inductance Types and Construction of Stepping MotorsLead Stepping Motor Parallel Configuration Recommended IMS MotorsFrame Enhanced 2.4A Not Available with Double Shaft Frame Enhanced 3.0AFrame Enhanced 6.0A Frame Enhanced 6.3APhase Connector Pin Lead MotorsPhase a MForce PowerDrive Phase Outputs Recommended Motor CablingMotor Connections Example a Motor Cabling Less Than 50 FeetExample B Motor Cabling Greater Than 50 Feet Recommended Motor Cable AWG SizesMicrostepping MForce PowerDrive Manual Revision R040507 Isolated Logic Input Pins and Connections Isolated Logic Input CharacteristicsEnable Input Logic Interface and ConnectionStep Clock DirectionQuadrature Up/DownSTEP/DIRECTION Timing Optocoupler Reference Optocoupler ReferenceNPN Open Collector Interface Sinking Input Connection ExamplesSwitch Interface Sinking Switch Interface ExampleMinimum Required Connections +V +12 to +48Connecting SPI Communications SPI Pins and Connections Logic Level Shifting and Conditioning CircuitSPI Master with Multiple Microstepping MForce PowerDrive 4 SPI Master with a Single Microstepping MForce PowerDriveColor Coded Parameter Values Using the IMS SPI Motor Interface InstallationConfiguration Parameters and Ranges View IMS SPI Motor Interface Menu OptionsFile Help UpgradeRecall Msel Microstep Resolution Select Msel Microstep Resolution SelectionConnected/Disconnected Indicator FactorySet ExitScreen 2 I/O Settings Configuration Screen Enable Active High/LowInput Clock Type Input Clock FilterFault Indication IMS Part Number/Serial Number ScreenIMS SPI Upgrader Screen Upgrade InstructionsInitialization Screen Port MenuCheck Sum Calculation for SPI Using User-Defined SPISPI Timing Notes SPI Commands and Parameters MSBWrite SPI Communications SequenceAppendices Intentionally Left Blank Adapter Cables MD-CC300-000 USB to SPI Parameter Setup CableOptional Prototype Development Cables Installation Procedure for the MD-CC300-000 Installing the Cable/VCP DriversFigure A.5 Hardware Update Wizard Screen Determining the Virtual COM Port VCP PD12-1434-FL3 Power, I/O and SPI Wire Color CodePrototype Development Cable PD02-2300-FL3 Prototype Development Cable PD04-MF34-FL3Warranty Excellence in Motion