beautypg.com

Entering negative position data – Rockwell Automation 1746-HSTP1 Stepper Controller Module/ User Manual User Manual

Page 67

background image

Publication 999-121 - December 1999

6-4 Application Examples

Entering Negative Position Data

The position data is sign magnitude. There are three ways to easily
assign a negative number:

• Using the ladder
• Manipulating the bits manually
• Calculating manually

To enter negative position data using the ladder:

1. Divide the absolute value into most (MSW) and least significant

(LSW) words.

2. Use bitwise “inclusive or” with MSW and 32768.

3. Place the result in the position MSW, LSW.