Hi,
I am using a Click PLC for MODBUS communication with a range of gas sensors - everything is going reasonably well in that I can read / write registers with no issues until it comes to reading serial number information from the sensor.
The first character is supposed to be read as an ASCII character - I read 0054h from the register which should equate to 'T' - all good until I copy this to a text memory address where the click returns '8' (the text viewer tells me this address has a hex value of 38 stored).
Is someone able to tell me where I'm going wrong? i.e why does 54h, copied to a text location, return a '8' and not 'T'?
Any help would be greatly appreciated.
I am using a Click PLC for MODBUS communication with a range of gas sensors - everything is going reasonably well in that I can read / write registers with no issues until it comes to reading serial number information from the sensor.
The first character is supposed to be read as an ASCII character - I read 0054h from the register which should equate to 'T' - all good until I copy this to a text memory address where the click returns '8' (the text viewer tells me this address has a hex value of 38 stored).
Is someone able to tell me where I'm going wrong? i.e why does 54h, copied to a text location, return a '8' and not 'T'?
Any help would be greatly appreciated.