Multiple read & write modbus registers for ILX34-MBS (Compactlogix)

Join Date
Dec 2013
Location
New Damietta city
Posts
34
Dear Experts,
Can you help me, I am using compactlogix cpu with ILX34-MBS485 card as Rs485 master in serial modbus network to make communication wth micro850 as slave.
But I have 2 questions:
1- How can I read Multiple registers per one command although in the configuration of ILX34-MBS only you can identify one register address per command.
Ex: if i have 2 real registers to read 300001-300002 & 300003-300004.
2- Can I enable all 30 commands at one time or it will make problem?
In attachment my ILX34 Configuration to read 2 real registers per 1 command

registers.PNG config.PNG
 
If the registers are contiguous, as in your example, you simple increase the count of registers to read to encompass the full block.
 
If the registers are contiguous, as in your example, you simple increase the count of registers to read to encompass the full block.
Thanks Dravik for your reply.
if I put the first word address in configuration and I will increase no. of count.
So, I can read all the registers . Is it right?
and what about enabling all commands at one time or must toggle between commands.
 
Offhand I don't know re: the commands. I would pose that question to Prosoft's tech support and see what they recommend.
 
you should be able to read multiple addresses in a single modbus poll. There are some things in my experience that limit this though. Baud rate, serial cable length, and number of addresses being polled at once. If you have a high baud rate, long cable length, and high number of addresses being poled at once you may have issues. If you have a long cable and want to poll multiple addresses, lower your baud rate. If you need a high baud rate and have a long cable, split your number of addresses into multiple polls. etc etc. you have to find a happy balance.

sorry i cant help more with your configuration question, my comments more apply to modbus protocol experience
 

Similar Topics

Hello Friends; We have 10 NOS. the machines which were designed in RSLOGIX 5000 and the control system is TT4000 by SOLAR TURBINE. I want to...
Replies
11
Views
3,833
I have twelve ControlLogix controllers spread throughout an oil production facility with local Panelviews on each unit. All PLCs are connected...
Replies
5
Views
3,557
Hi all, I would like to read ASCII weight from 2 scales into a single serial port on a MicroLogix 1400 using RS-485. I haven't seen any posts on...
Replies
0
Views
3,103
Hi! Can anyone help me with ModBus TCP Read Multiple Registers(Function Code 03)? I have a Master Request: 00 00 00 00 00 06 01 03 64 06 00 07...
Replies
2
Views
3,923
Hi all, I am writing a program where the user will input a bunch of individual registers they want to read. I am going to sort these registers...
Replies
2
Views
13,666
Back
Top Bottom