11
Support Questions / Re: How to Avoid PLC and PC timeouts
« Last post by paintman on April 02, 2024, 12:58:56 PM »Hey Archie, I know this is an old thread but I had to take a step back for other projects.
I don't think I fully understand the way the elements, plcaddressitems, and e.values would work. Does e.values report single values based on the elements?
So we have 85 carriers on our line that pass through a scanner to tell us which one it is (they are not in order)
So in my code it would be Carrier_Info[Stop_1.Carrier_Number] as the main tag and then the elements follow would be paint_color, name, oven_cycle and so on.
So would I need to just define 85 plcaddress items each with 8 elements and then still use the carrier number variable to define the e.value?
I don't think I fully understand the way the elements, plcaddressitems, and e.values would work. Does e.values report single values based on the elements?
So we have 85 carriers on our line that pass through a scanner to tell us which one it is (they are not in order)
So in my code it would be Carrier_Info[Stop_1.Carrier_Number] as the main tag and then the elements follow would be paint_color, name, oven_cycle and so on.
So would I need to just define 85 plcaddress items each with 8 elements and then still use the carrier number variable to define the e.value?