AVE, STD and SIZE: Statistics Over an Array, and the Scan They Cost
One STD instruction over a 1000-element array costs about 4.8 ms on a ControlLogix 5580. LOGIX-RM002B prints the four STD rows as 1.043 to 1.220 µs of overhead plus 4.79 to 4.96 µs for every element, and 1000 elements at the cheapest of those rows is 4790 µs. Call it 4.8 ms, on one rung, … Read more