Advanced Search

Search Results (Searched for: )

  • Odessit
  • Odessit
Today 16:46

Turn G-code: conversational lathe cycle generator for LinuxCNC (12 cycles)

Category: Show Your Stuff

Thank you for approving it, tommylight - and for being upfront about it being paid software. That's exactly how I wanted to present it.

If anyone has questions, finds a bug, or thinks a cycle behaves wrong on their machine, please post here - I'll answer and fix what I can.
  • tommylight
  • tommylight's Avatar
Today 16:07

Turn G-code: conversational lathe cycle generator for LinuxCNC (12 cycles)

Category: Show Your Stuff

I have approved this, it is for payed software with a trial version, so if anyone has anything against it, let me know.
Thank you.
  • djdelorie
  • djdelorie
Today 15:53

Is it possible to prevent the .hal file from being overwritten?

Category: PnCConf Wizard

chattr +i foo.hal

That prevents linux itself from modifying the file (even as root) until you -i it.
But as Rod said, once you start manually editing it, you can't use the wizards any more.
  • djdelorie
  • djdelorie
Today 15:51
Replied by djdelorie on topic Remap M6 no python HELP!!!!

Remap M6 no python HELP!!!!

Category: O Codes (subroutines) and NGCGUI

I've got some general observations which you may or may not already know, and some specifics from my setup which does basically the same thing.  Note: I'm not an expert, I just spent a lot of time trying to wrap my head around how this all works ;-)

