#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 |
| struct | m98_macro |
Macros | |
| #define | MAX_LINE_NUMBER 10000000 |
| #define | MACH3_SCALING |
| #define | I_VALUE X_AXIS |
| #define | J_VALUE Y_AXIS |
| #define | K_VALUE Z_AXIS |
| #define | RETURN(status) return gc_at_exit(status); |
Typedefs | |
| typedef struct m98_macro | m98_macro_t |
Enumerations | |
| enum | axis_command_t { AxisCommand_None = 0 , AxisCommand_NonModal , AxisCommand_MotionMode , AxisCommand_ToolLengthOffset , AxisCommand_Scaling } |
Variables | |
| DCRAM parser_state_t | gc_state |
| m98_macro_t * | m98_macros = NULL |
| #define I_VALUE X_AXIS |
| #define J_VALUE Y_AXIS |
| #define K_VALUE Z_AXIS |
| #define MACH3_SCALING |
| #define MAX_LINE_NUMBER 10000000 |
| #define RETURN | ( | status | ) | return gc_at_exit(status); |
| typedef struct m98_macro m98_macro_t |
| enum axis_command_t |
| axes_signals_t gc_claim_axis_words | ( | parser_block_t * | gc_block, |
| axes_signals_t | validate | ||
| ) |
| 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 | ) |
| 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 | ||
| ) |
| size_t gc_macro_get_pos | ( | macro_id_t | id, |
| vfs_file_t * | file | ||
| ) |
| 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 |
| m98_macro_t* m98_macros = NULL |