compare multiple float points...

escoplcguy

Member
Join Date
Jun 2010
Location
New Jersey
Posts
191
Hey guys,

I wanted to see if there was a better way to compare 10 points (or more) using a limit instruction.

I have 10 points of data that get generated and they all need to fall within a bandwith. for example the bandwith or limitations are lets say 1 to 30. i will capture 10 readings and store them to a floating data file. then i want to check all the points agains my bandwith to make sure they all fall within the tolerance. right now i set up 10 different LIM instructions branching them all down to trigger the accept output. just wanted to see if there was a differnt way or better way of doing this?
 
looking around i guess what may be useful is a FSC instruction which would tell me i didnt give enough info......


i am programing a micrologix 1100 using rslogix 500. a fsc instruction is not supported.
 
For ten data points the brute force method used already is the simplest to understand, and not particularly hungry of processor resources.

A benefit of the brute force method is you can easily indicate which parameter is out of spec. Using FSC with a compound expression will only tell you that one or more (unspecified) parameters didn't make the FSC expression true.
 

Similar Topics

Hello, I'm looking for a simple way to compare multiple string files with a single string file. If I have a group of 10 files buffered in a...
Replies
3
Views
4,208
Im writing values to different N7 addresses from my operator interface. Im writing at least eight values ranging in value from (0-7) These...
Replies
3
Views
3,349
Help please. Im new to Omron and have a machine down. I have a compare = for barcode label scan. I've attached two pics. On the Mnemonics you can...
Replies
4
Views
643
Hi everyone! Accidentally closed it and it wont appear again. Checked and unchecked the option and seem to make no difference. Running v7.10.00...
Replies
16
Views
1,954
I'm working on an array that contains a UDT of 5 Items Array[4] DataType[0] - Part 1 - Part 2 - Part 3 - Part 4...
Replies
1
Views
855
Back
Top Bottom