using a timer as a 'placeholder'

johns

Premium Member
clp-

I saw a suggestion you had in another thread about using a timer name as a 'placeholder' to hold a state. Goes something like this:

OSC 15/345 On/Off Then Mix On
OSC 60/300 On/Off Then FOO Off
OSC 1/004 On/Off Then Top Off
If Timer FOO = Off Then Top Off

My question is, for this 'placeholder' timer to work, do you have to actually have an open outlet available somewhere? In other words, if I have a DC8 with every position taken up, can I still do something like this? How do I assign a position to the timer without actually having a place for it? Should I just add a Timer Name FOO and assign it to something made up, like B01 (since A01-A08 are all taken)?
 
The control address for a timer name doesn't have to point to a phsyical device that actually exists.

Curt
 
If you read through the command lines above, what that should do is this.

'Mix' Kalk in Nielsen reactor for 15 minutes every 6 hours.
Start a 'place-holder' timer of 60 minutes at the same time that the kalk starts mixing.
The fourth line will then insure that the Auto-"Top" off does not function for a full 45 minutes after the kalk gets mixed to avoid adding a slurry during mixing.
The 3rd line is just for the auto-top addition to add kalk for only 1 minutes at a time every 5 minutes (the times here probably need to be tweaked a bit)
 
The placeholders are like intermediate variables; they allow more complex control statements with the use of the 'Timer' statement.

Curt
 
OK Thanks how would i incorpirate into my program..

OSC 001/240 ON/OFF Then ROW ON (RO Water)
If Switch1 OPEN Then ROW OFF
Max Change 002 M Then ROW ON
OSC 005/140 ON/OFF Then MIX ON (Kalk Mixer)
 
Back
Top