Converter example – Rockwell Automation 1746-HSTP1 Stepper Controller Module/ User Manual User Manual
Page 68
Advertising
Publication 999-121 - December 1999
Application Examples 6-5
To enter negative position data by manipulating the bits manually:
1. Divide the absolute value into MSW, LSW.
2. Enter both MSW and LSW into the position MSW,LSW via
decimal.
3. Change radix to binary.
4. Set MSB (15) of the MSW.
To enter negative position data by calculating manually:
1. Divide the absolute value into MSW, LSW.
2. Enter the LSW value directly into position LSW.
3. Add the value of MSW to -32768.
4. Place the value into position MSW.
For example:
1. –5999 / MSW,LSW
= 5, 999
2. Assign position LSW = 999
3. 5
+ (–32768) = –32763
4. Assign position MSW = –32763
Converter Example
The following diagram shows the ladder programming for a converter.
Advertising