This is a copy of the "Cheat sheet" page accessible from the main menu on your Onefinity Controller (download as pdf).
It is accessible on your Onefinity controller on the GCode Cheat Sheet page
Onefinity CNC Controller v1.0.9
Code |
Parameters |
Description |
|
---|---|---|---|
|
|
|
|
Motion |
|
||
|
Rapid Move |
|
|
|
Linear Move |
|
|
I J K or R, P |
Arc Move |
|
|
P |
Dwell |
|
|
I J P Q |
Cubic Spline |
(not supported) |
|
I J |
Quadratic Spline |
(not supported) |
|
P L |
NURBS |
(not supported) |
|
K |
Rigid Tapping |
(not supported) |
|
|
|
|
|
Homing & Probing |
|
||
|
(Un)set Axis Homed State |
|
|
|
Straight Probe |
|
|
|
Seek Switch |
|
|
|
|
|
|
Tool Control |
|
||
|
Select Tool |
|
|
T |
Tool Change |
|
|
Q |
Set Current Tool |
(not supported) |
|
P Q R |
Set Tool Table |
|
|
P |
Set Tool Table |
|
|
P |
Set Tool Table |
|
|
H |
Tool Length Offset |
|
|
|
Dynamic Tool Length Offset |
|
|
H |
Apply additional Tool Length Offset |
|
|
|
Cancel Tool Length Compensation |
|
|
|
|
|
|
Feed Control |
|
||
|
Set Feed Rate |
|
|
|
Feed Rate Mode |
(not supported) |
|
P0 (off) or P1 (on) |
Adaptive Feed Control |
(not supported) |
|
P0 (off) or P1 (on) |
Feed Stop Control |
(not supported) |
|
|
|
|
|
Spindle Control |
|
||
|
Set Spindle Speed |
|
|
S |
Spindle Control |
|
|
|
Orient Spindle |
(not supported) |
|
S D |
Spindle Control Mode |
(not supported) |
|
K |
Spindle Synchronized Motion |
(not supported) |
|
|
|
|
|
Coolant |
|
||
|
Coolant Control |
|
|
|
|
|
|
Stopping |
|
||
|
Program Pause |
|
|
|
Program End |
|
|
|
Pallet Change Pause |
(not supported) |
|
|
|
|
|
Units |
|
||
|
Units (inch, mm) |
|
|
|
|
|
|
Distance Mode |
|
||
|
Distance Mode |
|
|
|
Arc Distance Mode |
|
|
|
Lathe Diameter Mode |
(not supported) |
|
|
Lathe Radius Mode |
(not supported) |
|
|
|
|
|
Cutter Radius Compensation |
(not supported) |
||
|
Compensation Off |
(not supported) |
|
D |
Cutter Compensation |
(not supported) |
|
D L |
Dynamic Cutter Compensation |
(not supported) |
|
|
|
|
|
Path Control Mode |
|
||
|
Exact Path Mode |
|
|
P Q |
Path Blending (Partial support) |
|
|
|
|
|
|
Overrides |
|
||
|
Speed and Feed Override Control |
(not supported) |
|
P0 (off) or P1 (on) |
Feed Override Control |
(not supported) |
|
P0 (off) or P1 (on) |
Spindle Speed Override Control |
(not supported) |
|
|
|
|
|
Coordinate Systems, Offsets & Planes |
|
||
|
Select Coordinate System |
|
|
P R |
Set Coordinate System |
|
|
P |
Set Coordinate System |
|
|
|
Local Coordinate System Offset |
|
|
|
Move in Machine Coordinates |
|
|
|
Coordinate System Offset |
|
|
|
Reset G92 Offsets |
|
|
|
Restore G92 Offsets |
|
|
|
Go/Set Predefined Position |
|
|
|
Go/Set Predefined Position |
|
|
(affects G2, G3, G81…G89, G40…G42) |
Plane Select |
|
|
|
|
|
|
Flow-control Codes |
|
||
|
Subroutines, sub/endsub call |
|
|
|
Looping, while/endwhile do/while |
|
|
|
Conditional, if/else/endif |
|
|
|
Repeat a loop of code |
|
|
|
Indirection |
|
|
|
Call named or numbered file |
|
|
|
|
|
|
Modal State |
|
||
|
Save modal state |
|
|
|
Invalidate stored state |
|
|
|
Restore modal state |
|
|
|
Save and Auto-restore modal state |
|
|
|
|
|
|
Input/Output |
|
||
P |
Digital Output Control |
(not supported) |
|
P E L Q |
Wait on Input |
(not supported) |
|
T |
Analog Output,Synchronized |
(not supported) |
|
T |
Analog Output, Immediate |
(not supported) |
|
|
|
|
|
User Defined Commands |
(not supported) |
||
P Q |
User Defined Commands |
(not supported) |
|
|
|
|
|
Canned cycles |
|
||
|
Cancel Canned Cycle |
|
|
R L (P) |
Drilling Cycle |
|
|
R L (P) |
Drilling Cycle, Dwell |
|
|
R L Q |
Drilling Cycle, Peck |
(not supported) |
|
R L Q |
Drilling Cycle, Chip Breaking |
|
|
R L (P) |
Boring Cycle, Feed Out |
|
|
R L (P) |
Boring Cycle, Dwell, Feed Out |
|
|
P Z I J R K Q H L E |
Threading Cycle |
(not supported) |
|
|
Canned Cycle Return Level |
(not supported) |
|
|
|
|
|
Comments & Messages |
|
||
|
Comments |
|
|
|
Messages |
|
|
|
Debug Messages |
|
|
|
Print Messages |
(not supported) |
|
|
Logging Messages |
|
The Buildbotics controller implements a subset of LinuxCNC GCode. Supported commands are listed above. You can find further help with GCode programming on the LinuxCNC website:
|
|
|