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 | ||
| Line number | ✓ | ✓ | ✓ |
| Comment | ✓ | - | - |
| Comment | - | ✓ | ✓ |
| PTP interpolation | ✓ | ✓ | ✓ |
| Linear interpolation | ✓ | ✓ | ✓ |
G2 | Clockwise circular interpolation | ✓ | ✓ | ✓ |
| Counterclockwise circular interpolation | ✓ | ✓ | ✓ |
| Dwell time [s] | ✓ | ✓ | ✓ |
| Exact stop, in blocks | ✓ | ✓ | ✓ |
| Plane selection X-Y | ✓ | ✓ | ✓ |
| Plane selection Z-X | ✓ | ✓ | ✓ |
| Plane selection Y-Z | ✓ | ✓ | ✓ |
| Modal machine coordinates | ✓ | ✓ | Becomes G500 |
| Machine coordinates in blocks | - | - | ✓ |
| Modal user coordinates | ✓ | ✓ | ✓ |
| Activate exact stop modally (blending deactivated) | ✓ | Becomes G260 | ✓ |
| Exact stop modally deactivated (blending activated) | ✓ | Becomes G261 | ✓ |
| Dimensions in mm | ✓ | ✓ | ✓ |
| Absolute target coordinates | ✓ | ✓ | ✓ |
| Relative target coordinates | ✓ | ✓ | ✓ |
| Modal exact stop | - | ✓ | - |
| Deactivate modal exact stop | - | ✓ | - |
G500 | Modal machine coordinates | - | - | ✓ |
| ||||
| Coordinate for rotation around X | ✓ | ✓ | ✓ |
| Coordinate for rotation around Y | ✓ | ✓ | ✓ |
| Coordinate for rotation around Z | ✓ | ✓ | ✓ |
| Feed [mm/s] | ✓ | ✓ | ✓ |
| Circle center, X coordinate | ✓ | ✓ | ✓ |
| Circle center, Y coordinate | ✓ | ✓ | ✓ |
| Circle center, Z coordinate | ✓ | ✓ | ✓ |
| Radius | ✓ | ✓ | ✓ |
| Machine coordinates in blocks | - | - | ✓ |
| X target coordinate | ✓ | ✓ | ✓ |
| Y target coordinate | ✓ | ✓ | ✓ |
| Z target coordinate | ✓ | ✓ | ✓ |
| ||||
| System variable acceleration of the subsequent motion commands | - | - | ✓ |
| System variable deceleration of the subsequent motion commands | - | - | ✓ |
| System variable jerk of the subsequent motion commands | - | - | ✓ |
| ||||
| User-defined function | - | ✓ | - |
| Planned stop | ✓ | ✓ | ✓ |
| Optional stop | ✓ | ✓ | ✓ |
| End of program | ✓ | ✓ | ✓ |
| Clockwise spindle/cutting OFF | ✓ | ✓ | ✓ |
| Counterclockwise spindle/cutting ON | ✓ | ✓ | ✓ |
| Switch off spindle | ✓ | ✓ | ✓ |
| Tool change | - | - | - |
| Cooling no. 2 On | ✓ | ✓ | ✓ |
| Cooling no. 1 On | ✓ | ✓ | ✓ |
| Cooling (all) Off | ✓ | ✓ | ✓ |
| Terminals | ✓ | ✓ | ✓ |
| Loosen | ✓ | ✓ | ✓ |
| User-defined function | ✓ | No M17 | No M17 |
| Spindle stops with defined end position | ✓ | ✓ | ✓ |
| User-defined function | ✓ | ✓ | ✓ |
| End of program | ✓ | ✓ | ✓ |
| User-defined function | ✓ | ✓ | ✓ |
| Clamping pressure normal | ✓ | ✓ | ✓ |
| Clamping pressure reduced | ✓ | ✓ | ✓ |
| User-defined function | ✓ | ✓ | ✓ |
| Automatic gear unit stage | - | - | - |
| Gear unit stage 1 – 5 | - | - | - |
| User-defined function | ✓ | ✓ | ✓ |
| Overlapping effective | - | - | - |
| Overlapping ineffective | - | - | - |
| Cooling no. 3 On | ✓ | ✓ | ✓ |
| Cooling no. 4 On | ✓ | ✓ | ✓ |
| User-defined function | ✓ | ✓ | ✓ |
| Constant spindle rotational speed Off | ✓ | ✓ | ✓ |
| Constant spindle rotational speed On | ✓ | ✓ | ✓ |
| Workpiece change | - | - | - |
| User-defined function | ✓ | ✓ | ✓ |
| User-defined function | ✓ | - | ✓ |