*** Establishjing correct direction for Z-axis stepper motor ***

  • ghope@optonline.net
  • Offline
  • New Member
  • New Member
More
30 Jan 2019 15:28 #125301 by ghope@optonline.net
I am a newbie to LinuxCNC so I will attempt to be as clear as possible and not waste anybody's time. I have a Probotix V90 and it originally was setup under Mach3 - that old computer died and I am not setup on a new PC under LinuxCNC and trying to get all parameters correct mto get the V90 base functionality setup.

Question - Where in either the HAL or INI file is it established the direction for a stepper motor and how is it reversed? It isn't obvious from the HAL manual or looking at various INI and HAL files. X and Y are just fine.

Please Log in or Create an account to join the conversation.

More
30 Jan 2019 17:14 #125311 by PCW
There are a couple of ways to do this:
1. Change sign of OUTPUT_SCALE parameter for the axis in the ini file
2. invert the direction output in the hal file

Please Log in or Create an account to join the conversation.

  • Todd Zuercher
  • Todd Zuercher's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
30 Jan 2019 20:32 #125334 by Todd Zuercher
Those are 2 ways to change it in the ini file. A 3rd way is to invert the dir pin in the hal file. And I'm sure there are a few more.

Please Log in or Create an account to join the conversation.

  • ghope@optonline.net
  • Offline
  • New Member
  • New Member
More
30 Jan 2019 20:33 #125336 by ghope@optonline.net
Thank you for the quick response. I modified the INI file with an inversion of the SCALE value by preceding it with a "-" sign and all worked perfectly well! (I added a comment in my INI file so I will never forget again) Thanks!

Please Log in or Create an account to join the conversation.

More
31 Jan 2019 14:55 #125391 by pl7i92
I woudt like to tell you for a Better performence it is somtimes Better if You Discover this Action
Change the Wire Turn the Pairs of the stepper itself FROM A+A- B+B- TO A-A+ B-B+
Then you get a better Interpreter setting as on higher acceleration

Please Log in or Create an account to join the conversation.

More
31 Jan 2019 16:53 #125408 by andypugh
[quote="pl7i92" post=125391Change the Wire Turn the Pairs of the stepper itself FROM A+A- B+B- TO A-A+ B-B+
Then you get a better Interpreter setting as on higher acceleration[/quote]

Are you sure about that? It really shouldn't matter.

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum