Log max value from load cell

jonlaicov

Member
Join Date
Oct 2014
Location
Mullica Hill
Posts
1
Hello, I'm new to using PLC and am just starting to learn to use the programming logic. I'm using a AB Micrologic 1400 with an HMI using to control a rig motor and log 3 sensors. There is 1 load cell that is used to capture a force that is on / off. the data is collected every minute or 6 minutes. I want to be able to log (very accurately) the peak or max value coming from the load cell. Can someone help explain how to write the logic to achieve this? Just use a A-greater-b function?

Thanks in advance
 
If I understand correctly, you are collecting load cell data continually, and you want to report the peak value every minute (or 6 minutes). In the simplest form this could be done with a GRT as you suggest. If N7:0 is your storage register, for example, continually compare [load cell value] > N7:0 and MOV the load cell value to N7:0 (replacing the smaller value) if the comparison is true. You'd have a timer running the entire time that would do something with N7:0 (the peak value) after 60 or 360 seconds, then reset it for the next run.
 
Something like this?
During a one minute period check the load cell against the peak. If its higher record a new peak. At the end of the one minute period store the peak in a FIFO queue that holds six data points (six minutes).

tc1030141.jpg
 
If I understand correctly, you are collecting load cell data continually, and you want to report the peak value every minute (or 6 minutes).
Kolyur, I think there was one of those pesky typos, and the f got left off of "for", changing the total meaning.
...the data is collected every minute for 6 minutes.
Tim has nailed it all down with a nice program.
 

Similar Topics

Hi all-- I need to create code in a Micrologix 1400 project that requires minimum, maximum and running average calculated values (Flows and...
Replies
17
Views
3,738
I've got a 4-20ma pressure transducer connected to an analog card on an AB PLC5. Under the setup for the card, I have to set a raw minimum and...
Replies
12
Views
7,380
We are looking to install a Sy/max DLM-110/120 D-Log data controller module to our Sy/Max 400 PLC system in order to collect some PLC register...
Replies
3
Views
1,476
Good day house, I am having a problem with the analog output of GE VERSAMAX PLC. The analog output is configured to produce 4-20Ma to an I/P...
Replies
8
Views
2,206
hi, I am new to PLC programming. now i am doing a mini project using PLC to control the temperature of liquid.I have RTD and it's signal...
Replies
5
Views
4,722
Back
Top Bottom