Floating Point Averaging

alan_newark

Member
Join Date
Apr 2008
Location
Red Lion
Posts
2
Good Morning,

I was wondering if anyone can help me find a way to average floating point data in a Micrologix 1200. I am presently averaging interger data using the FFL and FFU, but I found out that those instructions do not support floating point as the source. Are there any examples or ways to do averaging of 30 samples of floating point data. Any help would be gratly appreciated.

Thanks
Alan
 
See this post:

http://www.plctalk.net/qanda/showpost.php?p=260919&postcount=5

Look at the ladder four in the attached example showing how to use a circular queue with indirect addressing. It also supports a running total so its not necessary to recalculate the sum of the entire data stack every scan. This particular example is for a Micrologix Long data type but can just as easily support floating point data.
 

Similar Topics

I need to check an axis actual travel position, and to compare it to the master travel position. To do this I have to multiply the axis travel...
Replies
6
Views
2,559
We have AOIs for projects, which handle material dosing (by hand or by pipes and pumps), obviously they have comparison between setpoint and...
Replies
50
Views
14,196
Hi eveyone. I need transfer signal from system 1 to DCS via modbus. System 1 only can send 32 bit floating point. DCS receive 16 bit integer. How...
Replies
20
Views
10,564
Hi, In my ladder logic, I've got a data register D60 whose value is -0.001 (when using monitor mode to see values). D406 is 0.250. But then...
Replies
5
Views
1,300
Hi, can anybody tell that how can we move floating point data from one Regiter to another register in Fatek PLC.?
Replies
0
Views
1,546
Back
Top Bottom