G-code

INFORMATION

A detailed description can be found in the ISO 6983-1 standard.

The G-code has established itself as a common language for programming machine tools (e.g. CNC machines). The G-code can be used to define the course of paths and switch path-dependent actions using imperative programming. Apart from classic programming, many CAD programs also enable you to generate the G-code from the available workpiece data. Thus, even complex contours can be represented as G-code programs.

In contrast to conventional numerical controls, the G-code cannot be executed directly by the MOVI-C® CONTROLLER. However, since the SEW Robot Language supported by the software module is based on the G-code, the G-code can be converted into the SEW Robot Language. The RobotMonitor handles importing, conversion, and transfer of the G-code file, and it is manually executed. For further information, refer to chapter Manual G-code import/export. Alternatively, an automatic import of the G-code is possible. For further information, refer to chapter Automatic G-code import.

Before the import process, the programmer can decide which program slot of the interpreter to save the converted G-code. Subsequent editing or teaching of further motion commands is possible at any time in the RobotMonitor. RobotMonitor supports G-code programs that have been created according to ISO 6983-1 and in Siemens' Sinumerik dialect or Beckhoff's TwinCAT dialect. A G-code program can control exactly one robot instance.

For further information on this topic, refer to chapter Functional description.