dir_pp

Purpose

Retrieve a short directory (just the part program numbers) of registered part programs on your CNC.

Syntax

int dir_pp (long int node_no, short path_no, long int *prog, int max_files)

Arguments

Input

 

node_no

Node number 0-7

path_no

Value

Path for

 

0

Ignore

 

1-2

All series except Series 300i/310i/320i

 

1-10

Series 300i/310i/320i

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.

More information

Part Program Routines for FOCAS/HSSB