Are you sure you are processing your array in the proper order?
I am also converting, DATAIN VAR BYTE[5] to one byte.
RESULT=DATAIN[0]+(DATAIN[1]*10)+(DATAIN[2]*100)+(DATAIN[3]*1000)+(DATAIN[4]*10000)
I was just about to search for a post. Someone had told me lately how to do the conversion and I was going to doublecheck my formula.
Robert
![]()
Bookmarks