Greetings and salutations,
Being very wet behind the ears in Java I'm getting my head around the Modbus protocol and stumbled across your library.
Now I managed to read the settings from the device I've connected, but surely I must be able to change some settings?
Reading http://inp-xray.googlecode.com/svn/trunk/lizard/LDRDTestingSoftware/src/net/wimpi/modbus/util/SerialParameters.java revealed some methods that I could use, but how do I change the Madbus address of any device?
I've been scouring the web for some days now, but am uncertain on how to go about it.
Some help or pointers would be greatly appreciated.
Kind regards,
Juan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Changing a Modbus device's address is device-dependent. Typically there would be jumpers or DIP switches, so that Modbus isn't required to make the change before Modbus is able to access the device. In other cases the device will have a default unit number that is then modified with a Modbus command.
Please see your device manual for more details.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Greetings and salutations,
Being very wet behind the ears in Java I'm getting my head around the Modbus protocol and stumbled across your library.
Now I managed to read the settings from the device I've connected, but surely I must be able to change some settings?
Reading http://inp-xray.googlecode.com/svn/trunk/lizard/LDRDTestingSoftware/src/net/wimpi/modbus/util/SerialParameters.java revealed some methods that I could use, but how do I change the Madbus address of any device?
I've been scouring the web for some days now, but am uncertain on how to go about it.
Some help or pointers would be greatly appreciated.
Kind regards,
Juan
Juan,
Thanks for the kind greetings.
Changing a Modbus device's address is device-dependent. Typically there would be jumpers or DIP switches, so that Modbus isn't required to make the change before Modbus is able to access the device. In other cases the device will have a default unit number that is then modified with a Modbus command.
Please see your device manual for more details.