website logo
💾Software
Hardware
Navigate through spaces
💾Software
Hardware
⌘K
Untitled doc
Safety
I/O Control
Untitled doc
Inverting I/O
Using Spindle Control
Using AUX outputs
Using AUX inputs
Using other inputs
Using 0-10V outputs
Using PWM outputs
How to...
Config toolchain area guard (TCA)
How to use...
Loading and executing a job
Navigating the application
Starting the application
G-code
Introduction
Supported G-code
Supported M-codes
Macro programming
Introduction
M Function override and user M-functions
I/O Operations
Examples
Interpreter
Keyboard shortcuts
Camera support
Untitled doc
G-code
System-parameters/variables
Untitled doc
Untitled doc
Software installation
Interface
Keyboard shortcuts
Docs powered by archbee 
1min

Introduction

This chapter describes the input language, RS274/NGC. Overview The RS274/NGC language is based on lines of code. Each line (also called a "block") may include commands to a machining center to do several different things. Lines of code may be collected in a file to make a program. A typical line of code consists of an optional line number at the beginning followed by one or more "words." A word consists of a letter followed by a number (or something that evaluates to a number). A word may either give a command or provide an argument to a command. For example, "G1 X3" is a valid line of code with two words. "G1" is a command meaning "move in a straight line at the programmed feed rate," and "X3" provides an argument value (the value of X should be 3 at the end of the move). Most RS274/NGC commands start with either G or M (for miscellaneous). The words for these commands are called "G codes" and "M codes." The RS274/NGC language has no indicator for the start of a program. The RS274/NGC language has two commands (M2 or M30), either of which ends a program.

Updated 25 Mar 2022
Did this page help you?
Yes
No
UP NEXT
Supported G-code
Docs powered by archbeeÂ