edir_pp
Purpose
Retrieve a short directory (just the part program numbers) of registered part programs on your CNC.
Syntax
int edir_pp (char *ipaddr, unsigned short port, long int timeout, short path_no, long int *prog, int max_files)
Arguments
Input | ||
ipaddr
|
IP address of the CNC | |
port
|
Port number of the CNC | |
timeout
|
Seconds for timeout (0 to ignore and wait infinitely) | |
path_no |
Value: 0, 1-2, 1-10. | |
max_files
|
Number of elements in prog array (Max 1024) | |
Output | ||
prog |
Pointer to array of program numbers currently registered in the CNC |
Return Value
ERR_BADDIR | 120 | Bad directory info from CNC |
CNC data window error handling return statuses.