- Joined
- Aug 10, 2019
- Messages
- 38
- Reaction score
- 10
Hey all,
I am playing around with automating my dosing of calcium, alk, and mag. I have a trident integrated with the system to measure these parameters daily, and I have mixed up CaCl, NA2CO3, and MgSo4/MgCl into 1 gallon containers. I created the following script and wanted to run it by the forum to see if it will work how I think it should:
Fallback OFF
Set OFF
OSC 000:00/000:02/029:58 Then ON
If Cax19 > 450 Then OFF
OSC 010:00/000:02/029:58 Then ON
If Cax19 > 400 Then OFF
OSC 020:00/000:02/029:58 Then ON
If Cax19 > 500 Then OFF
Essentially, if the Ca is under 400, then every half hour, the peristaltic pump will run for 2 seconds 3 times. If it's 400-450, then it will run twice every 30 minutes. If between 450 and 500, it will run once every 30 minutes. And if over 500, it's off.
This relies on the ON/OFF command being the one that counts. Do you think this should work?
thanks!
I am playing around with automating my dosing of calcium, alk, and mag. I have a trident integrated with the system to measure these parameters daily, and I have mixed up CaCl, NA2CO3, and MgSo4/MgCl into 1 gallon containers. I created the following script and wanted to run it by the forum to see if it will work how I think it should:
Fallback OFF
Set OFF
OSC 000:00/000:02/029:58 Then ON
If Cax19 > 450 Then OFF
OSC 010:00/000:02/029:58 Then ON
If Cax19 > 400 Then OFF
OSC 020:00/000:02/029:58 Then ON
If Cax19 > 500 Then OFF
Essentially, if the Ca is under 400, then every half hour, the peristaltic pump will run for 2 seconds 3 times. If it's 400-450, then it will run twice every 30 minutes. If between 450 and 500, it will run once every 30 minutes. And if over 500, it's off.
This relies on the ON/OFF command being the one that counts. Do you think this should work?
thanks!