S
Dear all,
I am writing a small application to communicate with VMU-M and VMU-S devices by using Visual Basic.
This is my request sent to VMU devices: 02-03-03-0A-00-01-A4-7F where:
+ 02: Physical Address
+ 03: Function code to read holding register
+030A: Address to request the voltage value
+ 00-01: Quantity of register (in this case N = 1)
+ A4-7F: CRC16 value
After sending this message to VMU devices, this is the response message that I received:
02-03-02-00-ED-3C-09. I have known from this message that:
+ 02: Module code, this is 2 = VMU-S
+ 03: Function code
+ 02: 2 bytes
+ 00-ED: the voltage value
+3C09: CRC16 check
However, based on this message, I don’t know how to convert/understand the voltage value as float point. Could you please help me on this issue? Thank you so so much.
Best regards,
Susan
I am writing a small application to communicate with VMU-M and VMU-S devices by using Visual Basic.
This is my request sent to VMU devices: 02-03-03-0A-00-01-A4-7F where:
+ 02: Physical Address
+ 03: Function code to read holding register
+030A: Address to request the voltage value
+ 00-01: Quantity of register (in this case N = 1)
+ A4-7F: CRC16 value
After sending this message to VMU devices, this is the response message that I received:
02-03-02-00-ED-3C-09. I have known from this message that:
+ 02: Module code, this is 2 = VMU-S
+ 03: Function code
+ 02: 2 bytes
+ 00-ED: the voltage value
+3C09: CRC16 check
However, based on this message, I don’t know how to convert/understand the voltage value as float point. Could you please help me on this issue? Thank you so so much.
Best regards,
Susan
