Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

What's a conventional way to set an address and baud-rate/parity on a Modbus device?

Is this supposed to be done using hardware switches or can be done through a software?

If done through a software, can this software be connected on the Modbus line or this has to be done through a separate diagnostics port?

share|improve this question
What does the device's manual say? – Brian Carlton Aug 7 '12 at 22:14
1  
@BrianCarlton What if O.P. haven't written the manual for his prospective device yet? – Nick Alexeev Aug 7 '12 at 22:19
@NickAlexeev You are correct. The device exists only on paper in a form of requirements list. – udushu Aug 8 '12 at 13:26

2 Answers

There isn't a standard way for this and it's up to a vendor to decide what settings he wants to provide open to a user and how these settings will be changed by the user. Baud rate and parity are almost always fixed and you can not change them. Address is usually changed using hardware switches. I have seen devices (usually gateways) with web interface where you can change all these and many other settings via web browser, and touch screen devices with embedded Linux where you set these settings via setup screens and/or menus, but these are more expensive and not so common devices that fit less then 3% of the total number of all MODBUS devices.

share|improve this answer

There is really no standard. It's a choice left to the device designer. I've worked on a few ModBus instruments, and they were all 19200 8N1, but they all were from the same brand.

On every one, setup of modbus parameters were done from the device service menu or from the ModBus itself after setting a configuration dip switch (without the switch on, registers for those parameters are readonly)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.