×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

High Word, Low Word Data

High Word, Low Word Data

High Word, Low Word Data

(OP)
I have an application where i am using an A/B plc with an ultra 3000 servo drive. I am sending data from my plc to the drive for indexed positions but the drive is requesting the data in seperate high and low words. Can anybody assist me on how to go about doing this to.

RE: High Word, Low Word Data

The high and low word arrangement typically wants to have the data value divided such as this:

Example data value 4095
The high word would be 4 (4095 / 1000)
and the low word would be 95 (remainder)

You basically divide the value by 1000, and put the results
in two separate words.

Depending on your application the high word may be the most significant or the least significant.

RE: High Word, Low Word Data

(OP)
So NWBeaver what if the data value being sent was 250,000. If you send this value would it still have to be divided by 1000.

high word being 250 (250,000/1000)
and low word being 0

What is the maximum data value that can be divisable by 1000 or that can be stored in the high and low word.
Would it be 65 536 x 1000 = 65,536,000. Cause if you divide 65,536,000 by 1000 then that gives you 65,536 which is the maximum value that can be in one word. Is this right.

Thanks for the help

RE: High Word, Low Word Data

Yes, 250,000 would be 250 and 0.
The applications that I have seen were capable of values up to 999,999, but in theory I suppose you could go much higher as you suggest.
The high word, low word idea just allows a value greater 65,536 to be passed, as a way of getting around the limitations of a 16 bit integer, since not all systems can handle 32 bit integers.

RE: High Word, Low Word Data

(OP)
NWBeaver thanks for the help. much appreciated!!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources