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_upload <nodenum> <pathnum> <filespec> <startprogram> <endprogram>
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 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 <nodenum> and <pathnum>:
C:\> cnc_upload 0 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.
CNC Part Program Command Line Utilities for FOCAS/HSSB. |