DNC stips out first line of program
DNC stips out first line of program
(OP)
Hi all, we're using Edgecam's DNC system to send and recieve programs to our CNC machines. My problem is it seem to always delete the very first line of any program each time it is used.
Normally not a problem so much, but if a program is sent back and forth a few times (edits, backups, etc) then it becomes a problem. We nearly had a huge crash where it had deleted a G10 datum set line at the top of the program, but fortunatly the operator caught it.
Any ideas on why it does this?
Normally not a problem so much, but if a program is sent back and forth a few times (edits, backups, etc) then it becomes a problem. We nearly had a huge crash where it had deleted a G10 datum set line at the top of the program, but fortunatly the operator caught it.
Any ideas on why it does this?
Excessive accuaracy is a sign of poor breeding. -Socrates.





RE: DNC stips out first line of program
CODE
Actually, if you crete a program at the CNC, and then output it to a text file...you can then open the text file and see what the machine wants as the first (and probably last) line.
Ken
RE: DNC stips out first line of program
Say for example I have this program:
%1000
(EXAMPLE PART)
(PROGRAMMED BY KNOBHEAD)
G10 etc etc
When I send it to the machine it will look like this:
%1000
(PROGRAMMED BY KNOBHEAD)
G10 etc
If I then send it back to the PC
%1000
G10 etc
Weird eh?
Excessive accuaracy is a sign of poor breeding. -Socrates.
RE: DNC stips out first line of program
%1000
(Delete this line)
(Delete this line)
(Delete this line)
(Delete this line)
(Delete this line)
(EXAMPLE PART)
(PROGRAMMED BY KNOBHEAD)
G10 etc etc
Fill what's empty. Empty what's full. And scratch where it itches.
RE: DNC stips out first line of program
Check the baud and parity, stop bits, etc. on the machine and PC.
In some cases slowing down the baud rate will help.
RE: DNC stips out first line of program
Excessive accuaracy is a sign of poor breeding. -Socrates.