adccommunitymod (AutomationDirect) asked a question.

DL06 pulse output - accumulated pulses?

Created Date: February 10,2011

Created By: vmatz

**** 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.****

I am using the on-board DL06 pulse output to control a stepper. I need to capture somehow the number of pulses between two limit switches. I need to advance to a limit - capture that number of pulses and store in a value for future calculations. Is there a system variable that captures this?


  • adccommunitymod (AutomationDirect)

    Created Date: February 10,2011

    Created by: doug6949

    Appendix pages E-38-63 of the user manual covers mode 30, which is the pulse output feature of the 06. CT174/175 is the HSIO counter. V1174/1175 is the memory space for the accumulator.

    I 've only used V1174/1175 as trip points when reading an encoder, though I suppose it works for outputs as well. There is a homing example on E-53 that uses the HSIO counter. Perhaps you could adapt it to your needs.

    Doug

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: February 10,2011

    Created by: vmatz

    I am using the on-board DL06 pulse output to control a stepper.

    I need to capture somehow the number of pulses between two limit switches.

    I need to advance to a limit - capture that number of pulses and store in a value for future calculations.

    Is there a system variable that captures this?