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

Page 61
Image 61
Intelligent Motion Systems Motion Detector Using User-Defined SPI, SPI Timing Notes, Check Sum Calculation for SPI

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.