Overview: G-code commands supported during import

The following table lists the G-code commands that can be converted into SRL commands when importing G-code. Commands supported in the respective dialect are marked with a '✓'. Unsupported commands are marked with a '-'. For further information, refer to the subsequent chapters.

G-code

Supported

DIN/ISO

Beckhoff

Siemens

N

Line number

( )

Comment

-

-

;

Comment

-

G0

PTP interpolation

G1

Linear interpolation

G2

Clockwise circular interpolation

G3

Counterclockwise circular interpolation

G4

Dwell time [s]

G9

Exact stop, in sets

G17

Plane selection X-Y

G18

Plane selection Z-X

G19

Plane selection Y-Z

G53

Modal machine coordinates

Becomes G500

G53

Machine coordinates in sets

-

-

G54

Modal user coordinates

G60

Activate exact stop modally (blending deactivated)

Becomes G260

G64

Exact stop modally deactivated (blending activated)

Becomes G261

G71

Dimensions in mm

G90

Absolute target coordinates

G91

Relative target coordinates

G260

Modal exact stop

-

-

G261

Deactivate modal exact stop

-

-

G500

Modal machine coordinates

-

-

 

A

Coordinate for rotation around X

B

Coordinate for rotation around Y

C

Coordinate for rotation around Z

F

Feed [mm/s]

I

Circle center, X coordinate

J

Circle center, Y coordinate

K

Circle center, Z coordinate

R

Radius

SUPA

Machine coordinates in sets

-

-

X

X target coordinate

Y

Y target coordinate

Z

Z target coordinate

 

$AC_PATHACC

System variable acceleration of the subsequent motion commands

-

-

$AC_PATHDEC

System variable deceleration of the subsequent motion commands

-

-

$AC_PATHJERK

System variable jerk of the subsequent motion commands

-

-

 

M0 – M159 (except for M2, M17, M30)

User-defined function

-

-

M0

Planned stop

M1

Optional stop

M2

End of program

M3

Clockwise spindle/cutting OFF

M4

Counterclockwise spindle/cutting ON

M5

Switch off spindle

M6

Tool change

-

-

-

M7

Cooling no. 2 ON

M8

Cooling no. 1 ON

M9

Cooling (all) OFF

M10

Terminals

M11

Loosen

M12 – M18

User-defined function

No M17

No M17

M19

Spindle stops with defined end position

M20 – M29

User-defined function

M30

End of program

M31 –M33

User-defined function

M34

Clamping pressure normal

M35

Clamping pressure reduced

M36 –M39

User-defined function

M40

Automatic gear unit stage

-

-

-

M41 – M45

Gear unit stage 1 – 5

-

-

-

M46 –M47

User-defined function

M48

Overlapping effective

-

-

-

M49

Overlapping ineffective

-

-

-

M50

Cooling no. 3 ON

M51

Cooling no. 4 ON

M52 – M57

User-defined function

M58

Constant spindle rotational speed OFF

M59

Constant spindle rotational speed ON

M60

Workpiece change

-

-

-

M61 – M159

User-defined function

M160 – M65535

User-defined function

-