grblHAL core  20241107
gc_modal_t Struct Reference

#include <gcode.h>

Data Fields

motion_mode_t motion
 {G0,G1,G2,G3,G38.2,G80} More...
 
feed_mode_t feed_mode
 {G93,G94,G95} More...
 
bool units_imperial
 {G20,G21} More...
 
bool distance_incremental
 {G90,G91} More...
 
bool diameter_mode
 {G7,G8} Lathe diameter mode. More...
 
plane_select_t plane_select
 {G17,G18,G19} More...
 
tool_offset_mode_t tool_offset_mode
 {G43,G43.1,G49} More...
 
coord_system_t coord_system
 {G54,G55,G56,G57,G58,G59,G59.1,G59.2,G59.3} More...
 
program_flow_t program_flow
 {M0,M1,M2,M30,M60} More...
 
coolant_state_t coolant
 {M7,M8,M9} More...
 
spindle_t spindle
 {M3,M4,M5 and G96,G97} More...
 
gc_override_flags_t override_ctrl
 {M48,M49,M50,M51,M53,M56} More...
 
cc_retract_mode_t retract_mode
 {G98,G99} More...
 
bool scaling_active
 {G50,G51} More...
 
bool canned_cycle_active
 
float spline_pq [2]
 {G5} More...
 
bool auto_restore
 
float feed_rate
 {F} NOTE: only set when saving modal state More...
 

Field Documentation

◆ auto_restore

bool auto_restore

◆ canned_cycle_active

bool canned_cycle_active

◆ coolant

coolant_state_t coolant

{M7,M8,M9}

◆ coord_system

coord_system_t coord_system

{G54,G55,G56,G57,G58,G59,G59.1,G59.2,G59.3}

◆ diameter_mode

bool diameter_mode

{G7,G8} Lathe diameter mode.

◆ distance_incremental

bool distance_incremental

{G90,G91}

◆ feed_mode

feed_mode_t feed_mode

{G93,G94,G95}

◆ feed_rate

float feed_rate

{F} NOTE: only set when saving modal state

◆ motion

motion_mode_t motion

{G0,G1,G2,G3,G38.2,G80}

◆ override_ctrl

gc_override_flags_t override_ctrl

{M48,M49,M50,M51,M53,M56}

◆ plane_select

plane_select_t plane_select

{G17,G18,G19}

◆ program_flow

program_flow_t program_flow

{M0,M1,M2,M30,M60}

◆ retract_mode

cc_retract_mode_t retract_mode

{G98,G99}

◆ scaling_active

bool scaling_active

{G50,G51}

◆ spindle

spindle_t spindle

{M3,M4,M5 and G96,G97}

◆ spline_pq

float spline_pq[2]

{G5}

◆ tool_offset_mode

tool_offset_mode_t tool_offset_mode

{G43,G43.1,G49}

◆ units_imperial

bool units_imperial

{G20,G21}


The documentation for this struct was generated from the following file: