SMC_GCODE_WORD (STRUCT)

 

TYPE SMC_GCODE_WORD : STRUCT

This data type includes the data of one G-code word like 'N20' or 'G1'.

InOut:

Name

Type

Initial

Comment

fValue

LREAL

0

Value as LREAL

diValue

DINT

0

Value as DINT

pAdr

POINTER TO BYTE

0

If <> 0, the value of this word is specified by a variable. pAdr points to this variable.

byLetter

BYTE

0

ASCII-code of the letter of the word, e.g. 69 for 'F'

byVarType

BYTE

0

If < 32, contains the variable type as defined in SMC_VARTYPE.

If >= 32, contains 32 + the variable type as defined in IBaseLibrary.TypeClass