- Posts: 16
- Thank you received: 0
Pathpilot 4th axis
- ScotY
- Offline
- New Member
-
Less
More
7 years 7 months ago #127653
by ScotY
Replied by ScotY on topic Pathpilot 4th axis
Thank you. I’m still learning how Linux works...it’s a challenge. Any idea on how or where the 5i25 is configured?
Please Log in or Create an account to join the conversation.
- smgvbest
- Offline
- Elite Member
-
Less
More
- Posts: 311
- Thank you received: 51
7 years 7 months ago #127683
by smgvbest
Replied by smgvbest on topic Pathpilot 4th axis
I'm doing this off the top of my head so I may have a path slightly wrong but this should get you there.
all configuration files for Pathpilot are in
~/tmc/config
~/ refers to your HOME directory
that that path is /home/operator/tmc/config
in config are several directories.
the one you'll want is the mill one so the path is
~/tmc/config/tormach-mill
all configuration files for Pathpilot are in
~/tmc/config
~/ refers to your HOME directory
that that path is /home/operator/tmc/config
in config are several directories.
the one you'll want is the mill one so the path is
~/tmc/config/tormach-mill
Please Log in or Create an account to join the conversation.
- smgvbest
- Offline
- Elite Member
-
Less
More
- Posts: 311
- Thank you received: 51
7 years 7 months ago #127684
by smgvbest
Replied by smgvbest on topic Pathpilot 4th axis
There are 3 pinned topics in here right at the top
forum.linuxcnc.org/pathpilot
They go over the basics of Pathpilot setup. I would start there then you can post questions there or return here and ask questions.
forum.linuxcnc.org/pathpilot
They go over the basics of Pathpilot setup. I would start there then you can post questions there or return here and ask questions.
Please Log in or Create an account to join the conversation.
- ScotY
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 0
7 years 7 months ago #127710
by ScotY
Replied by ScotY on topic Pathpilot 4th axis
Thank you and I apologize for all the stupid questions! I just did not see the hal files...they were right in front of my eyes!
So I’m looking at the tormach_mill_mesa_440.hal file and the A axis section. The last few lines say:
#P3 pin 9 gpio 012
#A step
setp hm_2[HOSTMOT2] (BOARD) .0.gpio.012.invert_output 1
This doesn’t make sense to me. A step is supposed to be pin 8 and gpio 11 according to the comments regarding the 5i25 pin outs. And there is no place that I see A direction.
I think I’m in the right file now but not sure how to proceed. I have done some testing on the MX3660 outputs 3 and 4 and they both seem to be outputting step values when one of them needs to be the direction signal.
So I’m looking at the tormach_mill_mesa_440.hal file and the A axis section. The last few lines say:
#P3 pin 9 gpio 012
#A step
setp hm_2[HOSTMOT2] (BOARD) .0.gpio.012.invert_output 1
This doesn’t make sense to me. A step is supposed to be pin 8 and gpio 11 according to the comments regarding the 5i25 pin outs. And there is no place that I see A direction.
I think I’m in the right file now but not sure how to proceed. I have done some testing on the MX3660 outputs 3 and 4 and they both seem to be outputting step values when one of them needs to be the direction signal.
Please Log in or Create an account to join the conversation.
- ScotY
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 0
7 years 7 months ago #127864
by ScotY
Replied by ScotY on topic Pathpilot 4th axis
I’m not sure how to get this working. I think I just don’t get why there seems to be no place where the stepper direction is mentioned. This is for all 4 axis...x, y, and z. And there are a lot of mentions of this Hostmot2. I wouldn’t know why, but could the stepper direction be controlled by this?
Please Log in or Create an account to join the conversation.
- smgvbest
- Offline
- Elite Member
-
Less
More
- Posts: 311
- Thank you received: 51
7 years 5 months ago #133487
by smgvbest
Replied by smgvbest on topic Pathpilot 4th axis
Did you ever get this working
for the step direction change the SCALE value to negative to flip the direction
for the step direction change the SCALE value to negative to flip the direction
Please Log in or Create an account to join the conversation.
Time to create page: 0.287 seconds