I am using an Omron NJ controller and a Cognex Dataman 260 bar-code scanner. At this point I can trigger the scanner and receive data from the scanner via ethernet/ip.
My issue is in converting the response from the scanner to something human readable.
The bar-code I scanned reads "872-3GSq". The results of the scan are located in the variable Dataman_to_NJ[8]-[11].
At some point I know I need to use the SWAP function but I believe my lack of data type knowledge in this system is hindering me.
How can I convert the value in Dataman_to_NJ[8] to the string "87"?
Any assistance would be appreciated.