Overview: G-code commands supported in the SRL program

The following table lists the G-code commands which can be converted to SRL commands. It should be noted that, depending on the dialect, the G-code commands may differ from the described function or are not supported. Supported commands are marked with a '✓' in the respective dialect. Unsupported commands are marked with a '-'.

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 blocks

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 blocks

-

-

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 blocks

-

-

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 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

-