Micrologix 1100 - Multiple Modbus Adresses

N_Thompson

Member
Join Date
Jan 2011
Location
Melbourne
Posts
2
Hi all,

I am working on a project where we are using a ML1100 as a modbus master for a large number (10) of identical slaves.

I am currently communicating to 2 with no issues at all with MSG commands.

My Question is, is there a way to 'cycle through' the modbus addresses with the MSG command? Or would I have to address each one seperately?

I would like to write a subroutine where I can write a general program and repeat it for all the slaves in the system. This would create a simpler and smaller program.

Thanks for any help in advance!
 
Caution, I haven't done this. But create one message with an easily recognizable modbus address. Then look at the MG file. You should see the address easily. To be sure, modify the address, accept the rung then check again. Even though this isn't recommended, once one message is complete modify the address then trigger the message again. See if it works.
 
That worked quite well. Thank you!

I have an 'add' block that adds 1 to the node address every cycle through. When it returns an error, (ie when there is nothing at the node) I have it returning back to the start.
 

Similar Topics

A deep thinker engineering question that I pose to you. I have 6+ machines with basically the same PLC program (Micro 1100 with 4 cards). My...
Replies
4
Views
2,849
I am currently backing a Micro Logix 1100 and no-one seems to have the file for me to upload from. Is there a way for me to upload the project off...
Replies
15
Views
394
I am trying to set up a read message in a MicroLogix1100 to read the value of a DINT in a ControlLogix5561. I have successfully set up a message...
Replies
2
Views
166
Hello, I have an existing application that has a Powerflex 700 with a 20-COMM-E adapter controlled by a Micrologix 1100 via Ethernet. The setup...
Replies
6
Views
1,156
I have a MicroLogix 1100 and it's capable of ac or dc output voltages. What I don't know is how I'm supposed to tell the 1100 to use dc for the...
Replies
13
Views
1,357
Back
Top Bottom