Parser block structure. More...
#include <gcode.h>
Data Fields | |
| non_modal_t | non_modal_command |
| Non modal command. More... | |
| override_mode_t | override_command |
| Override command TODO: add to non_modal above? More... | |
| user_mcode_t | user_mcode |
| Set > 0 if a user M-code is found. More... | |
| bool | user_mcode_sync |
| Set to true by M-code validation handler if M-code is to be executed after synchronization. More... | |
| gc_modal_t | modal |
| The current modal state is copied here before parsing starts. More... | |
| spindle_modal_t | spindle_modal |
| gc_values_t | values |
| Parameter values for block. More... | |
| parameter_words_t | words |
| Bitfield for tracking found parameter values. More... | |
| output_command_t | output_command |
| Details about M62-M68 output command to execute if present in block. More... | |
| uint32_t | arc_turns |
| modal_state_action_t | state_action |
| M70-M73 modal state action. More... | |
Parser block structure.
Used internally by the parser to hold the details about a block. It will also be passed to mc_jog_execute() and any user M-code validation and execution handlers if called for.
| uint32_t arc_turns |
| gc_modal_t modal |
The current modal state is copied here before parsing starts.
| non_modal_t non_modal_command |
Non modal command.
Details about M62-M68 output command to execute if present in block.
| override_mode_t override_command |
Override command TODO: add to non_modal above?
| spindle_modal_t spindle_modal |
| modal_state_action_t state_action |
M70-M73 modal state action.
| user_mcode_t user_mcode |
Set > 0 if a user M-code is found.
| bool user_mcode_sync |
Set to true by M-code validation handler if M-code is to be executed after synchronization.
| gc_values_t values |
Parameter values for block.
| parameter_words_t words |
Bitfield for tracking found parameter values.