No underspeed with temporary material

More
1 year 1 month ago #335018 by alangibson
Hi all,

I'm adding a hole underspeed feature to MetalHeadCAM . After setting a temporary material, velocity reduction with M67 doesn't change the velocity shown in the QtPlasmaC interface. It stays at 1700 mm/min the whole time.

I'd appreciate it someone can spot my error. Thanks in advance.
Code:
(Generated by MetalHead CAM for LinuxCNC QtPlasmaC) (2025-09-15T11:29:55.159Z) G21 (Set units to millimeters) G40 (Cutter compensation off) G49 (Tool length offset cancel) G64 P0.1 (Path blending tolerance) G80 (Cancel canned cycles) G90 (Absolute positioning) G92.1 (Cancel coordinate system offsets) G94 (Feed per minute mode) G97 (Constant surface speed off) M52 P1 (Enable paused motion for adaptive feed control) M68 E3 Q0 (Set velocity to 100%) F#<_hal[plasmac.cut-feed-rate]> (Use material feed rate from HAL) (o=0, ph=1.5, pd=0.1, ch=0.5, fr=1700) (Path 1) G0 Z10 (Move to safe height) G0 X15.2 Y11.5 (Move to path start) G0 Z1.5 (Move to pierce height) M3 $0 S1 (Plasma torch on) G4 P0.1 (Pierce delay) G1 Z0.5 (Move to cut height) M67 E3 Q60 (Reduce velocity to 60% for hole cutting) (Native circle full arc) G3 X15.2 Y11.5 I-3.7 J0 (Full circle counterclockwise) M67 E3 Q0 (Reset velocity to 100%) M5 $0 (Plasma torch off) G0 Z10 (Retract to safe height) G0 X0 Y0 (Return to home) M2 (Program end)

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

More
1 year 1 month ago - 1 year 1 month ago #335049 by snowgoer540
What version are you on? There were issues with adaptive feed that have been resolved.  A simple update may fix your problem.
Last edit: 1 year 1 month ago by snowgoer540.

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

More
1 year 1 month ago #335273 by alangibson
I'm on 2.9.3. I'll update and see what I get.

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

More
1 year 1 month ago #335309 by snowgoer540
That is not really helpful, need to know the QtPlasmaC version in the window's header.

For what it's worth, I ran your G-Code on v2.10-009.071, it runs fine.

I added a feature in 2.10 that changes the "VEL:" label to show when a reduction is present. In this case, the line read "VEL@60%: 1020"

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

More
1 year 1 month ago #335320 by alangibson
I just checked and I was actually on LinuxCNC 2.9.4. QtPlasmaC version is v2.9-238.315. Is that version effected by the bug you mentioned? I'm going to assume so since the gcode works for you.

I've also just deployed a new version of MetalHeadCAM to metalheadcam.alan-gibson.workers.dev/ . I'd really appreciate your feedback on it as I'm specifically targeting QtPlasmaC.

The basic workflow is:
- Click the hamburger menu and then Tools so you can add your tool parameters
- Import a DXF file on the Import stage
- Skip the Edit stage for now as it doesn't do much yet
- Click the topmost Apply button on the Prepare stage
- Add operations to parts and shape chains on the Program stage, making sure to select what you want to cut in the Apply To dropdown.
- Simulate the program on the Simulate stage or just skip it
- Download gcode on the Export stage

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

More
1 year 1 month ago #335349 by snowgoer540
It should be fixed in that version:

forum.linuxcnc.org/plasmac/53657-holes-3...iour?start=20#308841

But probably you should try updating.

I will try to make some time to have a play with your CAM code.

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

Moderators: snowgoer540
Time to create page: 0.328 seconds
Powered by Kunena Forum