Need help with Linux 2.5 on a CNC lathe

More
1 year 5 months ago #327788 by tommylight
Upload a screenshot and some pictures of the wiring here.

Please Log in to join the conversation.

More
1 year 5 months ago #327790 by Groovecooper1
Will do in the a.m. Thanks!

Please Log in to join the conversation.

More
1 year 5 months ago #327842 by andypugh
Can you attach your HAL and INI files too?

Also, the results of the following command-line commands:

uname -a
lsb_release -a
linuxcnc_info &

(The last one will probably open a text editor to display the info)

Please Log in to join the conversation.

More
1 year 5 months ago #327858 by Groovecooper1
Been getting this error a lot, and again, the machine will not home.

Please Log in to join the conversation.

More
1 year 5 months ago #327860 by andypugh
Is the Z limit switch also a home switch?

halshow (in Axis menu - Machine - Show Hal Configuration) will let you explore whether joint.2.*-lim-sw-in is not working properly.

Please Log in to join the conversation.

More
1 year 5 months ago #327866 by Groovecooper1
Hello, here’s the files you asked for thank you. 

Please Log in to join the conversation.

More
1 year 5 months ago #327890 by Groovecooper1
This is getting to be a 911 issue as I’ve got to get this machine running. I can’t move forward without it. I need to Groove the baseball bat to get them to the MLB, we’re gonna be grooving dolls down to drumsticks, etc. Absolutely appreciate your assistance. How do you find a CNC tech in the Chicagoland area that knows Linux 2.5? So far nobody.

Please Log in to join the conversation.

More
1 year 5 months ago #327892 by tommylight
Move the Z axis by hand towards the spindle a bit, then power on and try homing.
If that does not work, use a DVM to check the wiring from the Z axis switch to parallel port 0 (the built in parallel port in the motherboard, not the add on one)

Please Log in to join the conversation.

More
1 year 5 months ago #328370 by andypugh
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
Code:
# 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
Code:
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

Please Log in to join the conversation.

More
1 year 4 months ago #329621 by Groovecooper1
Hello got everything up and running the machine will home. I keep getting the same error and I’m not able to run a program. I am not skilled at writing G code, but hopefully this is a quick fix. Any assistance is greatly appreciated 

Please Log in to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum