Intelligent Motion Systems Motion Detector operating instructions SPI Commands and Parameters, Msb

Page 62

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

42

Microstepping MForce PowerDrive Manual Revision R032008

Image 62
Contents Forcetm Microstepping MForce PowerDrive Product Manual Important information This page intentionally left blank 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 R032008 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 PowerDriveRecommended IMS Power Supplies DC Power Supply RecommendationsISP300-7 Unregulated Switching Supply 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 Winding Inductance Motor Selection and InterfaceSelecting a Motor Types and Construction of Stepping MotorsLead Stepping Motor Parallel Configuration Recommended IMS MotorsFrame Enhanced 6.0A Frame Enhanced 2.4A Not Available with Double ShaftFrame Enhanced 3.0A Frame Enhanced 6.3APhase Connector Pin Lead MotorsPhase a Motor Connections MForce PowerDrive Phase OutputsRecommended Motor Cabling Example a Motor Cabling Less Than 50 FeetExample B Motor Cabling Greater Than 50 Feet Recommended Motor Cable AWG SizesMicrostepping MForce PowerDrive Manual Revision R032008 Enable Input Isolated Logic Input Pins and ConnectionsIsolated Logic Input Characteristics Logic Interface and ConnectionQuadrature Step ClockDirection 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 SelectionSet Connected/Disconnected IndicatorFactory ExitInput Clock Type Screen 2 I/O Settings Configuration ScreenEnable Active High/Low Input Clock FilterFault Indication IMS Part Number/Serial Number ScreenIMS SPI Upgrader Screen Upgrade InstructionsInitialization Screen Port MenuMotor Settings Screen PWM Current Control PWM MaskMaximum PWM Duty Cycle % Parameter PWM Frequency Range ParameterExample PWM Settings By Motor Specifications PWM Control BitsCheck Sum Calculation for SPI Using User-Defined SPISPI Timing Notes SPI Commands and Parameters MSBWrite SPI Communications SequenceIntentionally Left Blank Appendices 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

Motion Detector specifications

Intelligent Motion Systems (IMS) Motion Detector is a cutting-edge device designed for advanced motion detection and automation applications. This state-of-the-art technology plays a crucial role in enhancing security systems, managing smart homes, and facilitating industrial automation. With a focus on reliability, efficiency, and real-time responsiveness, the IMS Motion Detector brings numerous advantages to users.

One of the main features of the IMS Motion Detector is its high sensitivity and precision in capturing motion. Utilizing advanced infrared (IR) and microwave sensing technologies, the device can detect movement with remarkable accuracy, even in challenging environmental conditions. This dual-sensing approach allows for greater versatility, minimizing false alarms while ensuring reliable detection of genuine movement.

The IMS Motion Detector is designed with energy efficiency in mind. Employing low-power consumption technologies, it is ideal for long-term installations, reducing the need for frequent battery replacements or energy costs. Furthermore, the device offers customizable settings, enabling users to adjust sensitivity levels, detection range, and operational modes according to specific needs. This adaptability makes the IMS Motion Detector suitable for a variety of applications, from residential to commercial settings.

Another notable characteristic of the IMS Motion Detector is its seamless integration capabilities. It can be easily incorporated into existing security systems or smart home networks, allowing users to monitor and control their environments through user-friendly applications. Compatibility with popular home automation platforms further enhances its utility, enabling users to create automated scenarios, such as turning on lights or sending alerts to mobile devices upon detecting motion.

The device is built to withstand various environmental factors, featuring weather-resistant housing for outdoor use. Its robust construction ensures durability while maintaining optimal performance over an extended period.

In summary, the Intelligent Motion Systems Motion Detector is a sophisticated device that stands out for its advanced detection technologies, energy efficiency, customizable settings, and seamless integration capabilities. Whether used for enhancing security or automating daily routines, the IMS Motion Detector represents a significant innovation in the realm of motion detection and management. Perfect for both residential and commercial applications, it ensures users can monitor their environments with confidence and ease.