First step: figure out the ones and zeroes. My guess would be "0015 003f" is a 1 and "0015 0015" is a 0. That leaves one case of "0015 0040" which is close enough to "0015 003f" to be called a 1. After doing those replacements:
This is great, thank you. I will probably have to study this method, i am sorry if this is a standard practice. I am new to this RS232 control of equipment through Arduino. If you have a suggestion on some article about this conversion for further study, it would be great.Thanks again really