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.
For information on the latest version, please have a look at GL013301.
MACHINE_TENDING_FOCAS_PMC
PMC (Programmable Machine Control) header + payload for FOCAS operations. The header specifies target address/type/range; the payload holds typed data buffers.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
(platform-dependent) |
|
|
0 on success; negative/positive for errors |
|
|
|
Active FOCAS session handle |
||
|
|
PMC data type selector (vendor-defined) |
||
|
|
e.g. “G”, “D” |
PMC address class (1-char + optional) |
|
|
|
Start address number (word/bit base) |
||
|
|
Number of PMC items to read/write |
||
|
|
0-7 |
Bit offset for bit-level access |
|
|
Typed PMC payload buffers |
Size note: The total size is platform-dependent (sizeof(long), alignment).
Defined in: DRFS.h
typedef struct _MACHINE_TENDING_FOCAS_PMC // PMC Information Header
{
short _ErrorCode;
unsigned short _hHandle;
short _iDataType;
char _szAddressType[2]; // e.g., "G", "D"
unsigned short _iStartAddressNum;
unsigned short _iCount; // Read & Write data count
unsigned char _iBitOffset;
MACHINE_TENDING_FOCAS_PMC_DATA _tData; // typed buffers
} MACHINE_TENDING_FOCAS_PMC, *LPMACHINE_TENDING_FOCAS_PMC;