Skip to content

robotikklinja/Flow-and-level-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flow-and-level-control

PLC Flow and level control station image Fusion360 Model

3D models

Water-connectors in PDF and Draw.io source file

BOM control loop electronics

Improvements

Limit switch feedback

The motorized ball valve has built in end stops but does not signal the PLC when they are triggered. A circuit can be made that detects if theres is a current flowing through the motor.

Here is an online simulation of the circuit in Falstad.

4-20mA to 2-10V

The liquid level sensor emitts a 4-20mA current signal, we need to convert it to a voltage signal that the PLC can detect. We wil use a 500 Ohm pull down resistor attached to the PLC input pin to do this.

Fast digital input for flow meter pulses

The flow sensor will emitt pulses with potentially "high frequence" so we need to not have the PLC miss any. From the PLC manual:

"Digital inputs Digital inputs begin with the letter I. The number of the digital inputs (I1, I2, ...) corresponds to the number of the input connectors of the LOGO! Base Module and of the connected digital modules, in the order of their installation. You can use the fast digital LOGO! functions 4.1 Constants and connectors LOGO! System Manual, 7/2022, A5E33039675-AK 125 inputs I3, I4, I5, and I6 of the LOGO! versions LOGO! 12/24 RCE, LOGO! 12/24 RCEo, LOGO! 24 CE and LOGO! 24 CEo as fast counters. Note To avoid that the LOGO! Base Module fails to read input signals because its built-in MCU (Microcontroller Unit) is too sensitive and runs much faster than those in previous LOGO! devices, an on-/off-delay function is designed for LOGO!: • For LOGO! 230RCE and LOGO! 230RCEo, a 25 ms on-delay time and a 20 ms off-delay time are defined for digital inputs I1 to I8. • For all the other LOGO! versions, a 5 ms on-delay time and a 5 ms off-delay time are defined for all the digital inputs. Besides, when the LOGO! Base Module is in slave mode, a 5 ms on-delay time and a 100 ms signal-retentive-time are defined for all the digital inputs."

So we will use digital imputs I3-I6 for the flow sensor. And check the manual for how to use: "...the fast digital LOGO! functions 4.1 Constants and connectors LOGO! System Manual, 7/2022, A5E33039675-AK 125 "

About

PLC Flow and level control station

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors