M
Hi there, could really use some help!
I am trying to read data from a Socomec Diris A40 using NModbus, an C# implementation of Modbus.
http://code.google.com/p/nmodbus/
I have used sample code as a template, tweaked a little and have managed to read some values from the device. The problem is I dont know which values they are as the Diris documentation lists hundreds of addresses, but not all of them valid (at least in my case). I cannot access the registers I am looking for (Active/Reactive/Apparent power) because the addresses specified are incorrect(SlaveException). Are they in fact wrong, or am I coding/thinking incorrectly? How can I find the right ones? Should I be using the entire address number? 50536 for example.
I am definitely getting values from the device with guessed addresses, and they are in decimal. Is this normal? Other posts and documentation suggest I should be returned hex values? Does this matter?
Any help would be much appreciated!!
...the exception is the same as this one discussed here:
http://groups.google.com/group/nmod...1?lnk=gst&q=register+address#3616ae5b2e5ae0a1
I am trying to read data from a Socomec Diris A40 using NModbus, an C# implementation of Modbus.
http://code.google.com/p/nmodbus/
I have used sample code as a template, tweaked a little and have managed to read some values from the device. The problem is I dont know which values they are as the Diris documentation lists hundreds of addresses, but not all of them valid (at least in my case). I cannot access the registers I am looking for (Active/Reactive/Apparent power) because the addresses specified are incorrect(SlaveException). Are they in fact wrong, or am I coding/thinking incorrectly? How can I find the right ones? Should I be using the entire address number? 50536 for example.
I am definitely getting values from the device with guessed addresses, and they are in decimal. Is this normal? Other posts and documentation suggest I should be returned hex values? Does this matter?
Any help would be much appreciated!!
...the exception is the same as this one discussed here:
http://groups.google.com/group/nmod...1?lnk=gst&q=register+address#3616ae5b2e5ae0a1