cnc_edownload_tool.exe

Purpose

Download CNC File data.

The command line utility cnc_edownload_tool.exe downloads CNC file data from files on the PC to CNC memory.

Correct usage

The following is the correct usage.

C:\> cnc_edownload_tool <data> <ipaddr> <portnum> <pathnum> <filespec.csv>

User 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
<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/32i only
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 <ipaddr>, <portnum> and <pathnum>:

C:\> cnc_edownload_tool parm 3.26.7.150 8172 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.