Skip to content

Feature Request: Add setting to ignore M5 for 'program splitting' #22

@DeeEmm

Description

@DeeEmm

Hi Tim,

I found your batch processor after searching on how to overcome the tool change limitation in Fusion360. In my old (subscribed) version of Fusion360 I used to be able to generate a single file and I really miss this as manually editing files is becoming a bit of a bore.

I've installed your processor and got it working, but unfortunately it is throwing up an issue with my post processor...

0 files were written. 2 Setups were skipped due to error:
Failed on setup PROFILE_CUT: Tool change G-code (Txx) not found; this post processor is not compatible with Post Process All.
Failed on setup SPOT_MARK: Tool change G-code (Txx) not found; this post processor is not compatible with Post Process All.

Obviously it is complaining that there are no Tool Change commands in the output (which is true). My setup is a plasma table and does not physically change tools, however it does use a drilling operation in Fusion360 to perform 'Spot Marking' to centre mark where holes need to be drilled. So essentially I use two 'virtual' tools - one to generate the spot marks and the other to cut the profile. I chose to omit the physical tool change from my post processor as it is essentially redundant, however it is now preventing me from using your code and I need to add it back in.

As I wrote the post processor I can easily edit it to generate what your post processor expects to see, however exactly what it wants is unclear. So I would like to ask for some advice in fixing it.

Do I just add a T01 / T02 command at the top of each generated NC file? and is there a preference for where this line is located within the generated output? (After the G64 command perhaps?)

I've included an example output below

(--- Created by DeeEmm DDCSV Plasma Post Processor ---)
(--- https://github.com/DeeEmm/DDCSV11-Plasma ---)
(--- Program: BASE_GUSSET ---)
(--- 6MM-HOT-ROLLED ---)
(--- Workpiece:   0.000 <= X <= 60.000 | 0.000 <= Y <= 56.000 | -6.000 <= Z <= 0.000 ---)
(--- Tool travel: 3.000 <= X <= 63.905 | 3.000 <= Y <= 53.000 | 0.000 <= Z <= 15.000 ---)
(--- Safe Z: 15.000 ---)
G90
M5
(--- Units: millimeters ---)
G21
G64 P0.0254
(--- Setup #1 ---)
G00 X26.483 Y19.905
G00 X26.483 Y19.905
(--- [START] Probe Z Axis: 40mm @ 300mm/s and add -2.35mm floating head offset ---)
G4 P0
M101
G91
G91 Z-40 F300
M102
G4 P0
M103
G91 Z40 F300
M102
G4 P0
G90
G4 P0
G92 Z-2.35
G4 P0
(--- [END] Probe Z ---)
(--- [START] Cut Path - Operation #1 @ 5mm Pierce Height & 1.5mm Cut Height with 2500ms Pierce Delay ---)
G0 Z5 F1800
F75
S500 M3
F75
G4 P2500
F75
G0 Z 1.5 F75
F75
(--- Pierced and cutting ---)
F300
G01 X25.552 Y19.368F300
G01 X28.052 Y15.038
G03 X31.581 Y13.000 I3.529 J2.038
G01 X45.000 Y13.000
G03 X47.000 Y15.000 I0.000 J2.000
G01 X47.000 Y36.000
G03 X45.000 Y38.000 I-2.000 J0.000
G01 X15.000 Y38.000
G03 X13.000 Y36.000 I0.000 J-2.000
G01 X13.000 Y15.000
G03 X15.000 Y13.000 I2.000 J0.000
G01 X31.581 Y13.000
G03 X35.110 Y15.038 I0.000 J4.075
G01 X37.610 Y19.368
G01 X36.679 Y19.905
(--- [END] Cut Path - Operation #1 ---)
F1800
M5
G0 Z 5
G4 P 1500
G00 X36.679 Y19.905
G00 X63.905 Y51.833
G00 X63.905 Y51.833
(--- [START] Probe Z Axis: 40mm @ 300mm/s and add -2.35mm floating head offset ---)
G4 P0
M101
G91
G91 Z-40 F300
M102
G4 P0
M103
G91 Z40 F300
M102
G4 P0
G90
G4 P0
G92 Z-2.35
G4 P0
(--- [END] Probe Z ---)
(--- [START] Cut Path - Operation #2 @ 5mm Pierce Height & 1.5mm Cut Height with 2500ms Pierce Delay ---)
G0 Z5 F1800
F75
S500 M3
F75
G4 P2500
F75
G0 Z 1.5 F75
F75
(--- Pierced and cutting ---)
F300
G01 X63.368 Y52.764
G01 X59.037 Y50.264
G03 X57.000 Y46.735 I2.038 J-3.529
G01 X57.000 Y3.000
G01 X3.000 Y3.000
G01 X3.000 Y53.000
G01 X57.000 Y53.000
G01 X57.000 Y46.735
G03 X59.037 Y43.206 I4.075 J0.000
G01 X63.368 Y40.706
G01 X63.905 Y41.637
(--- [END] Cut Path - Operation #2 ---)
F1800
M5
G0 Z 5
G4 P 1500
G00 X63.905 Y41.637
(--- JOB FINISH ---)
G00 Z15.000
M5
M2

Any help / insight warmly welcomed.

With thanks in advance.

/DM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions