Skip to content

GCode Instructions

Ludwig Austermann edited this page Aug 27, 2022 · 1 revision
  • G28: return to home position
  • G0 X{} Y{}: move, move to (X,Y) (from current position) (note that you probably want to use G1 instead)
  • G1 X{} Y{}: linear move, move directly to (X,Y) (from current position)
  • G2 X{} Y{} I{} J{}: (part-)circular move in clockwise direction, move to (X,Y) (from current position) along a circle with center in CURRENTPOS + (I,J)
  • G3 X{} Y{} I{} J{}: (part-)circular move in anticlockwise direction, move to (X,Y) (from current position) along a circle with center in CURRENTPOS + (I,J)
  • M280 P0 S{}: Set the pen as follows, if S>=40 down (which means it can draw) and else up
  • ;{}: comment, which can be put on seperate line or after a regular command
Clone this wiki locally