Parser state. More...
#include <gcode.h>
Data Fields | |
gc_modal_t | modal |
gc_canned_t | canned |
spindle_t * | spindle |
Last referenced spindle. More... | |
float | feed_rate |
Millimeters/min. More... | |
float | distance_per_rev |
Millimeters/rev. More... | |
float | position [N_AXIS] |
Where the interpreter considers the tool to be at this point in the code. More... | |
int32_t | line_number |
Last line number sent. More... | |
tool_id_t | tool_pending |
Tool to be selected on next M6. More... | |
bool | file_run |
Tracks % command. More... | |
bool | is_laser_ppi_mode |
bool | is_rpm_rate_adjusted |
bool | tool_change |
bool | skip_blocks |
true if skipping conditional blocks More... | |
status_code_t | last_error |
last return value from parser More... | |
offset_id_t | offset_id |
id(x) of last G92 coordinate offset (into circular buffer) More... | |
coord_data_t | offset_queue [MAX_OFFSET_ENTRIES] |
The following variables are not cleared upon warm restart when COMPATIBILITY_LEVEL <= 1. More... | |
bool | g92_coord_offset_applied |
true when G92 offset applied More... | |
float | g92_coord_offset [N_AXIS] |
float | tool_length_offset [N_AXIS] |
Tracks tool length offset when enabled. More... | |
tool_data_t * | tool |
Tracks tool number and tool offset. More... | |
Parser state.
gc_canned_t canned |
float distance_per_rev |
Millimeters/rev.
float feed_rate |
Millimeters/min.
bool file_run |
Tracks % command.
float g92_coord_offset[N_AXIS] |
Retains the G92 coordinate offset (work coordinates) relative to machine zero in mm. Persistent and loaded from non-volatile storage on boot when COMPATIBILITY_LEVEL <= 1
bool g92_coord_offset_applied |
true when G92 offset applied
bool is_laser_ppi_mode |
bool is_rpm_rate_adjusted |
status_code_t last_error |
last return value from parser
int32_t line_number |
Last line number sent.
gc_modal_t modal |
offset_id_t offset_id |
id(x) of last G92 coordinate offset (into circular buffer)
coord_data_t offset_queue[MAX_OFFSET_ENTRIES] |
The following variables are not cleared upon warm restart when COMPATIBILITY_LEVEL <= 1.
float position[N_AXIS] |
Where the interpreter considers the tool to be at this point in the code.
bool skip_blocks |
true if skipping conditional blocks
spindle_t* spindle |
Last referenced spindle.
tool_data_t* tool |
Tracks tool number and tool offset.
bool tool_change |
float tool_length_offset[N_AXIS] |
Tracks tool length offset when enabled.
tool_id_t tool_pending |
Tool to be selected on next M6.