#include <math.h>#include <string.h>#include <stdlib.h>#include "hal.h"#include "motion_control.h"#include "protocol.h"#include "state_machine.h"#include "ngc_params.h"#include "ngc_expr.h"#include "ngc_flowctrl.h"Data Structures | |
| union | modal_groups_t |
| struct | modal_restore_actions_t |
| struct | word_bit_t |
| union | ijk_words_t |
Macros | |
| #define | MAX_LINE_NUMBER 10000000 |
| #define | MACH3_SCALING |
| #define | GCODE_ADVANCED 1 |
| #define | I_VALUE X_AXIS |
| #define | J_VALUE Y_AXIS |
| #define | K_VALUE Z_AXIS |
| #define | FAIL(status) return(status); |
Enumerations | |
| enum | axis_command_t { AxisCommand_None = 0 , AxisCommand_NonModal , AxisCommand_MotionMode , AxisCommand_ToolLengthOffset , AxisCommand_Scaling } |
Functions | |
| parser_state_t * | gc_get_state (void) |
| char * | gc_coord_system_to_str (coord_system_id_t id) |
| float * | gc_get_scaling (void) |
| axes_signals_t | gc_get_g51_state (void) |
| float | gc_get_offset (uint_fast8_t idx, bool real_time) |
| void | gc_set_tool_offset (tool_offset_mode_t mode, uint_fast8_t idx, int32_t offset) |
| plane_t * | gc_get_plane_data (plane_t *plane, plane_select_t select) |
| void | gc_init (bool stop) |
| bool | gc_laser_ppi_enable (uint_fast16_t ppi, uint_fast16_t pulse_length) |
| spindle_t * | gc_spindle_get (spindle_num_t spindle) |
| void | gc_spindle_off (void) |
| void | gc_coolant (coolant_state_t state) |
| void | gc_clear_output_commands (output_command_t *cmd) |
| void | gc_output_message (char *message) |
| parameter_words_t | gc_get_g65_arguments (void) |
| bool | gc_modal_state_restore (gc_modal_snapshot_t *snapshot) |
| char * | gc_normalize_block (char *block, status_code_t *status, char **message) |
| status_code_t | gc_execute_block (char *block) |
Variables | |
| DCRAM parser_state_t | gc_state |
| #define FAIL | ( | status | ) | return(status); |
| #define GCODE_ADVANCED 1 |
| #define I_VALUE X_AXIS |
| #define J_VALUE Y_AXIS |
| #define K_VALUE Z_AXIS |
| #define MACH3_SCALING |
| #define MAX_LINE_NUMBER 10000000 |
| enum axis_command_t |
| void gc_clear_output_commands | ( | output_command_t * | cmd | ) |
| void gc_coolant | ( | coolant_state_t | state | ) |
| char* gc_coord_system_to_str | ( | coord_system_id_t | id | ) |
| status_code_t gc_execute_block | ( | char * | block | ) |
| axes_signals_t gc_get_g51_state | ( | void | ) |
| parameter_words_t gc_get_g65_arguments | ( | void | ) |
| float gc_get_offset | ( | uint_fast8_t | idx, |
| bool | real_time | ||
| ) |
| plane_t* gc_get_plane_data | ( | plane_t * | plane, |
| plane_select_t | select | ||
| ) |
| float* gc_get_scaling | ( | void | ) |
| parser_state_t* gc_get_state | ( | void | ) |
| void gc_init | ( | bool | stop | ) |
| bool gc_laser_ppi_enable | ( | uint_fast16_t | ppi, |
| uint_fast16_t | pulse_length | ||
| ) |
| bool gc_modal_state_restore | ( | gc_modal_snapshot_t * | snapshot | ) |
| char* gc_normalize_block | ( | char * | block, |
| status_code_t * | status, | ||
| char ** | message | ||
| ) |
| void gc_output_message | ( | char * | message | ) |
| void gc_set_tool_offset | ( | tool_offset_mode_t | mode, |
| uint_fast8_t | idx, | ||
| int32_t | offset | ||
| ) |
| spindle_t* gc_spindle_get | ( | spindle_num_t | spindle | ) |
| void gc_spindle_off | ( | void | ) |
| DCRAM parser_state_t gc_state |