Hello,
I am receiving a 15 byte long hex status message from a device over an RS-485 network and storing the message in an MI vector on a V570. The 5th and 6th bytes of the status message are the High and Low bytes of the value I want to display. the 5th byte stores in one MI and the 6th in the MI after (466 and 467). So if 5 is 04 and 6 is 8B I should get 1163 when converted to DEC. The values are coming in as 0004 and 008B, which if I convert gives me 262,283.
My question is how do I combined only the MSB of the two registers to achieve the number I am looking for? I tried mapping register bytes, but apparently this only works when the bytes are in the same register.
Thanks to anyone who can help me out with this.
Sincerely,
Jared