Remove or Customize Startcode G00 G17 G40 G21 G54

Hello Lightburn Community,

I have to create a custom G-Code that can be read by a SIEMENS T-CPU.
Using the “Custom GCode” Device I managed to mostly adapt the syntax.

Unfortunately, SIEMENS has the following requirement:

Per line only one main G-Code (G-Code for describing a motion) is permitted

I can´t figure out how to remove or customize the G00 G17 G40 G21 G54 (Initial Code), which is now written in the one single line.

I would be very thankful if someone has a solution for that.

Current Code:

G00 G17 G40 G21 G54 //// Thats the issue
G90

M11
G0 X413.127Y216.419
M10
G1 X413.944Y217.326S200F3000
G1 X415.715Y219.009
G1 X417.146Y220.165
G1 X418.648Y221.236
.
.
.
.

You can not delete that line set configs for current job.
However you could set a Custom Gcode device same type has you have tested
image
With multi line codes instead of e.g. M8 ( likely controlled by SIEMENS T-CPU ) and then delete that line with Notepad++ with string “G00 G17 G40 G21 G54” always.

Thank you for the answer.
I hoped there is a way to directly export a running code.
Now I know that we must add this extra step.

Another thing is that instead of deleting the line with “G00 G17 G40 G21 G54”, you can visually check the codes when editing and comment out that line at the beginning with a semicolon (;).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.