Struct SYN_GCode_Block¶
Parsed RS-274 G-Code line block.
#include <syn_gcode.h>
Public Attributes¶
| Type | Name |
|---|---|
| float | f |
| uint32_t | g_code |
| bool | has_f |
| bool | has_g |
| bool | has_i |
| bool | has_j |
| bool | has_k |
| bool | has_m |
| bool | has_p |
| bool | has_s |
| bool | has_t |
| bool | has_x |
| bool | has_y |
| bool | has_z |
| float | i |
| float | j |
| float | k |
| uint32_t | m_code |
| float | p |
| float | s |
| uint32_t | t |
| float | x |
| float | y |
| float | z |
Public Attributes Documentation¶
variable f¶
Feedrate in units/min or units/sec
variable g_code¶
Numeric G-code (e.g. 0, 1, 2, 3, 90, 91)
variable has_f¶
True if F word was present
variable has_g¶
True if G-code was present
variable has_i¶
True if I word was present
variable has_j¶
True if J word was present
variable has_k¶
True if K word was present
variable has_m¶
True if M-code was present
variable has_p¶
True if P word was present
variable has_s¶
True if S word was present
variable has_t¶
True if T word was present
variable has_x¶
True if X word was present
variable has_y¶
True if Y word was present
variable has_z¶
True if Z word was present
variable i¶
Arc center X offset
variable j¶
Arc center Y offset
variable k¶
Arc center Z offset
variable m_code¶
Numeric M-code (e.g. 3, 4, 5, 8, 9, 30)
variable p¶
Parameter / Dwell seconds
variable s¶
Spindle speed (RPM)
variable t¶
Tool select index
variable x¶
Target X coordinate
variable y¶
Target Y coordinate
variable z¶
Target Z coordinate
The documentation for this class was generated from the following file src/syntropic/motor/syn_gcode.h