JLand
Member
I have 6 Modbus devices that I need to get communicating with an L72. Rockwell supplies a program that allows one of their controllers to act as a Modbus master, but it only supports 4 devices out of the box. They do have a rung comment that claims more than 4 devices is possible with modification. Rockwell support (understandably) is not useful for using their program like this, outside their specifications.
So far, I have increased array sizes and added tags appropriately, added rungs, and modified labels. I have gone through the code a dozen times over the past few weeks and just can't hack it. I am pointing all my connections to the same device, connections 0-3 are working fine, 4-5 (the ones I added) are not. Disabling one or more of the working connections does not fix either of connection 4 or 5.
My question is, does anyone have experience with this program and can help? Has anyone successfully modified it to work with more than 4 devices? I am at wits end, I am starting to think it was better to just import RA's supplied program twice and run two instances of it in parallel using local tags instead of global tags where necessary.
Any help would be appreciated enormously, thanks. Let me know if there is anything I can do to help with this process.
So far, I have increased array sizes and added tags appropriately, added rungs, and modified labels. I have gone through the code a dozen times over the past few weeks and just can't hack it. I am pointing all my connections to the same device, connections 0-3 are working fine, 4-5 (the ones I added) are not. Disabling one or more of the working connections does not fix either of connection 4 or 5.
My question is, does anyone have experience with this program and can help? Has anyone successfully modified it to work with more than 4 devices? I am at wits end, I am starting to think it was better to just import RA's supplied program twice and run two instances of it in parallel using local tags instead of global tags where necessary.
Any help would be appreciated enormously, thanks. Let me know if there is anything I can do to help with this process.