blank lines added when transferring prog

CNC related queries on software; firmware; DOS; Windows; parameters; programming; error messages etc.

Moderators: Martin, Steve, Mr Magoo

Post Reply
-=PAB=-
CNC Apprentice
CNC Apprentice
Posts: 82
Joined: Mon 19 Jun , 2006 19:46 pm

blank lines added when transferring prog

Post by -=PAB=- » Fri 15 Sep , 2006 18:20 pm

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?? :?

User avatar
Denford Admin
Site Admin
Posts: 3635
Joined: Fri 10 Feb , 2006 12:40 pm
Hardware/Software: Go to User Control Panel > Profile
Enter as much information about your CNC hardware and software as you can - it makes it easier for everyone to know what you're talking about then.
Location: Sunny Brighouse
Contact:

Post by Denford Admin » Sat 16 Sep , 2006 19:24 pm

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

8) - Admin on holiday

User avatar
Mr Magoo
CNC Guru
CNC Guru
Posts: 301
Joined: Tue 21 Feb , 2006 21:45 pm
Location: Brisbane, Australia

Post by Mr Magoo » Sun 17 Sep , 2006 11:14 am

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.

Post Reply