Page 1 of 1
blank lines added when transferring prog
Posted: Fri 15 Sep , 2006 18:20 pm
by -=PAB=-
i can drip feed into my triac 1990 a prog that works fine but when i try to transfer the same prog into the control it puts in blank lines???? any help?? comms error??

Posted: Sat 16 Sep , 2006 19:24 pm
by Denford Admin
Quite often the text of a CNC program has ascii characters 10 and 13 (carriage return CR and line feed LF) at the end of each line.
Depending on the control reading this in, it could be reading both as the end of line marker, hence you will see blank lines in between each one.
Try loading the program into a good text editor and have it re-save in another format - with only ASCII 13 (CR) at the end of the lines

- Admin on holiday
Posted: Sun 17 Sep , 2006 11:14 am
by Mr Magoo
Good Idea admin
The old DOS EDIT was always good for this.
Just type EDIT at a DOS prompt (DOS6/Win95/98/XP) and you should get a blue editor appear.
Format your program as you want it, then resave.