22 #ifndef motion_control_h
23 #define motion_control_h
26 #define HOMING_CYCLE_LINE_NUMBER 0
27 #define PARKING_MOTION_LINE_NUMBER 0
29 #define HOMING_CYCLE_ALL 0
30 #define HOMING_CYCLE_X bit(X_AXIS)
31 #define HOMING_CYCLE_Y bit(Y_AXIS)
32 #define HOMING_CYCLE_Z bit(Z_AXIS)
43 uint8_t axis_0, uint8_t axis_1, uint8_t axis_linear, uint8_t is_clockwise_arc);
uint8_t mc_probe_cycle(float *target, plan_line_data_t *pl_data, uint8_t parser_flags)
Perform tool length probe cycle. Requires probe switch.
void mc_arc(float *target, plan_line_data_t *pl_data, float *position, float *offset, float radius, uint8_t axis_0, uint8_t axis_1, uint8_t axis_linear, uint8_t is_clockwise_arc)
Execute an arc in offset mode format. position == current xyz, target == target xyz,.
Planner data prototype. Must be used when passing new motions to the planner.
void mc_homing_cycle(uint8_t cycle_mask)
Perform homing cycle to locate machine zero. Requires limit switches.
void mc_reset()
Performs system reset. If in motion state, kills all motion and sets system alarm.
void mc_line(float *target, plan_line_data_t *pl_data)
Execute linear motion in absolute millimeter coordinates. Feed rate given in millimeters/second.
void mc_dwell(float seconds)
Dwell for a specific number of seconds.
void mc_parking_motion(float *parking_target, plan_line_data_t *pl_data)
Plans and executes the single special motion case for parking. Independent of main planner buffer...
plan_line_data_t * pl_data