Advanced Search

Search Results (Searched for: )

  • andypugh
  • andypugh's Avatar
13 May 2025 12:01
Replied by andypugh on topic hal functions

hal functions

Category: General LinuxCNC Questions

And what is "the exact same problem" ?

ie, what is the actual error message?
  • andypugh
  • andypugh's Avatar
13 May 2025 11:58
Replied by andypugh on topic Need help with Linux 2.5 on a CNC lathe

Need help with Linux 2.5 on a CNC lathe

Category: General LinuxCNC Questions

Sorry for the very late reply to what seems like an urgent issue.

It looks like this is not a conventional lathe?
Also, it seems that the config is doing wierd things to handle gantry homing?

eg
# we will need the inverse of the direction signals for our logic, so run it through a not gate
net ydir => not.2.in
net ydir-inv => not.2.out

# we need to determine if the home switch for each motor is tripped while the direction line is
# moving the motor towards the switch

# for both y-axis motors, we will prevent the step signal from passing to the motor
# if the motor is moving towards the switch and the switch is tripped
# so "or" the inverted direction signals and the inverted home switches
net ydir => and2.3.in0
net switches-y1 => and2.3.in1
net doh1 <= and2.3.out
net doh1 => not.3.in
net doh1-inv => not.3.out

net ydir => and2.4.in0
net switches-y2 => and2.4.in1
net doh2 <= and2.4.out
net doh2 => not.4.in
net doh2-inv => not.4.out

# if the step generator is trying to send a step (ystep signal) and either the motor is moving
# away from the switch or the switch is not tripped, then pass the step signal to the motor
net ystep => and2.1.in0
net doh1-inv => and2.1.in1
net ystep1 <= and2.1.out

net ystep => and2.2.in0
net doh2-inv => and2.2.in1
net ystep2 <= and2.2.out

But, if the home-button is greyed out then I suspect that it's nothing to do with all this.

Have you tried clicking the "ignore limits" checkbox?

I wonder if you can home the system through halui to bypass the GUI button (I wouldn't expect so...)
Open a terminal window and
halcmd setp halui.home-all 1
halcmd setp halui.home-all 0
and see if anything happens.

You could also try setting "NO_FORCE_HOMING" in the INI file so that you can run the system without homing it, as a workaround. (manually position all axes at home first...)
linuxcnc.org/docs/stable/html/config/ini...tml#sub:ini:sec:traj
  • Todd Zuercher
  • Todd Zuercher's Avatar
Displaying 16186 - 16188 out of 16188 results.
Time to create page: 0.401 seconds
Powered by Kunena Forum