Internet PLC Forum
General => Technical support => Topic started by: TTCSR on September 20, 2012, 04:36:12 AM
-
I've been having troubles with setting up a sequencer.
I have the basic arrangement in the ladder logic, however, I want the sequence to change each time one of the CusFn of each rung completes and I am unsure what code I can place in there to make this happen. I tried a SetIO xxxx, CLRIOxxxx at the end of the code, but it doesn't seem to be working. All I need is some bit to go from on to off to trigger the AVseq. Any help would be appreciated.
-
Figured it out, I used the CTRPV[1]= to set the value of the counter after each CusFn was satified, thus, providing the sequence I need.
Hope that helps someone :)