Union U_KERNELV_VAR_VALUE

Description

Union with the possible values of a CNC variable.

Memory orientation

The individual structure elements are packed in the memory.

Element

Type identifier E_KERNELV_VAR_TYPE

Meaning

boolean

KERNELV_VAR_TYPE_BOOLEAN

Data type is unsigned char. Possible values 0 or 1.

uns08

KERNELV_VAR_TYPE_UNS08

Data type is unsigned char.

sgn08

KERNELV_VAR_TYPE_SGN08

Data type is signed char.

uns16

KERNELV_VAR_TYPE_UNS16

Data type is unsigned short int.

sgn16

KERNELV_VAR_TYPE_SGN16

Data type is signed short int.

uns32

KERNELV_VAR_TYPE_UNS32

Data type is unsigned long int.

sgn32

KERNELV_VAR_TYPE_SGN32

Data type is signed long int.

real64

KERNELV_VAR_TYPE_DOUBLE

Data type is double.

string

KERNELV_VAR_TYPE_STRING

The data type is a string with a maximum of 127 (KERNELV_VAR_ ­ STRING_LEN) characters (total length including terminating zero KERNELV_VAR_STRING_LEN +1 character).