cross1284
Member
I have a tough problem. I am communication with potentially dozens of units over a modbus network. In my G3 software i am trying to poll information from a minimum amount of units at a time because it seems as though if the G3 tried to communicate with all of the units continously there are communication issues and extremely long wait times. Another problem related is that if one of the devices that is referenced in a custom program that is not available, either the unit is disabled or not connected/powered on, the program refuses to run. I deduce that this is because the G3 reads all the addresses before executing the code and then inserts the appropriate data in the code. If the information is not available it cant run the program. Read then Run anyway won't work for my application as this seems to attempt to read the addresses continually also, which is what im trying to avoid. I am now trying a tactic to set a flag for a specific unit inside of a program, then run another program when that flag is set. This seems to remove the pre-caching issue that the G3 does for its programs. How does this sound? Any ideas?
**Forgot to mention i am trying to disable and enable the plc devices as needed. It seems as though if i disable a device from the Comms window i can not enable it in software. And if i do have it enabled in Comms, if i disable it in software, i cant re-enable it.
**Forgot to mention i am trying to disable and enable the plc devices as needed. It seems as though if i disable a device from the Comms window i can not enable it in software. And if i do have it enabled in Comms, if i disable it in software, i cant re-enable it.
Last edited: