Changing the Micro820 Modbus-RTU Slave address

RMore

Member
Join Date
Dec 2011
Location
Kenmore, NY
Posts
64
I am using a Micro820 controller setup with the Modbus RTU in slave mode. Is there a way to change the slave address from within the application?
 
Changing the Modbus slave address at runtime (I think that's what you mean) would be very tricked out. That sort of feature would be in Control Microsystems' wheelhouse, not Allen Bradley's
.
I'm guessing you want to write one and the same program to many sites and have each program self-identify on startup. OK, but how? With an external thumbwheel or equal? It'scertainly a valid problem, but I don't a solution off hand.
 
We would like the user to be able to select from one of 4 available unit addresses using jumpers on the PLC inputs.

I realize this would cost more money, but it would be so much easier for the operator to use an HMI.

Then on the HMI have 4 buttons - then all the operator would need to do is press the button for the location the unit needs to talk with.

Forgive me, if I have not understood your question!
 
I appreciate the feedback. We have considered the HMI and it remains an option. This is not the issue. My question how is this done in the code. I have looked at the users guide and do not see information for changing the unit address during run-time.
 
I have a solution.


It appears that I can use the MSG_CIPGENERIC function to over-ride the Modbus RTU address during run-time.


Example can be found in the Micro820 Programmable Controllers User Manual. Search for RMCC.


You can also use this method to over-ride the Ethernet IP settings
 

Similar Topics

Hi to all. We need to change a bad powerFlex 525 to a new one. How do you save the configuration to install in the new one? Thank you all for...
Replies
5
Views
236
Hi all, I am having an issue where some of my HMI push Buttons and Indicators go in to error when I navigate to a new screen. I am using a...
Replies
16
Views
472
We have a new machine that uses an armor block to transfer input signals for conveyor position that continuously alarms out on no position change...
Replies
0
Views
92
Hello everyone, I am trying to change the IP address of the Omron PLC (NJ30-1200) and HMI (NB7W-TW01B) to fetch the network on our network...
Replies
7
Views
289
Dear Experts, I'm just started working with GEO SCADA and I need your valuable help. Currently, I'm trying to edit the alarm limits on MIMIC...
Replies
0
Views
214
Back
Top Bottom