- LinuxCNC
- General LinuxCNC Questions
- *** Establishjing correct direction for Z-axis stepper motor ***
*** Establishjing correct direction for Z-axis stepper motor ***
- ghope@optonline.net
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
30 Jan 2019 15:28 #125301
by ghope@optonline.net
*** Establishjing correct direction for Z-axis stepper motor *** was created 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.
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.
- PCW
- Online
- Moderator
Less
More
- Posts: 17998
- Thank you received: 4843
30 Jan 2019 17:14 #125311
by PCW
Replied by PCW on topic *** Establishjing correct direction for Z-axis stepper motor ***
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
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
- Away
- Platinum Member
Less
More
- Posts: 4957
- Thank you received: 1441
30 Jan 2019 20:32 #125334
by Todd Zuercher
Replied by Todd Zuercher on topic *** Establishjing correct direction for Z-axis stepper motor ***
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
Less
More
- Posts: 2
- Thank you received: 0
30 Jan 2019 20:33 #125336
by ghope@optonline.net
Replied by ghope@optonline.net on topic *** Establishjing correct direction for Z-axis stepper motor ***
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.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 355
31 Jan 2019 14:55 #125391
by pl7i92
Replied by pl7i92 on topic *** Establishjing correct direction for Z-axis stepper motor ***
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
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.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4865
31 Jan 2019 16:53 #125408
by andypugh
Replied by andypugh on topic *** Establishjing correct direction for Z-axis stepper motor ***
[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.
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.
- LinuxCNC
- General LinuxCNC Questions
- *** Establishjing correct direction for Z-axis stepper motor ***
Time to create page: 0.056 seconds