This data type represents the data of one G-code word like 'N20' or 'G1'. It replaces the older structure SMC_GCODE_WORD, which is kept only for compatibility.
InOut:
Name
Type
Comment
strAddress
STRING(2)
The address of the G-Code word. E.g. 'G', 'N', 'EF'.
nNumExpTokens
UDINT
The number of expression-tokens (SMC_GExpression_Token) needed to evaluate the value of the GWord. This can be a simple literal, a variable access, or a composite expression like (a + b). The type of the expression ;
lenAddData
UDINT
The number of bytes of additional data stored for all expression-tokens in sum. This is a redundant value that is used to make iteration more efficient.