51
Technical support / Re: Reading a string using MODBUS RTU
« Last post by support on March 01, 2023, 07:45:08 AM »Sorry for the confusion as the forum reformatted the code section because I forgot to enclose the section with the code markup - this has now been fixed.
I have attached the PC7 program file for demonstration. You should observe DM[1] to DM[20] contains the ASCII value of each byte in the string A$ = "OPEN EMERG STOP SW" The screen capture below shows these byte values in HEX mode.
I have attached the PC7 program file for demonstration. You should observe DM[1] to DM[20] contains the ASCII value of each byte in the string A$ = "OPEN EMERG STOP SW" The screen capture below shows these byte values in HEX mode.