Intelligent Motion Systems Motion Detector Using User-Defined SPI, SPI Timing Notes

Page 61

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.

Part 2: Interfacing and Configuring

41

Image 61
Contents Forcetm Microstepping MForce PowerDrive Product Manual Important information This page intentionally left blank Table Of Contents Appendices List of Figures List of Tables MForce PowerDrive Front Microstepping MForce PowerDriveStepping 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 CrimpParameter Setup Cable and Adapters Options and AccessoriesPrototype Development Cable Intentionally Left Blank Forcetm Microstepping MForce PowerDrive Manual Revision R032008 Mounting Recommendations Mounting and Connection GuidelinesMounting Hole Pattern Securing Power Leads and Logic LeadsLayout and Interface Guidelines Logic and SPI Communications P1 Power P3Motor 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 SupplyRecommended Power and Cable Configurations Basic DC Power ConnectionExample 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 R032008 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 PowerDriveConfiguration Parameters and Ranges Using the IMS SPI Motor Interface InstallationColor Coded Parameter Values File IMS SPI Motor Interface Menu OptionsView Recall UpgradeHelp 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 ScreenPWM Mask Motor Settings Screen PWM Current ControlPWM Frequency Range Parameter Maximum PWM Duty Cycle % ParameterPWM Control Bits Example PWM Settings By Motor SpecificationsSPI Timing Notes Using User-Defined SPICheck Sum Calculation for SPI MSB SPI Commands and ParametersSPI Communications Sequence WriteIntentionally Left Blank Appendices Intentionally Left Blank Optional Prototype Development Cables MD-CC300-000 USB to SPI Parameter Setup CableAdapter 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

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.