cnc_download.exe

Purpose

Download one or more files from the PC to CNC memory. Each file may contain a single part program or a sequence of part programs.

Correct usage

C:\> cnc_download <nodenum> <pathnum> <filespec1> [<filespec2>] [<filespec3>]…

Usage defined

<nodenum>

Node number (configured HSSB card).

<pathnum>

CNC path.

Enter one of the following.

 

Value

Path

 

0

None

 

 

1

First

 

 

2

Second

 

 

3

Third

 

 

4

Fourth

Series 300i/310i/320i only

 

5

Fifth

Series 300i/310i/320i only

 

6

Sixth

Series 300i/310i/320i only

 

7

Seventh

Series 300i/310i/320i only

 

8

Eighth

Series 300i/310i/320i only

 

9

Ninth

Series 300i/310i/320i only

 

10

Tenth

Series 300i/310i/320i only

 

If the CNC does not support multiple paths, enter 0.

<filespec>

File specification.

Each file specification indicates a single file containing part program(s) to download. This may be a fully qualified filename or a filename in the current directory.

Example

The contents of each file is downloaded to CNC memory and displays success or failure status when it is complete:

C:\> cnc_download 0 0 c:\O0001.pp c:\O0002.pp c:\O0003.pp

Beginning download:

C:\O0001.pp: Success

C:\O0002.pp: File open failed

C:\O0003.pp: Success

C:\>

The O0001.pp and O0003.pp part program files have been downloaded and registered in CNC memory. The part program O0002.pp could not be opened and was not processed.

The following is a list of possible errors:

File not found.

Failed to open file for reading.

File contains bad program.

CNC write protect.

CNC out of memory.

More information

CNC Part Program Command Line Utilities for FOCAS/HSSB.