Im new at this whole programming thing, i am using a slc505 (ab) to send data to an ultra3000 servo indexing drive (on devicenet). I want to send the index count value from the plc to the servo drive via devicenet, but the drive has the value seperated into 4 bytes, high, high medium, low medium, low, how do i break up the interger value in the plc into these 4 bytes (thats my first question), my second question is how can i merge two bytes from the drive into 1 word in the plc or 4 bytes from the drive into 1 long interger in the plc!! please help, thanks!! jtwan
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.