grblHAL core  20241107
st_block Struct Reference

Holds the planner block Bresenham algorithm execution data for the segments in the segment buffer. More...

#include <stepper.h>

Data Fields

uint_fast8_t id
 Id may be used by driver to track changes. More...
 
struct st_blocknext
 Pointer to next element in cirular list of blocks. More...
 
uint32_t steps [N_AXIS]
 
uint32_t step_event_count
 
axes_signals_t direction_bits
 
gc_override_flags_t overrides
 Block bitfield variable for overrides. More...
 
float steps_per_mm
 
float millimeters
 
float programmed_rate
 
char * message
 Message to be displayed when block is executed. More...
 
output_command_toutput_commands
 Output commands (linked list) to be performed when block is executed. More...
 
bool backlash_motion
 
bool dynamic_rpm
 Tracks motions that require dynamic RPM adjustment. More...
 
offset_id_t offset_id
 
spindle_ptrs_tspindle
 Pointer to current spindle for motions that require dynamic RPM adjustment. More...
 

Detailed Description

Holds the planner block Bresenham algorithm execution data for the segments in the segment buffer.

NOTE: This data is copied from the prepped planner blocks so that the planner blocks may be discarded when entirely consumed and completed by the segment buffer. Also, AMASS alters this data for its own use.

Field Documentation

◆ backlash_motion

bool backlash_motion

◆ direction_bits

axes_signals_t direction_bits

◆ dynamic_rpm

bool dynamic_rpm

Tracks motions that require dynamic RPM adjustment.

◆ id

uint_fast8_t id

Id may be used by driver to track changes.

◆ message

char* message

Message to be displayed when block is executed.

◆ millimeters

float millimeters

◆ next

struct st_block* next

Pointer to next element in cirular list of blocks.

◆ offset_id

offset_id_t offset_id

◆ output_commands

output_command_t* output_commands

Output commands (linked list) to be performed when block is executed.

◆ overrides

Block bitfield variable for overrides.

◆ programmed_rate

float programmed_rate

◆ spindle

spindle_ptrs_t* spindle

Pointer to current spindle for motions that require dynamic RPM adjustment.

◆ step_event_count

uint32_t step_event_count

◆ steps

uint32_t steps[N_AXIS]

◆ steps_per_mm

float steps_per_mm

The documentation for this struct was generated from the following file: