Ron Beaufort
Lifetime Supporting Member
take the "bare bones" rung that I showed in Post #3 and "dress it up" as follows:
put an XIC at the far left side of the rung ... address the XIC to a new BOOL tag named Go_Now ...
put an OTU at the far right side of the rung ... address the OTU to the same BOOL tag named Go_Now ...
then put some sample data values into your array ...
then manually TOGGLE the Go_Now tag and see what happens ...
the basic "ratchet" code that I sent you in Post #3 should do what you want ... specifically, every time that you manually toggle the Go_Now tag ON, then the data should march one step – and the tag should automatically turn itself right back OFF again ...
I didn't put any "go now" conditions on the rung since I didn't know when you want it to "go" ... but the simple "experimental" method that I just detailed should make the data march just like your spreadsheet shows ...
if it doesn't, post your ACD file instead of a screen shot ... maybe there's something wrong with the way you're "triggering" the rung ...
once you get the data marching correctly (with the manual toggle/trigger), then you can work more on the "when should it go" piece of the puzzle ...
(and yes, my dinner was excellent) ...
put an XIC at the far left side of the rung ... address the XIC to a new BOOL tag named Go_Now ...
put an OTU at the far right side of the rung ... address the OTU to the same BOOL tag named Go_Now ...
then put some sample data values into your array ...
then manually TOGGLE the Go_Now tag and see what happens ...
the basic "ratchet" code that I sent you in Post #3 should do what you want ... specifically, every time that you manually toggle the Go_Now tag ON, then the data should march one step – and the tag should automatically turn itself right back OFF again ...
I didn't put any "go now" conditions on the rung since I didn't know when you want it to "go" ... but the simple "experimental" method that I just detailed should make the data march just like your spreadsheet shows ...
if it doesn't, post your ACD file instead of a screen shot ... maybe there's something wrong with the way you're "triggering" the rung ...
once you get the data marching correctly (with the manual toggle/trigger), then you can work more on the "when should it go" piece of the puzzle ...
(and yes, my dinner was excellent) ...
Last edited: