Skip to content

Struct SYN_GCode_Controller

ClassList > SYN_GCode_Controller

G-Code interpreter and controller instance.

  • #include <syn_gcode.h>

Public Attributes

Type Name
uint32_t active_tool
SYN_GCode_Config cfg
SYN_GCode_CoolantMode coolant
SYN_Vector3F current_pos
SYN_GCode_DistanceMode dist_mode
float feedrate
SYN_GCode_MotionMode motion_mode
bool move_in_progress
SYN_Vector3F offset_pos
SYN_GCode_Plane plane
SYN_PT pt
SYN_GCode_SpindleMode spindle
float spindle_speed
SYN_GCode_Units units

Public Attributes Documentation

variable active_tool

uint32_t SYN_GCode_Controller::active_tool;

Active tool number


variable cfg

SYN_GCode_Config SYN_GCode_Controller::cfg;

Controller configuration


variable coolant

SYN_GCode_CoolantMode SYN_GCode_Controller::coolant;

Active coolant state


variable current_pos

SYN_Vector3F SYN_GCode_Controller::current_pos;

Current machine coordinate position


variable dist_mode

SYN_GCode_DistanceMode SYN_GCode_Controller::dist_mode;

Active distance mode (G90/G91)


variable feedrate

float SYN_GCode_Controller::feedrate;

Active feedrate (units/sec)


variable motion_mode

SYN_GCode_MotionMode SYN_GCode_Controller::motion_mode;

Active motion mode


variable move_in_progress

bool SYN_GCode_Controller::move_in_progress;

Motion move currently in execution


variable offset_pos

SYN_Vector3F SYN_GCode_Controller::offset_pos;

G92 Coordinate system offset


variable plane

SYN_GCode_Plane SYN_GCode_Controller::plane;

Active plane selection


variable pt

SYN_PT SYN_GCode_Controller::pt;

Protothread state


variable spindle

SYN_GCode_SpindleMode SYN_GCode_Controller::spindle;

Active spindle state


variable spindle_speed

float SYN_GCode_Controller::spindle_speed;

Active spindle speed (RPM)


variable units

SYN_GCode_Units SYN_GCode_Controller::units;

Active unit system



The documentation for this class was generated from the following file src/syntropic/motor/syn_gcode.h