SMC_SINGLEVAR (STRUCT)

 

TYPE SMC_SINGLEVAR : STRUCT

InOut:

Name

Type

Initial

Comment

strVarName

STRING

''

Contains the name of the variable as used in the CNC program in capital letters

pAdr

POINTER TO BYTE

Pointer to the variable with the name stVarName

eVarType

SMC_VARTYPE

SMC_TYPE_UNKNOWN

Declares the type of the variable

diValue

DINT

0

Value in integer representation

fValue

LREAL

0

Value in floating point representation