Sheetcam and trying to generate spotting gcode.

More
03 May 2021 00:49 - 03 May 2021 01:49 #207695 by phillc54
Have you tried the magic comment that creates a new tool in the materials file rather than a temporary one?

I haven't looked at that stuff for a long time.

EDIT:
I do have an idea for multiple temporary tools that I will look at down the track, although I am not sure they will be required.
I would imagine that if you had a tool in your CAM then you would want it in the materials file.
Last edit: 03 May 2021 01:49 by phillc54.

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

More
03 May 2021 02:02 #207697 by crowloy
After fixing my .ini file so the correct number of SPINDLES was used, I have spotting working. But. If i create a file with both spotting and cutting, it will fail on the first cut attempt with the torch going down, igniting and then going up again, over and over. If I separate the two, then it works fine. I'm using the latest post file from Phil as well as the latest qtplasma. in the attached file, I seem to get to line 4090 at which point it fails.
;begin material setup

N04010 M190 P23 (45 amp 14ga mild steel material)
N04020 M66 P3 L3 Q2 (wait for valid change)
N04030 F#<_hal[plasmac.cut-feed-rate]>
N04040 ;end material setup
N04050 M5 $0(cut stop)
N04060 ;end operation #30, cutting
N04070 ;
N04080 ;begin operation #31, cutting, 1.34"
N04090 G0 X2.76051 Y3.80271

I'm actually thinking that it fails at the M5 $0 which is wrong I think. that should be M5 $2 (spotting)
The second last spotting op that succeeds has a M5 $2 in it, but the last one has a M5 $0.

File Attachment:

File Name: makerCARVE...esv1.ngc
File Size:15 KB
Attachments:

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

More
03 May 2021 02:25 #207698 by phillc54
They all seem to be cutting operations, not spotting.

You need a tool named "Centre Spot" or "Center Spot" and a drill operation, or try the sheetcam post earlier in this thread.

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

More
03 May 2021 22:18 #207753 by crowloy

They all seem to be cutting operations, not spotting.

You need a tool named "Centre Spot" or "Center Spot" and a drill operation, or try the sheetcam post earlier in this thread.


I do have the Center Spot tool defined. And I'm using the latest post from you dated in 2021. I just uploaded the wrong file

File Attachment:

File Name: MarkerCarv...art1.ngc
File Size:16 KB
N03890 ;begin operation #30, spotting
N03900  G0 X5.77571 Y0.33994
N03910  M65P2 (THC On)
N03920  M3 $2 S1 (spot start)
N03930  G91 (relative distance mode)
N03940  G1 X0.00000004 (tiny move)
N03950  G90 (absolute distance mode)
N03960  M64P2 (THC Off)
N03970  M65P2 (THC On)
N03980  M64P2 (THC Off)
N03990 ;
N04000 ;begin material setup
N04010  M190 P23 (45 amp 14ga mild steel material)
N04020  M66 P3 L3 Q2 (wait for valid change)
N04030  F#<_hal[plasmac.cut-feed-rate]>
N04040 ;end material setup
N04050  M5 $0(cut stop)
N04060 ;end operation #30, cutting
N04070 ;
N04080 ;begin operation #31, cutting, 1.34"
N04090  G0 X2.76051 Y3.80271
N04100  M65P2 (THC On)
N04110  M65P2 (THC On)
N04120  M3 $0 S1 (cut start)

Line 4050 is wrong. It should be M5 $2 not $0 and for whatever reason this causes an issue with my Z axis. Basically it will never go past that line.
Attachments:

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

More
03 May 2021 23:29 #207767 by phillc54
I am out at the moment, could you post the job file and I will take a peek when I get back home.

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

More
03 May 2021 23:55 #207771 by crowloy
sure.

File Attachment:

File Name: MarkerCarv...1.job.gz
File Size:15 KB
Attachments:

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

More
04 May 2021 01:56 #207779 by phillc54
It won't open for me, I get this error messge "This file version is no lomger supported"

I am using SheetCam v7.1.12

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

More
04 May 2021 21:40 #207876 by crowloy
That is really weird. I was using 7.1.11 and after updating to 7.1.12, I was able to load the saved job file. There seem to be some issue's with sheetcam. If I use a drilling op instead of the center spot, I can not have both drilling and cutting in the same file. As for the Center Spot op, The last center spot does not have a M5 before the Material Setup. Therefore the M5 attempts to stop a cutting operation instead of a Center Spot operation and of course this is where linuxcnc fails. It really does not like a M5 $0 attempting to stop a M3 $2.
Attachments:

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

More
04 May 2021 23:33 #207902 by phillc54
It loads now :)

Try this:
The last operation you have, "Drill, DRILLING":
change the tool in that to "Center Spot"
change the "Min" and "Max" hole sizes so it covers all the holes
move that job so it is the first job

disable the "No Offset, DRILLING" operation

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

More
04 May 2021 23:40 #207906 by crowloy
looks like that will work. I posted on the sheetcam forum, since I believe that the issue shown above is still a bug. Not completing the operation before changing the setup is just wrong.

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

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