Author Topic: Triggering the sequencer  (Read 11454 times)

TTCSR

  • Newbie
  • Posts: 30
  • I'm a llama!
    • View Profile
Triggering the sequencer
« 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.  

TTCSR

  • Newbie
  • Posts: 30
  • I'm a llama!
    • View Profile
Re:Triggering the sequencer
« Reply #1 on: September 20, 2012, 07:48:01 AM »
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 :)