eselect_pp

Purpose

Select a part program on your CNC.

Syntax

int eselect_pp (char *ipaddr, unsigned short port, long int timeout, short path_no, long int prognum)

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

Path for

 

0

Ignore

 

1-2

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

 

1-10

Series 300i/310i/320i

prognum

Part program number

Output

 

None

 

Return Value

ERR_BADPROGNUM

82

Bad program number/invalid range

ERR_PROGNOTSEL

95

Program was not selected

CNC data window error handling return statuses.

More information

Part Program Routines for FOCAS/Ethernet.