Kkula
Browse Questions » LOGO! - Projects: Fuel valve Trial stand

About User

Questions Asked: 3.6K

Answers Given: 0

0
  • Open
  • New

LOGO! - Projects: Fuel valve Trial stand

Hi there, I am retrofitting a controller for a fuel vale test stand. I have all working with one exception.
The venting function, I am stuck in a thinking loop in my mind, I suspect that the solution is simple, and I am overthinking it.....
To explain, during the venting function test the pressure is slowly manual lowered until the valve opens for flashing venting, and the pressure drops fast to close of zero. The last higher pressure before dropping of the pressure fast needs to be shown on the display.
Does anybody have a solution as a reversed sample and hold or as a memory function.
I attached a cleaned up version, the pressure opening test is working perfect.

0 Likes 0 Favourites 0 Followers 0 Comments
Answers(1)

Fuel Valve Test Stand Venting Function - Displaying Peak Pressure

You're on the right track thinking about a "sample and hold" or memory function. Here’s how you can achieve this in TIA Portal:

  1. Use a Data Block: Create a data block to store the peak pressure value.
  2. Monitor Pressure: Continuously monitor the pressure value during the venting process.
  3. Peak Detection Logic: Implement logic (e.g., using a MAX function) to compare the current pressure with the stored peak value. If the current pressure is higher, update the stored peak value.
  4. Trigger on Pressure Drop: Detect the rapid pressure drop (valve opening). This could be a rate-of-change check or a threshold.
  5. Display Peak Value: Once the rapid pressure drop is detected, display the stored peak value on the HMI.
  6. Reset Peak: Reset the peak value to zero or an initial value after the venting cycle completes.

Resources:

Consider using a timer to ensure the peak value is captured correctly before the pressure drops. Share your code snippet if you need further assistance.

0
Add a comment