MACHINE_TENDING_RESPONSE_FOCAS_PROGRAM_NUMBER
This structure defines the CNC program information response from FOCAS, including both currently running and main program numbers.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
|
Response status |
|
2 |
|
|
FOCAS communication handle |
|
4 |
|
|
Program number currently being executed |
|
6 |
|
|
Main (parent) program number |
Total size: 8 bytes
Defined in: DRFS.h
typedef struct _MACHINE_TENDING_RESPONSE_FOCAS_PROGRAM_NUMBER
{
short _ErrorCode; /* 0: success */
unsigned short _hHandle; /* FOCAS handle */
short _iRunningProgramNumber; /* running program number */
short _iMainProgramNumber; /* main program number */
} MACHINE_TENDING_RESPONSE_FOCAS_PROGRAM_NUMBER, *LPMACHINE_TENDING_RESPONSE_FOCAS_PROGRAM_NUMBER;