cnc_download_tool.exe

Purpose

Download CNC file data from files on the PC to CNC memory.

Correct usage

C:\> cnc_download_tool <data> <nodenum> <pathnum> <filespec.csv>

Usage defined

<data>
CNC file data. Enter one of the following.
parm Parameter Data
tofs Tool Offset Data
zofs Work Zero Offset Data
cmv Custom Macro Variable Data
pec Pitch Error Compensation
kbit Keep Relay Data
<nodenum>
Node number (configured HSSB card).
<pathnum>
Path to the CNC. 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 data. This may be a fully qualified filename or a filename in the current directory in comma separate variable (.csv) format.

Example

The contents of the file parm1000.csv is downloaded to the CNC parameter data table <nodenum> and <pathnum>:

C:\> cnc_download_tool parm 0 0 parm1000.csv
Downloading parm for parmall.csv: Success
C:\>

The file download_tool_log.csv is either created or overwritten with any errors during the download.

Following is a list of possible errors.

  • Could not determine CNC type.
  • Could not link to DLL.
  • Failure to get directory info.
  • Bad directory info returned.