PDA

View Full Version : more programme logic?



patrick vachon
24.03.2010, 05:24
is that it is possible to have more than 32 program logic?

I just finished my program for my auto top off my water change automatic and I use 16 logic.

With all the things I want to do with pl3 in the future, I fear lack of logic.

thanks:)

Matthias
24.03.2010, 08:21
You use 16 programmable logic gates only for AWC?

This is quite a complex program for that task - do you like to tell us what you did? Sounds very interesting.

patrick vachon
24.03.2010, 12:39
I thought I was too used to program logic for this task.


yes I will be pleased to share with you how I did but logical.:)

patrick vachon
24.03.2010, 15:01
how do you insert a screenshot in the forum, I try to copy and paste in microsoft office (word) (ctrl-c and ctrl-v) but impossible to select the page profilux control?? I try and try and I can not find how?:confused:

patrick vachon
24.03.2010, 17:15
how do you insert a screenshot in the forum, I try to copy and paste in microsoft office (word) (ctrl-c and ctrl-v) but impossible to select the page profilux control?? I try and try and I can not find how?:confused:


ok i have find!! alt+impÉc and inser in paint;)

tonight I should be ok to send and explain what I do!

patrick vachon
25.03.2010, 18:40
Well, here's what I do as my programming awc. This is not too obvious to explain, but I'll do my best.

-My goal: make a awc 10 g once weekly.

-how I do:

1 - stop the pump sump (5 minute).
2 - stop level 1 (top off) (5 minute).
3 - wait 1 minute before starting the AWC, the time that it fulfills sump.
4 - level 2 fstart the water pump use.
5 - level 1 stop pump water use and start new water pump.
6 - level 2 stop new water pump.
7 - after the 5 minute elapsed, restart pump sump and top off .
8 - (level 3) safety in case of lack of water in reserve (new salt water)
9 - to prevent the departure of awc level 3 if enabled.
10 - continue awc (if already started) and level 3 becomes activated.

Here is a picture of my setup and my sreenshot programming.

I have a 70g split a new 50g saltwater 20g osmosis water.

I have a sump of 90 g.

Times indicated in its shadow timers, I'll adjust when I finish the installation levels.

patrick vachon
25.03.2010, 18:42
logique programmée

patrick vachon
25.03.2010, 18:43
program logic

All comments are welcome!:)

Blahenazo
25.03.2010, 19:52
:eek:

I don't have a sink in my basement so no AWC for me

patrick vachon
26.03.2010, 03:44
excuse me, I'm a little Eror, timer 4 is not 9:00 to 9:05 but 21h00 - 21h05:o

patrick vachon
26.03.2010, 04:03
but what is it possible to add more logic gate? or the true limit of the machine is 32 gate?

to use my awc jai gate 15.

I might be saved if the gates would have a way to put a timer on two input in the same logic gate. I must use the three gate to do so. There is a way you do?

Matthias
26.03.2010, 09:10
Patrick,

this is quite amazing - I don't think someone else ever programmed such a complex algorithm for AWC using the prog. logic

yes, we could increase the amount of gates, but it is not yet planned until we know how we have to share the controller performance for all other tasks finally

a logic gate has only 2 inputs

patrick vachon
26.03.2010, 17:04
A big thank you Matthias! I worked hard to succeed and ultimately everything is a miracle!

I understand why the maximum gate this time. This is a good idea of your team.

Maybe in future we could have a timer option in the section (and, or, nand so on ...)

thank you for your good work! I love my ex pl3.

shardyl
14.12.2011, 23:40
Hi Patrick!

Awesome work!

I was wondering if you could help me as a beginner to try and understand programmable logic? I have a fairly big plan for an AWC and I think you could help me understand the system to allow me to program it properly.

I have 3 optical level sensors and 4 pumps as below

1 Salt water drain pump
2 Salt water fill pump
3 RO top up pump
4 Return pump

The system is set up as in the diagram and I wish to create a 20% AWC working in the tank rather than the sump.

My system will be fully built by early next week but I am just trying to understand things before i start to attempt to program it.

If you have any suggestions on where I would start and how this could be best achieved I would be most grateful

2111

PS. I love the level 3 safety feature to ensure enough reserve water is in the salt refill tank!