You're reading the documentation for an older, but still supported version (GL013300).
For information on the latest version, please have a look at GL013301.

MACHINE_TENDING_FOCAS_PMC_DATA

This structure contains typed PMC data buffers returned from / sent to a CNC via the FOCAS interface. Each array slot (index 0..4) represents one PMC data point for the corresponding type.

BYTE#

Field Name

Data Type

Value

Remarks

(platform-dependent)

_PmcDataBool

unsigned char

0 or 1

Boolean PMC value

_PmcDataChar

char[5]

ASCII

Up to 5 characters

_PmcDataShort

short[5]

Signed 16-bit values

_PmcDataLong

long[5]

Signed long values (size is platform-dependent)

_PmcDataFloat

float[5]

IEEE-754 single

_PmcDataDouble

double[5]

IEEE-754 double

Size note: The total size is platform-dependent due to sizeof(long) and structure alignment.

Defined in: DRFS.h

typedef struct _MACHINE_TENDING_FOCAS_PMC_DATA
{
    unsigned char  _PmcDataBool;
    char           _PmcDataChar[5];
    short          _PmcDataShort[5];
    long           _PmcDataLong[5];
    float          _PmcDataFloat[5];
    double         _PmcDataDouble[5];
} MACHINE_TENDING_FOCAS_PMC_DATA, *LPMACHINE_TENDING_FOCAS_PMC_DATA;