1
Support Questions / Re: Is 250 ethernetipfromclx devices too many?
« on: May 16, 2014, 04:25:52 PM »
The network I'm on has a fiberoptic backbone and I have ethernet module diagnostics running all the time on every PLC so I'll know if they are hitting threasholds so I'm not too overly concerned about the bandwidth. I'll put in a parameter to change all those pollrateoverrides at runtime just in case.
It turns out that I just had to increase the size of the array of DLL's in the EthernetIPforCLXcom routine from 10 to 25 and its fine.
Private Shared DLL(25) As MfgControl.AdvancedHMI.Drivers.CIP
It gets kind of messy having that many objects shown in the designer and it seems to bog down the designer so I'm still interested in canning the com driver into my custom control and just defining the details like IP and pollrate at design time in an parameter when the custom control is created, but Its giving me lots of problems, something to do with referencing the project vs referencing the file. I'm getting mismatchs in the mainform from types that match in the custom control.
I'm wondering if you can add an ethernet comm pragmatically from a template? Then I could just create a list of IPs and slot numbers and add the EthernetIPforCLXcom at designtime
It turns out that I just had to increase the size of the array of DLL's in the EthernetIPforCLXcom routine from 10 to 25 and its fine.
Private Shared DLL(25) As MfgControl.AdvancedHMI.Drivers.CIP
It gets kind of messy having that many objects shown in the designer and it seems to bog down the designer so I'm still interested in canning the com driver into my custom control and just defining the details like IP and pollrate at design time in an parameter when the custom control is created, but Its giving me lots of problems, something to do with referencing the project vs referencing the file. I'm getting mismatchs in the mainform from types that match in the custom control.
I'm wondering if you can add an ethernet comm pragmatically from a template? Then I could just create a list of IPs and slot numbers and add the EthernetIPforCLXcom at designtime