G Arc codes

just seeking reassurances.

A typical and simple arc in the XY plane would be something thus. % G21 G00 G40 G54 G90 X0 Y0 Z100 F1000 S1000 M03 G00 X0 Y50 Z10 M08 G01 Z-3 G02 G17 X0 Y-50 I0 J-50 (as G90 is called X & Y are absolute while I understand I & J are incremental) G01 Z10 M09 G00 Z100 M05 X0 Y0 M30 %

now in the YZ plane

% G21 G00 G40 G54 G90 X0 Y0 Z100 F1000 S1000 M03 G00 X50 Y0 Z10 M08 G01 Z-3 G02 G19 Y-50 Z-3 J-50 K0 (as G90 is called Y & Z are absolute. Assuming J & K are incremental is it correct to assume K should = 0. I ask this because using K0 or K-3 the prog appears to still function) G01 G17 Z10 M09 G00 Z100 M05 X0 Y0 M30 %

In both cases a 6mm dia ball nose cutter is producing a concave arced slot.

G code states I J & K can be either absolute or incremental. Is it correct for me to assume that if G90 is called at line 1 then all post lines are absolute or are they.

In short I am trying to understand where I J & K pick up being incremental or absolute.

Reply to
Kurt Ayrez
Loading thread data ...

a Prototrak fitted to an XYZ SM3500, I will check the manual.

Reply to
Kurt Ayrez

This is control dependent. With few exceptions, your control either wants to see the absolute position of the arc center or the incrimental distance to that point. You can also just use the R command instead of I,J,K on many controls.

What have you got?

Reply to
John R. Carroll

'Controls Type: Generic SWI ProtoTRAK MX2 (MX2,MX2E,M2,A.G.E.2) ARCT=1 ' ARCT=0 (RADIUS(R) OUTPUT),ARCT=1 (ABS(IJK) CENTERS),ARCT=2 (INC(IJK) CENTERS) DRILLT=1 ' DRILLT=0 (CANNED DRILLING CYCLES),DRILLT=1 (MANUAL DRILLING OUTPUT)

Reply to
John R. Carroll

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.