1

**G-Code, CAD, and CAM discussions / Edit post for xy position move then z**

« **on:**December 25, 2015, 05:33:43 PM »

**This is what my gcode is coming out like:**

G90G80G20G49

G0Z0.1000

G0 X-0.5662 Y0.9343 Z0.1000

G1 Z-0.1250 F30

**I would like it to come out like this:**

G90G80G20G49

G0 X-0.5662 Y0.9343

G0Z0.1000

G1 Z-0.1250 F30

**This is what my post looks like:**

; Set up program header

;

START = "([FILENAME])"

START = "(Material Size) (X=[XSIZE], Y=[YSIZE], Z=[ZMATERIAL])"

START = "(Tool Number:[T]) ([TOOLDESC])"

START = "G90G80G20G49"

START = "G0[ZH]"

;

; Program moves

;

FIRST_RAPID_RATE_MOVE = "G0 [X] [Y] [Z]"

;

FIRST_FEED_RATE_MOVE = "G1 [X] [Y] [Z] [F]"

FEED_RATE_MOVE = "[X] [Y] [Z]"

;

FIRST_CW_ARC_MOVE = "G2 [X] [Y]

*[J] [F]"*

CW_ARC_MOVE = "G2 [X] [Y]

CW_ARC_MOVE = "G2 [X] [Y]

*[J]"*

;

FIRST_CCW_ARC_MOVE = "G3 [X] [Y];

FIRST_CCW_ARC_MOVE = "G3 [X] [Y]

*[J] [F]"*

CCW_ARC_MOVE = "G3 [X] [Y]CCW_ARC_MOVE = "G3 [X] [Y]

*[J]"*

;

NEW_SEGMENT_POST_TOOLCHANGE= "(Tool Number:[T]) ([TOOLDESC])"

NEW_SEGMENT_POST_TOOLCHANGE= "M3 [S)"

;

; End of file

;

END = "G0[ZH]"

END = "G0[XH][YH]"

END = "M30"

; M30 = program end and rewind

;

NEW_SEGMENT_POST_TOOLCHANGE= "(Tool Number:[T]) ([TOOLDESC])"

NEW_SEGMENT_POST_TOOLCHANGE= "M3 [S)"

;

; End of file

;

END = "G0[ZH]"

END = "G0[XH][YH]"

END = "M30"

; M30 = program end and rewind

**I have tried a bunch of different codes and i cant get it to post like i wans**

Im sure its an easy fix. Any help would be appreciated

ThanksIm sure its an easy fix. Any help would be appreciated

Thanks