hi guys , i need some help as im trying to do a project of a tank has 3 level sensors s1(ground sensor),s2(middle sensor),s3(top sensor) and 3 valves va(first liquid) , vb(second liquid) , vd(drain valve) and a mixer and also a heater, start and stop PBs..
so i need to make it work like this :
first s1 wont read so va will work till the liquid reach s2...
then va will stop working and vb will start working till it reaches s3...
then the mixer and heater will work together ,the mixer for 10 sec and the heater for 15 sec..
then vd will start to work till the tank is embty and the process will continue over and over ..... the problem is that i must have the ability to stop the process in any step and start it in the same step i done this with va,vb but i dont know how to do a mark for TONR so i can start it and stop it.with stop push button .... im using tia v13
here is the code
https://ibb.co/wNvdn3P
https://ibb.co/M1zy4Nx
https://ibb.co/qCzHJgy
https://ibb.co/30JhpMc
https://ibb.co/rQM3Fz6
thx...
so i need to make it work like this :
first s1 wont read so va will work till the liquid reach s2...
then va will stop working and vb will start working till it reaches s3...
then the mixer and heater will work together ,the mixer for 10 sec and the heater for 15 sec..
then vd will start to work till the tank is embty and the process will continue over and over ..... the problem is that i must have the ability to stop the process in any step and start it in the same step i done this with va,vb but i dont know how to do a mark for TONR so i can start it and stop it.with stop push button .... im using tia v13
here is the code
https://ibb.co/wNvdn3P
https://ibb.co/M1zy4Nx
https://ibb.co/qCzHJgy
https://ibb.co/30JhpMc
https://ibb.co/rQM3Fz6
thx...
Last edited: