...try ending with ASCII Code "CONTROL+S" which is named Device Control 3
https://www.google.com/search?client...code+control+S
or might be a CONTROL+D for EOT
https://en.wikipedia.org/wiki/End-of...sion_character
Hi I've spent two trying to send a text file to my centurion 6 via RS232 serial port from linux. I have gotten the centurion to receive all of the text but it doesn't recognise the end of the file. It keeps waiting for more with the only option to abort. The linux machine is happy. It believes the full file was sent. Is there a handshake or some other setting for EOF? I tried changing the params eof from 000 to 037 but it didn't help. The file starts and ends with % and all of the file's content is displayed on the centurion screen correctly.
Thanks !
Similar Threads:
...try ending with ASCII Code "CONTROL+S" which is named Device Control 3
https://www.google.com/search?client...code+control+S
or might be a CONTROL+D for EOT
https://en.wikipedia.org/wiki/End-of...sion_character
Last edited by machinehop5; 04-28-2021 at 03:27 PM.
Thanks for the help. Is this normally required? I have not seen this in any of the documents. I will give it a go today.
Hi machineshop5,
I tried sending the control codes you suggested plus a few others but no dice. All of the text file is still received but the centurion still sits there waiting for more.
My settings are :
baud 19200
7E2
XONXOFF
No other settings are set.
Am I missing something?
Thanks
Last edited by feoras; 04-30-2021 at 12:39 PM.
...not sure why its not finishing transfer because I am not a Milltronics type guy...I'm just guessing what your problem is and you said you tried using the "%" already right? Could try "Hardware Handshake" instead of XONXOFF if, your RS232 Cable is wired correctly.
Hopefully a cnczoner will chime in sooner or later to help.
DJ
Thanks again. Turns out there's nothing wrong with it. That seems to be how it works. I just watched this video and it ends the same as mine. The cnc just waits for you to press the abort button. The code is actually loaded into the machine and can run. I thought aborting it didn't save the file.
Solved now. Thanks!
Congratulations. Quite strange when you need to abort communication in order to complete the serial transfer.
Did you try just long block of 00000 at the end? It's also possible that cut of connections wold be recognized as the end of the transfer. Means - try to disconnec the cable.
Just for curiosity.
I agree it is strange, traditionally the % mark has been used for start/stop transmit/receive?
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.