
Command: DNC,FILENAME,?+
Description: DNC, Direct Numerical Control with block search. The DNC
command has an optional parameter to start at a specific block of data
within the file to be sent via DNC. Type the desired search text
following the file name. The LANCNC-FAD controller will search the file
until it matches the specified text. For example, suppose the operator
were to type in DNC,MOLD.TXT,N1000.2. DNC will begin when a block that
contains "N1000.2" is found.
Note: An N word can be added to a single line of the file in order to
establish a starting block number. This is true even if there are no
other block numbers in the file. N words cannot exceed 99,999. For
large files, increments other than 1 can be used.
Example #1:
Example #2: Search for “X-12.375” in file MOLD.TXT
Command: DNC,FILENAME,,?+
Description: DNC, Direct Numerical Control with preparatory text. This
runs a program from the SD card on the CNC machine. Preparatory data
can be sent prior to running the file. For example, the operator might
want to make a tool change prior to running a file.
Example:
Command: DE,FILENAME+
Description: This command will delete the file specified from the SD
card inside the LANCNC.
Example:
- 7 -
2008-2009 Calmotion LLC, All rights reserved
ENTER NEXT COMMAND CD,10
ENTER NEXT COMMAND DE,JOB1.TXT+
FILE JOB1.TXT DELETED @
ENTER NEXT COMMAND CD,10
ENTER NEXT COMMAND DNC,MOLD.TXT,N1000.2+
ENTER NEXT COMMAND CD,10
ENTER NEXT COMMAND DNC,MOLD.TXT,,M6T1+
ENTER NEXT COMMAND CD,10
ENTER NEXT COMMAND DNC,MOLD.TXT,X-12.375+
Komentáře k této Příručce