cnc_eupload.exe

Purpose

Upload a single part program or a sequence of part programs from CNC memory to a single file on the PC.

Correct Usage

C:\> cnc_eupload <ipaddr> <portnum> <pathnum> <filespec> <startprogram> <endprogram>

Usage Defined

<ipaddr>
IP address of the CNC.
<portnum>
Port number of the CNC.
<pathnum>
CNC path. Enter one of the following.
Value Path
0 None
1 First
2 Second
3 Third
4 Fourth Series 30i/31i/32i only
5 Fifth Series 30i/31i/32i only
6 Sixth Series 30i/31i/32ionly
7 Seventh Series 30i/31i/32i only
8 Eighth Series 30i/31i/32i only
9 Ninth Series 30i/31i/32i only
10 Tenth Series 30i/31i/32i only
If the CNC does not support multiple paths, enter 0.
<filespec>
File specification of file to receive the uploaded part program(s). This may be a fully qualified filename or a filename in the current directory.
<startprogram>
Starting range of part programs to upload.
<endprogram>
Ending range of part programs to upload.

Example

The contents of CNC part programs between <startprogram> and <endprogram> are uploaded to the <filespec> for <ipaddr>, <portnum> and <pathnum>:

C:\> cnc_eupload 3.26.7.150 8172 0 test.pp 1 10
Uploading part programs O0001 ??? O0010 to test.pp: Success
C:\>

The file test.pp is either created or overwritten with all the part programs in the range of 1 to 10 currently registered in CNC memory.

Following is a list of possible errors.

  • Could not determine CNC type for node x.
  • Failure to get directory info.
  • Bad directory info returned.