adccommunitymod (AutomationDirect) asked a question.

help with drum sequencer DL05

Created Date: February 20,2013

Created By: dumpsta

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

Hello I'm tring to get this drum sequencer running on the benchtop before incorporating it in an actual application. It seemed pretty straight forward in the manual, but I'm running into some problems. In my example, the drum sequencer should be cycling through all the steps when the alloted time in each step has been reached, correct? But when I try, it seems to just stay in the first step and the counter stops a few counts before the setpoint. I 've tried changing the timebase, (currently k50) as well as other variables without much luck I attached a few pictures of my program Oh and you can ignore rung 3. I was using that originally when my drum used ct0. Thanks for any suggestions


  • adccommunitymod (AutomationDirect)

    Created Date: February 20,2013

    Created by: franji1

    Note that DRUMs occupy FOUR COUNTER resources. So if you have DRUM CT2, then CT2, CT3, CT4, and CT5 are USED to maintain the state of that ONE DRUM. So your next CNT/UDC/DRUM instruction should use CT6, not CT3.

    Look at your XRef view under the CT types.

  • adccommunitymod (AutomationDirect)

    Created Date: February 20,2013

    Created by: dumpsta

    I'm not using counters anywhere else. The whole program is 4 rungs long with rung 5 being the "end " command. You can see the xref window showing ct4-ct7 in the picture.

    Any other suggestions?

  • adccommunitymod (AutomationDirect)

    Created Date: February 20,2013

    Created by: scott.lawrence

    drums are a nice way to cycle repetitive steps. You are correct that the drum should cycle when the time has expired. In your pic, it shows X0 as the permissive... hate to sound silly but are you keeping this on?

  • adccommunitymod (AutomationDirect)

    Created Date: February 20,2013

    Created by: dumpsta

    ahh I should have figured that out

    Thank you Scott, that was the problem

  • adccommunitymod (AutomationDirect)

    Created Date: February 20,2013

    Created by: dumpsta

    Hello

    I'm tring to get this drum sequencer running on the benchtop before incorporating it in an actual application.

    It seemed pretty straight forward in the manual, but I'm running into some problems.

    In my example, the drum sequencer should be cycling through all the steps when the alloted time in each step has been reached, correct? But when I try, it seems to just stay in the first step and the counter stops a few counts before the setpoint.

    I 've tried changing the timebase, (currently k50) as well as other variables without much luck

    I attached a few pictures of my program

    Oh and you can ignore rung 3. I was using that originally when my drum used ct0.

    Thanks for any suggestions

    Expand Post