• June 01, 2023, 05:44:05 PM

Login with username, password and session length

Author Topic: wrong direction-H2-DM1E  (Read 1749 times)


  • Jr. Member
  • **
  • Posts: 18
wrong direction-H2-DM1E
« on: February 24, 2019, 12:23:18 PM »
I"m using an h2-ctrio2 to control a stepper motor/slide rail.

Most of the time everything works fine, but occasionally the motor will turn in the wrong direction.

I'm bascially having it turn 250000 pulses then return to zero.  it will always travel the 250000 pulses in the correct direction, but when returning to zero sometimes it will continue in the same direction.  When i check the Axis configuration it is showing that it is returning to 0.  I saw in the Faqs about incorrect frequency's I've checked everything over and have another motor/slide rail that is perfect everytime.  I've tried switching drives to see if that was it but still stays with the same output on the Ctrio.


  • HostTech
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 664
  • Hmmm...
    • Host Engineering, Inc.
Re: wrong direction-H2-DM1E
« Reply #1 on: February 25, 2019, 10:21:12 AM »
Can you send your project (.DMD file) to me ( Or can you offer how you have it configured and how you are controlling the pulse output (i.e. what instructions)?
There are two types of people in the world; those that can extrapolate from incomplete data sets.


  • Jr. Member
  • **
  • Posts: 18
Re: wrong direction-H2-DM1E
« Reply #2 on: February 25, 2019, 11:10:45 AM »
I don't have access to the file at this exact moment, but I can tell you my config.  For the config on first scan in the Main.
Min:   100
Max:  200000

In a different program I'm trying to move them in ctaxtrap instructions in stages, jumping to the next upon completion.