New Build: Another Techno Lathe

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

dustboy
Posts: 42
Joined: Wed Nov 06, 2019 8:54 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn-905
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: New Build: Another Techno Lathe

Post by dustboy »

Thanks all for the help! Worked perfectly the first try. Verified RPM with tachometer and it is dead on at 4000 counts.

Input DB9 Pin vs. wire color from original encoder:

2 = Black
3 = White
4 = White/Black
5 = Red/Black
6 = Blue
7 = Orange
8 = Green
9 = Red
My build: Making a CNC P-to-P boring machine less, uh, boring: https://www.cnczone.com/forums/diy-cnc- ... -axis.html
dustboy
Posts: 42
Joined: Wed Nov 06, 2019 8:54 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn-905
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: New Build: Another Techno Lathe

Post by dustboy »

I'm testing the machine with air cuts on some of the sample programs included with CNC12 Lathe. Both PAWN.cnc and Sample_Part_1.cnc start with the Z axis on a rapid straight toward the chuck. I stopped it before it crashed. I think I've setup the tool offsets and G54 correctly per the Youtube videos.

What's going on here?
lathe screen.JPG
Attachments
report_B4107B74C713-0307236974_2023-07-04_11-16-29.zip
(734.43 KiB) Downloaded 2 times
My build: Making a CNC P-to-P boring machine less, uh, boring: https://www.cnczone.com/forums/diy-cnc- ... -axis.html
cncsnw
Posts: 3855
Joined: Wed Mar 24, 2010 5:48 pm

Re: New Build: Another Techno Lathe

Post by cncsnw »

You seem to be homing both Z and X in the minus direction (towards the chuck and towards spindle centerline). Those are unusual choices on a lathe.

A typical CNC program includes G28 to move the axes to a safe position at the start and end of a job, and for tool changes.

G28 moves to the coordinates you specify for return point #1 (on the F1/Setup -> F1/Part -> F9/WCS -> F1/Return table). By default this is Z0 X0, measured from Machine home. On a lathe that homes Z and X both in the plus direction, that default is naturally safe, and rarely needs to be changed.

If you have a compelling need to home your axes in the minus direction, then you should enter appropriate numbers for the G28 return point, so that it takes the tool to a safe clearance position (e.g. near the plus limits for both axes).
dustboy
Posts: 42
Joined: Wed Nov 06, 2019 8:54 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn-905
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: New Build: Another Techno Lathe

Post by dustboy »

Got it..thanks! I'm new to the lathe world.

The max Z travel changes with the location of the tailstock. This means that sometimes the software travel limits could be more than the actual Z travel available. Is there a way to address this, or do we just depend on the limit switch to stop the axis?
My build: Making a CNC P-to-P boring machine less, uh, boring: https://www.cnczone.com/forums/diy-cnc- ... -axis.html
tblough
Posts: 3102
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: New Build: Another Techno Lathe

Post by tblough »

On my lathe I attached the home switch to the bed where the carriage would contact it with the tailstock at the far end of the bed. When I start the machine and home it, I have to ensure the tailstock is moved to that position before homing. Soft limits are set to this max travel.

I have attached my z+ limit switch to the carriage so that it contacts the tailstock. If the tailstock is moved forward to use it and I forget to move t out of the way, the carriage will trip the limit switch when it contacts the tailstock stopping further movement. As soon as the tailstock is moved clear, you're free to continue on.

As Marc states, a return position for Z0 X0 is "safe". That's should be the farthest point away from the headstock and work. However, while he mentions that it rarely "needs" to be changed, my work style has me changing it for every job.

Since my lathe has a QCTP versus a tool changer or gang tooling, I set my G28 return position for every job. Sometimes I have a chuck mounted necessitating a Z position far from the headstock. Other times, I'm working with collets much closer to the headstock so I don't want to waste al the time having the carriage move way out of the way for tool changes. Many times I set my X home position just larger than my stock diameter and my Z home position at Z0. I can then use the tool as a gauge to extend my stock for the next piece.

Everybody's workflow is different, but it but you should take the time to locate where the G28 return position is set and know how to adjust it if necessary. I believe with the latest version of CNC12, Keith had the team add a teach function to the return position screen so you can move the tool to the location you want and instead of having to copy the DRO values into the table, you can just push a button to do it for you.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
dustboy
Posts: 42
Joined: Wed Nov 06, 2019 8:54 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn-905
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: New Build: Another Techno Lathe

Post by dustboy »

I am playing with intercon, and tried to turn a simple punch from a piece of brass pipe.

The program will run the carriage back to home, then as the tool moves in for the first cut, the spindle runs up from the programmed 500 RPM up to 800 or so, then I get a "438 Spindle slave position error". Report and code attached.

I have run the PAWN demo file without this error.
Attachments
punch.cnc
(2 KiB) Downloaded 2 times
report_B4107B74C713-0307236974_2023-09-09_13-15-09.zip
(731.67 KiB) Downloaded 2 times
My build: Making a CNC P-to-P boring machine less, uh, boring: https://www.cnczone.com/forums/diy-cnc- ... -axis.html
cnckeith
Posts: 7334
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: New Build: Another Techno Lathe

Post by cnckeith »

post the intercon file you are working on.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
dustboy
Posts: 42
Joined: Wed Nov 06, 2019 8:54 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn-905
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: New Build: Another Techno Lathe

Post by dustboy »

punch.lth
(1.15 KiB) Downloaded 2 times


Here's the Intercon file
My build: Making a CNC P-to-P boring machine less, uh, boring: https://www.cnczone.com/forums/diy-cnc- ... -axis.html
dustboy
Posts: 42
Joined: Wed Nov 06, 2019 8:54 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: Acorn-905
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: New Build: Another Techno Lathe

Post by dustboy »

I tried to run another Intercon program. This time the tool moved into position but stopped at Z0.000 and it gave me a 327 Fault: Job canceled.

I reset the control (big red reset button) and the Z DRO went to 100.xxx (no carriage movement), my lathe has a Z travel of 13" as configured. And like a dummy, I hit cycle start anyway and it crashed the tool into the stock with no spindle RPMs.

I've successfully run programs from Fusion and sample files. What have I done wrong with Intercon?

Intercon file attached.
lathe screen 2.JPG
Attachments
tank plug.lth
(526 Bytes) Downloaded 1 time
My build: Making a CNC P-to-P boring machine less, uh, boring: https://www.cnczone.com/forums/diy-cnc- ... -axis.html
suntravel
Posts: 1984
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: New Build: Another Techno Lathe

Post by suntravel »

with 13" Z how do you get the DRO to +98.8845" ?

Uwe
Post Reply