Remember that #5063 is in the current WCS coordinate system, NOT the machine coordinate system, and not always G54.  To get the machine Z, you need to undo this correctly. Also note that the current location after a probe hit is NOT the same as the location stored in #5061 et al.  The probe needs some time to stop, so it's always past the probe point when you read "current position".
As for probing for tool length, it turns out you don't need ANY of that.  All you have to do is probe the toolsetter, and offset the tool length by the amount the probe is off by, in a known coordinate system.  I dedicate G59.3 to be "where the toolsetter is" and, in G59.3, do this:
G38.2 Z-[#<retract>] F[#<slow>]                        (PRINT,trip switch very slowly )
( tool was measured with it's offset active, so we add the hit to the existing offset )
G10 L1 P[#<_selected_tool>] Z[#5403 + #5063]
G43 H[#<_selected_tool>]  ( load tool table data )
If you don't want to do that, you need to know the machine Z of the toolsetter (which you do) and do the math to undo the probe point (undo the WCS offset and tool offset), then set the tool length to be the offset from where you expected the toolsetter to be.
Remember that "machine Z" = "probe hit Z" + "WCS Z" + "tool offset Z" so you need to know which WCS and tool offset is in effect when you probe.  Yes, keeping track of which way to apply the offsets can be tricky.  Remember that offsets are always added to where you want, to get where the machine goes.  A longer tool as a more positive (usually "bigger") tool offset to move the spindle more in the +Z direction ("up").
Remember that you're not always in G54.  You can use #5220 to compute a parameter for the current WCS.  Your current WCS Z is #[ 5200 + #5220 * 20 + 3 ]
I use G70 and G72 to save and restore the machine's modal state during tool changes, so I don't mess up a running program by changing something important and not setting it back.
Also, you most certainly CAN probe the toolsetter with the 3d probe to calculate its length.  I do this all the time.  You just have to make sure the probe "hits" when either probe is tripped, as one will trip before the other but you don't know which.  You don't need to use the 3d probe's length in your tool length offset, the 3d probe is just another tool.  Reference off a known fixed location in machine space (your spindle_setter_z), not some other tool's arbitrary offset.  The 3d probe has its own tool offset when it's loaded, just like any other tool.
  • snowgoer540
  • snowgoer540's Avatar
Today 14:59

Z axis torch initially going up instead of down when clicking cycle start

Category: Plasmac

It is scary because laser is FAR more dangerous, and the videos I see online of the home built stuff shows that people are not taking that danger very seriously at all. Mayyyybe they have the correct safety glasses, but I feel bad for anyone who walks unknowingly into the area when the machine is operating.
  • Aciera
  • Aciera's Avatar
Today 09:42

Stepping down as Administrator/Moderator

Category: Forum Questions

Hi all,
Due to personal reasons I'm stepping down as Administrator/Moderator on this forum.
I hope to continue to try giving support to users here but it might be on a somewhat reduced level and only on topics that I have taken a particular interest in over the years (eg custom kinematics, machine simulation).

Thank you!     
  • Odessit
  • Odessit
Today 09:00

Turn G-code: conversational lathe cycle generator for LinuxCNC (12 cycles)

Category: Show Your Stuff

Hi all,

I run a small CNC lathe on LinuxCNC, and I got tired of writing the same turning, threading and grooving code by hand. So over the past months I built a desktop tool for it: you fill in a form (diameters, lengths, feeds, speeds), watch the toolpath in a 2D preview, and save a ready .ngc file for the machine.

What it does - 12 cycles:
- OD turning, facing, boring, grooving, drilling, cut-off
- Taper (OD/ID), sphere (including concave profiles, e.g. a pulley groove)
- Chamfer / radius (OD/ID, front/back)
- Threading: OD/ID, right/left hand, multi-start, adjustable lead-in / run-out
- Tapered threads
- Archimedean spiral (face spiral groove)

Things that were important to me:
- Live 2D toolpath preview before you save anything
- G7/G8 (diameter/radius mode) with one switch for all cycles
- G32 or G33 threading syntax, with a configurable pitch word (I/K/F)
- Coolant M-codes, tool number, comments, M30 - all can be turned on or off to match your habits and your postprocessor
- mm and inch; English and Russian UI

Most cycles (turning, facing, taper, sphere, threading, boring, chamfer/radius) have been proven by real cuts on my machine, not just air runs. Tapered threads and a couple of others so far only have air / single-block runs - feedback is welcome.

To be upfront: this is paid software. There is a free 15-day trial, no key needed. After that it's $25 for one month (no auto-renewal), or $60 for 3 months and then $20/month. Linux .deb (Debian 11+ / Ubuntu 20.04+, amd64) and Windows.

Site with screenshots of every cycle: turngcode.com
Trial download: turngcode.com/en/trial/

I know there are free options too (NGCGUI, Probe Basic conversational, etc.), and they are great. This one is aimed at people who want a complete set of lathe cycles in one simple form, with a preview, without writing subroutines.

Happy to answer questions, and I'd appreciate honest criticism.
  • Fastfred
  • Fastfred
Today 05:05
Replied by Fastfred on topic Remap M6 no python HELP!!!!

Remap M6 no python HELP!!!!

Category: O Codes (subroutines) and NGCGUI

so #5223 is being used in my remap,is it something that I config wrong in the remap or down.ngc ?
  • NWE
  • NWE's Avatar
Yesterday 03:46
Replied by NWE on topic What once was no longer works.

What once was no longer works.

Category: Configuration Tools

Or just delete it I suppose. Doesn't work anyway.

Oh, please don't delete it yet, this looks like it has a lot of potential.
  • Fastfred
  • Fastfred
Yesterday 01:42
Remap M6 no python HELP!!!! was created by Fastfred

Remap M6 no python HELP!!!!

Category: O Codes (subroutines) and NGCGUI

 Ive been trying to figure this out on my own but I am not getting any luck, after using my 3d probe to find Z0 on work piece (down.ngc) then call for T5 M6 for example (tool_change.ngc) both move with no errors but the calculation is off at the moment after T5 touches off the tool setter tip of tool is below Z0 (123 block) but if i move past the 123 block the spindle nose will Z0 off the 123 block.When i calculated the 3dprobe length I touched off spindle nose off the block then used 3d probe to touch off the block to get it length, but the spindle nose distance is moving over to the tool length (I think) dont know what else to do.


 

File Attachment:

File Name: tool_change.ngc
File Size:6 KB


 

File Attachment:

File Name: down.ngc
File Size:1 KB
  • tommylight
  • tommylight's Avatar
Yesterday 00:19
Replied by tommylight on topic Mesa 7i97t

Mesa 7i97t

Category: Driver Boards

You can try using a USB WiFi dongle, but that is also "hit or miss", so it might work fine or might not work at all or might work intermittently.
I've had very good luck with USB to LAN adapters, so far out of over 10, all have worked fine for connecting to Mesa boards.
This also gives you 2 options for Mesa so you can test what works better for you.
  • flyingbrick
  • flyingbrick
Yesterday 00:03
Replied by flyingbrick on topic Mesa 7i97t

Mesa 7i97t

Category: Driver Boards

Thanks all. Ground the PSU but this wasn't the cause :-(

I should have known this but turns out the pi cannot use Ethernet and wifi reliably at the same time
  • tommylight
  • tommylight's Avatar
Yesterday 22:40

Is it possible to prevent the .hal file from being overwritten?

Category: PnCConf Wizard

I am pretty sure MesaCT does not overwrite them, but been quite some time since i used it.
-
In case you want to prevent overwriting config files that are good and done with editing, you can use the file explorer and set the permissions to read only.
  • tommylight
  • tommylight's Avatar
Yesterday 22:35
Replied by tommylight on topic Mesa 7i97t

Mesa 7i97t

Category: Driver Boards

 The 7I97T is powered by a Mean Well 5V PSU with no earth connection.

Must have earth connection, on all power supplies.
  • flyingbrick
  • flyingbrick
Yesterday 21:37
Replied by flyingbrick on topic Mesa 7i97t

Mesa 7i97t

Category: Driver Boards

In general I lack experience in this stuff, ground loops especially are confusing. I didn't want to ground the 5v negative and create some other issue. According to what I could find online, the floating 5v is fairly normal (switch mode power supply).

Yes the case etc is ground, just 5v is floating.

Thanks pcw, will ground.
Displaying 1 - 15 out of 13307 results.
Time to create page: 0.219 seconds
Powered by Kunena Forum