![]() |
TG Motion
version 421 - 4033/904 cnc 121
Real-time system for controlling servo drives and I/O modules
|
Stores informations about CNC code parts ahead of the actual one. More...
#include <TGM.h>
Public Attributes | |
double | allParams [_MAX_M_PARAMS] |
all the parameters of G-code (26 letters of english alphabet) | |
double | tangens |
tangent of the movement in radians, M functions have value > 1e38 | |
int32_t | movementType |
0 - invalid entry, 1 - Gxx, 2 - Mxx | |
int32_t | movementCode |
G or M function number. | |
int32_t | plane |
circle plane: 17 - XY, 18 - XZ, 19 - YZ, others not defined | |
int32_t | tool |
actual tool number | |
double | endPos [_N_INTERPOLATOR_AXES] |
end position of the actual part | |
double | startAngle |
starting angle of arc (G2 and G3), for other (line, M func) is > 1e38 | |
double | endAngle |
ending angle of arc (G2 and G3), for other (line, M func) is > 1e38 | |
double | radius |
radius of the arc; for G0, G1, Mxx is set to zero | |
double | partLength |
length of the actual part | |
int32_t | gCodeIndex |
G code index. | |
uint32_t | editorLine |
editor line in source G code text | |
uint32_t | fileIdx |
index of source G code text file | |
uint32_t | correction |
correction value (41 - left correction, 42 - right correction, any other value - no correction) | |
Stores informations about CNC code parts ahead of the actual one.