Overview: SRL commands supported during export

The following table lists the SRL commands that can be converted to an equivalent G-code in the corresponding dialect. For more information, refer to chapter Exporting G-code. Depending on the dialect, these can differ from each other.

INFORMATION

The identifier in curly brackets is representative for the value parameterized in the SRL command. A value in square brackets indicates a required value in a choice box in the edit window of the command. For example, when specifying [VAL], the configuration of the SRL command is only supported as a REAL value and not as a variable. This selection must be parameterized accordingly in the SRL command.

SRL command

DIN/ISO

Beckhoff

Siemens

PTP_EXPLICIT
X{x}, Y{y}, Z{z},
RotX{rot_x}, RotY{rot_y}, RotZ{rot_z}

G0
X{x}, Y{y}, Z{z},
A{rot_x}, B{rot_y}, C{rot_z}

Example: G0 X100 Y200 A300

LIN_EXPLICIT

X{x}, Y{y}, Z{z},

RotX{rot_x}, RotY{rot_y}, RotZ{rot_z}

G1
X{x}, Y{y}, Z{z},
A{rotx}, B{roty}, C{rotz}

Example: G0 X100 Y200 A300

LIN_SINGLE_COORD

Coordinate :={X, Y, Z, RotX, RotY, RotZ}

Target Position [VAL] := {coordinate}

 
{X, Y, Z, A, B, C} {coordinate}

Example: X100, A200

CIRC_EXPLICIT (CW)

Direction := CW

Description := RadiusEndpos

Plane := {XY, ZX, YX}

Radius:= {radius}

Endpos.X := {end_x}

Endpos.Y := {end_y}

Endpos.Z := {end_z}

{G17 (X-Y), G18 (Z-X), G19 (Y-X)}

G2

 

 

R{radius}

X{end_x}

Y{end_y}

Z{end_z}

Example:

G17

G2 X200.50 Y-10.00 R75.50

CIRC_EXPLICIT (CW)

Direction := CW

Description := CenterEndpos

Plane := {XY, ZX, YX}

Center.X := {center_x}

Center.Y := {center_y}

Center.Z := {center_z}

Endpos.X := {end_x}

Endpos.Y := {end_y}

Endpos.Z := {end_z}

{G17 (X-Y), G18 (Z-X), G19 (Y-X)}

G2

 

 

I{ center_x }

J{ center_y }

K{ center_z}

X{end_x}

Y{end_y}

Z{end_z}

Example:

G17

G2 X20.50 Y-456.00 I30.00 J25.00

CIRC_EXPLICIT (CCW)

Direction := CCW

Description := RadiusEndpos

Plane := {XY, ZX, YX}

Radius:= {radius}

Endpos.X := {end_x}

Endpos.Y := {end_y}

Endpos.Z := {end_z}

{G17 (X-Y), G18 (Z-X), G19 (Y-X)}

G3

 

 

R{radius}

X{end_x}

Y{end_y}

Z{end_z}

Example:

G17

G3 X200.50 Y-10.00 R75.50

CIRC_EXPLICIT (CCW)

Direction := CCW

Description := CenterEndpos

Plane := {XY, ZX, YX}

Center.X := {center_x}

Center.Y := {center_y}

Center.Z := {center_z}

Endpos.X := {end_x}

Endpos.Y := {end_y}

Endpos.Z := {end_z}

{G17 (X-Y), G18 (Z-X), G19 (Y-X)}

G3

 

 

I{ center_x }

J{ center_y }

K{ center_z}

X{end_x}

Y{end_y}

Z{end_z}

Example:

G17

G3 X20.50 Y-456.00 I30.00 J25.00

WAIT_TIME {500}[ms]

G4 T{0.5}

SET_BLENDING_PARA

Activate Blending [VAL] := TRUE

G64

G261

G64

SET_BLENDING_PARA

Blending distance [VAL] := {blending}

The "Blending distance" setting is ignored if the "Insert SET_BLENDING_PARA" setting is selected in the Configuration general menu and the command is at the beginning of the SRL program. All other parameterized settings lead to a fault during the conversion.

SET_BLENDING_PARA

Activate Blending [VAL] := FALSE

G60

G260

G60

SET_Coordsys

Coordinate System := Base

G53

SET_Coordsys

Coordinate System := User

G54

SET_ABS_REL

TargetPose := ABSOLUTE

G90

SET_ABS_REL

TargetPose := RELATIVE

G91

SET_MOTIONSET

The "Blending distance" setting is ignored if the "Insert SET_MOTIONSET" setting is selected in the Configuration general menu and the command is at the beginning of the SRL program. All other parameterized settings lead to a fault during the conversion.

SET_MOTIONPARA

Velocity := {velocity}

Acceleration := {acceleration}

Deceleration := {deceleration}

Jerk := {jerk}

 

F={velocity}

$AC_PATHACC={ acceleration }

$AC_PATHDEC={ deceleration }

$AC_PATHJERK={ jerk }

 

INFORMATION: $AC_PATHACC, $AC_PATHDEC and $AC_PATHJERK are only available in the "Sinumerik for 840D" dialect and exclusively for translation. Not all 4 settings have to be parameterized at the same time.

WAIT MotionDone

Ignored if the following command is a CallFunction.

REG PATH_EVENT

Reference := EndOfSegment

Distance := 0

Time := 0

Ignored if the following command is a CallFunction.

CALL_FUNCTION {index}

M{index}

END_PROG

M30