Hi,
I am working on to control a device over modbus. Reading is ok but i can not write multiple register inputs.
Device sends hex data as short[] array. While writing, i did the same but i got exception overflow..
I attached the spec page of the fuction.
Values should be :
Vega serial address : 1
Sub Function code : 2 (0x02)
Meter addressed : 1
Product addressed : 1 ( 0x31)
Sub function code : 2 ( 0x02)
Preset : 95.5 ( any double value)
Max Weight : 100 ( any double value)
Reserved : 0 (0x00)
How can i populate this message? I am trying for days. Already read all forums, blogs, everything..
Could anyone please help??