Mini lathe conversion to CNC

More
28 Aug 2018 16:22 #116720 by andypugh
It looks like the estop-ext signal doesn't go anywhere.
(A signal connected to only one pin can not do anything)

Add net estop-ext iocontrol.0.emc−enable−in

Depending on how the external button is wired you might need to connect to input-18-not

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

More
29 Aug 2018 03:40 #116759 by tml
Replied by tml on topic Mini lathe conversion to CNC
Andy,
I added in that line but when I try to start up LinuxCNC again it gave me an error saying that it was already linked to something.

After a little searching I found this thread for a HAL example for external E-stop: forum.linuxcnc.org/forum/47-hal-examples/25861-external-e-stop

It uses the ESTOP_LATCH component and I just changed the last line to match the mesa hardware and it seems to be working now. The Axis screen now shows the X button depressed when I push the switch and stepper motor also stops counting.

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

More
05 Jun 2019 03:40 - 05 Jun 2019 03:42 #135901 by tml
Replied by tml on topic Mini lathe conversion to CNC
Can someone help me understand the relationship between the home position (X and Z after the home all button is clicked) and the X0 and Z0 coordinates? For example on a lathe setup X0 is located at the centerline of the starting stock and Z0 is located at the end of the stock sticking out from the lathe chuck. In this case, is the home position and X0 and Z0 the same or how should it be set up to be useful for running a CNC lathe program?
Last edit: 05 Jun 2019 03:42 by tml.

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

More
05 Jun 2019 05:14 #135904 by andypugh
Typically the home / zero position in machine coordinates will be all the way out for X and all the way right for Z
Then the working area for both axes will be in negative numbers, in machine coordinates.
But: you don’t work in machine coordinates, you work in work coordinates. Typically the X offset (stored as G54 and friends) will never change and will give true diameter for one tool, with other tools having tool offsets.
The Z offset in G54 will tend to be set to suit each job.

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

Moderators: piasdom
Time to create page: 0.086 seconds
Powered by Kunena Forum