Hi,
I'm recreating an old DOS, command line based, 2D CAD program in Windows/.NET/C#. In addition to defining geometry, the program also had the ability to write out a NC code file (or upload this code to a controller) based upon points generated by the program.
My question is this:
What ASCII character should be used to represent EOB in a CNC code file that will be sent to a disk file and/or controller; a carriage return (decimal 13, hex 0D, a '\r' in C,C++,C#), a newline (10,0A,'\n') or something else (ie \r\n) ?
or does it depend upon the controller that will ultimately use this file???
Been searching the web and I can't find anything definitive (and therein may lie my problem, is it definitive?) but there's something in the wisps of my memory that says it should be a carriage return... (then again that may only be something left over from a previous BSD unix life)
Thanks in advance,
PMB