need help: EOF RS232 serial upload. not seeing end of file.

Results 1 to 8 of 8

Thread: need help: EOF RS232 serial upload. not seeing end of file.

  1. #1
    Member
    Join Date
    Dec 2011
    Location
    Ireland
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default need help: EOF RS232 serial upload. not seeing end of file.

    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:


  2. #2
    Member machinehop5's Avatar
    Join Date
    Aug 2009
    Location
    United States
    Posts
    1567
    Downloads
    5
    Uploads
    2

    Default Re: need help: EOF RS232 serial upload. not seeing end of file.

    ...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.


  3. #3
    Member
    Join Date
    Dec 2011
    Location
    Ireland
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default Re: need help: EOF RS232 serial upload. not seeing end of file.

    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.



  4. #4
    Member
    Join Date
    Dec 2011
    Location
    Ireland
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default Re: need help: EOF RS232 serial upload. not seeing end of file.

    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.


  5. #5
    Member machinehop5's Avatar
    Join Date
    Aug 2009
    Location
    United States
    Posts
    1567
    Downloads
    5
    Uploads
    2

    Default Re: need help: EOF RS232 serial upload. not seeing end of file.

    ...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



  6. #6
    Member
    Join Date
    Dec 2011
    Location
    Ireland
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default Re: need help: EOF RS232 serial upload. not seeing end of file.

    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!



  7. #7
    Member Algirdas's Avatar
    Join Date
    Mar 2009
    Location
    United Arab Emirates
    Posts
    1982
    Downloads
    2
    Uploads
    0

    Default Re: need help: EOF RS232 serial upload. not seeing end of file.

    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.



  8. #8
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    24216
    Downloads
    0
    Uploads
    0

    Default Re: need help: EOF RS232 serial upload. not seeing end of file.

    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.


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

need help: EOF RS232 serial upload. not seeing end of file.

need help: EOF RS232 serial upload. not seeing end of file.