Micrologix 1100 Running File Average Code

Job ID: 36906141

Budget: $10 – $30 USD

Micrologix 1100 Has no File Average Instruction
Analog input on I:0.4
Raw input 0 - 1023 Scaled to 0 - 143
Destination N7:2
Need 25 samples (Adjustable) over time (Adjustable)
FFL and FFU using N9 and a running average on the 25 points of data
in N9.
Normally you would load a FFL with 25 value from N7:2 use the FFU to unload and load fresh data in FFL and use #N9:0 25 values in an AVG block, but MICROLOGIX 1100 does not support the AVG instruction
Related categories: Microcontroller PLC