MauritsKoppe
Member
Hello,
I am using an A&B Micro820 togehter with ccw. Reading a device via Modbus RTU. This goes all OK.
Now I am reading a Modbus register which represent two ASCII characters.
The word value that I am reading is 12857, this is Hex 3239. This is correct.
Now I want to convert this number to his ascii value and store this in a string. So the string will be equal to 29.
Here I am struggling.
Using the COP instruction doesn't work or I am doing something wrong.
Using the ASCII instruction only allows one char (8 bits).
Does anyone know a solution?
Thank you.
I am using an A&B Micro820 togehter with ccw. Reading a device via Modbus RTU. This goes all OK.
Now I am reading a Modbus register which represent two ASCII characters.
The word value that I am reading is 12857, this is Hex 3239. This is correct.
Now I want to convert this number to his ascii value and store this in a string. So the string will be equal to 29.
Here I am struggling.
Using the COP instruction doesn't work or I am doing something wrong.
Using the ASCII instruction only allows one char (8 bits).
Does anyone know a solution?
Thank you.