RS232 communication 1995 VF-OE
Close
Login to Your Account
Likes Likes:  0
Results 1 to 12 of 12
  1. #1
    Join Date
    Jul 2019
    Country
    UNITED KINGDOM
    Posts
    9
    Post Thanks / Like
    Likes (Given)
    1
    Likes (Received)
    0

    Default RS232 communication 1995 VF-OE

    Hi,
    Just about got my VF up and running and I'm at the stage where I'd like to transfer a program to the machine - And I'm getting nowhere!

    I have a null RS232 cable (4m long) Db25 to DB9, into a TrippLite usb serial adapter. This is visible as COM7 in my computers setting but I'm lost as to how to confirm that it is a successful connection and how the hell am I meant to send a program?

    Spent about 5hrs infront of the laptop trying various forums, programs, add=ons , javas, settings and I'm just pulling my hair out.

    Can somebody please walk me through it at village idiot levels of detail please?

    Haas manual is no help and makes it seem very easy but explains nothing about suitable software, and seemingly everyone on youTube did it by accident and fail to explain any of the details and tripping hazards I seem to be facing.

    Yours in desperate need to make a success of this,
    Tom.

  2. #2
    Join Date
    May 2014
    Location
    ca, US
    Posts
    272
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    76

    Default

    First, you should use a full handshake cable (besides TX, RX and GND includes CTS, RTS, DSR). Hardware has to be set for RTS/CTS (or Xon/Xoff) flow control.
    The old Haas receiver only has a 16 byte buffer. A PC throws out data faster than the VF can dump out the buffer. You need to go into the device manager Com port and change the FIFO Tx buffer to 0 and disable the FIFO.
    The speed, stop and parity must be the same as on the VF. I have my VF set to 384kN1. Default VF is 9600N1.
    A straight or serial cable has Tx -> Tx. A Null cable has Tx -> Rx. You want a Null cable.

  3. #3
    Join Date
    Sep 2010
    Country
    UNITED STATES
    State/Province
    Maryland
    Posts
    768
    Post Thanks / Like
    Likes (Given)
    497
    Likes (Received)
    454

    Default

    For what its worth, in full disclosure I am no PC expert.
    I am using a 2009 vintage Macbook running windows XT on Berta, my '93 VF-0.

    Don't laugh - it works!

    It's non internet connected, files are loaded from a thumb drive. I use hyperterminal to transfer text files *.txt with these settings on both the laptop and Berta; 9600 baud rate, 8 bits, Even parity, X on / X off. Made up a cable per the Haas manual using a USB adapter. Blinking blue light tells me I did it right.

    One odd thing is I cannot load directly from thumb drive, I just drag and drop onto the desktop and work from there. I can also drip feed in this way for larger programs.

    Good luck!

  4. #4
    Join Date
    Feb 2019
    Country
    UNITED KINGDOM
    Posts
    33
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    0

    Default

    To receive press list programs button then arrow key down the list of programs(if any) to all this will highlight it, then press receive rs232 button you should see waiting in the bottom corner of the haas screen. Then send your program.

  5. #5
    Join Date
    Jul 2019
    Country
    UNITED KINGDOM
    Posts
    9
    Post Thanks / Like
    Likes (Given)
    1
    Likes (Received)
    0

    Default

    Hi, making some progress...using Advanced serial port monitor it briefly shows me that a program is coming out of the port, meanwhile Hyperterminal is sat there waiting to receive the program and shows no life.

    I cut up and changed my cable to suit the paperwork that haas uk sent me this afternoon.
    Confusingly is contradicts the manual version by having...
    DB9 - DB25
    1-------------20
    2---------------2
    3---------------3
    4---------------6
    5---------------7
    6-------------20
    7--------------5
    8--------------4
    9- No connection

    Where the manual with the machine puts
    1 - ground
    2 - 3
    3 - 2
    4 - CTS (Optional)
    5 - RTS (Optional)
    7 - 7 (Signal ground)

    Which one should I go with?

  6. #6
    Join Date
    Feb 2019
    Country
    UNITED KINGDOM
    Posts
    33
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    0

    Default

    Quote Originally Posted by hend.engineering View Post
    Hi, making some progress...using Advanced serial port monitor it briefly shows me that a program is coming out of the port, meanwhile Hyperterminal is sat there waiting to receive the program and shows no life.

    I cut up and changed my cable to suit the paperwork that haas uk sent me this afternoon.
    Confusingly is contradicts the manual version by having...
    DB9 - DB25
    1-------------20
    2---------------2
    3---------------3
    4---------------6
    5---------------7
    6-------------20
    7--------------5
    8--------------4
    9- No connection

    Where the manual with the machine puts
    1 - ground
    2 - 3
    3 - 2
    4 - CTS (Optional)
    5 - RTS (Optional)
    7 - 7 (Signal ground)

    Which one should I go with?
    Did you cut the null return cable? Why?

    My setup is as follows win 7 laptop + usb to serial adapter+ null return 9 to 25 pin cable working with this for over 12 years. You should have tried a old computer example win 98 desktop with proper serial port first before cutting cables.

  7. #7
    Join Date
    Jul 2019
    Country
    UNITED KINGDOM
    Posts
    9
    Post Thanks / Like
    Likes (Given)
    1
    Likes (Received)
    0

    Default

    Simply because the pinouts of the cable I bought didn't match either of the two configurations above!

    I'm conscious of the fact I've affected the shielding, but it's been reset fairly well.

    How goes your cable? Which of the above configurations are you running?
    Thanks,
    Tom.

  8. #8
    Join Date
    Feb 2019
    Country
    UNITED KINGDOM
    Posts
    33
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    0

    Default

    Quote Originally Posted by hend.engineering View Post
    Hi, making some progress...using Advanced serial port monitor it briefly shows me that a program is coming out of the port, meanwhile Hyperterminal is sat there waiting to receive the program and shows no life.

    I cut up and changed my cable to suit the paperwork that haas uk sent me this afternoon.
    Confusingly is contradicts the manual version by having...
    DB9 - DB25
    1-------------20
    2---------------2
    3---------------3
    4---------------6
    5---------------7
    6-------------20
    7--------------5
    8--------------4
    9- No connection

    Where the manual with the machine puts
    1 - ground
    2 - 3
    3 - 2
    4 - CTS (Optional)
    5 - RTS (Optional)
    7 - 7 (Signal ground)

    Which one should I go with?
    I have checked my cable here it is the top one

  9. #9
    Join Date
    May 2014
    Location
    ca, US
    Posts
    272
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    76

    Default

    Mine is the same as the top except DB9(1) -> DB25(6) and DB25(8) and DB25(20) connect together. I use this for both my Fanuc and VF-1. I also use a CAT5 cable between DB->CAT5 adapters since CAT5 cables are cheap plus twisted pairs to reduce noise.
    pc-fanuc_rs232_fhs.jpg
    You HAVE to set up the PC for handshake, plus the speed, parity, stop bits and limit the PC FIFO.

  10. #10
    Join Date
    Feb 2019
    Country
    UNITED KINGDOM
    Posts
    33
    Post Thanks / Like
    Likes (Given)
    0
    Likes (Received)
    0

    Default

    Quote Originally Posted by magno_grail View Post
    Mine is the same as the top except DB9(1) -> DB25(6) and DB25(8) and DB25(20) connect together. I use this for both my Fanuc and VF-1. I also use a CAT5 cable between DB->CAT5 adapters since CAT5 cables are cheap plus twisted pairs to reduce noise.
    pc-fanuc_rs232_fhs.jpg
    You HAVE to set up the PC for handshake, plus the speed, parity, stop bits and limit the PC FIFO.
    Just checked my cable again here to make sure and I don't have the additional connections hope the info helps.

  11. #11
    Join Date
    Jul 2019
    Country
    UNITED KINGDOM
    Posts
    9
    Post Thanks / Like
    Likes (Given)
    1
    Likes (Received)
    0

    Default

    Nailed it!

    Simple thing, found a program that worked and it transferred.

    One CNCs NClink program and with the lead configured as per the more complicated arrangement above.

    Thanks everybody for your input, I just can't believe it was so damned simple in the end.

    For whatever reason with my laptop :-
    Universal G code sender - Useless.
    Hyperterminal - Useless.

    Anyway, machined a bit of fresh air but the machine didn't like the first line of code...

    G90 G93 G17 ;

    Error 310 Invalid code...
    Single blocked through the rest without an issue.

    Any ideas? (I'll post a screenshot if required)

  12. #12
    Join Date
    Jan 2017
    Country
    UNITED STATES
    State/Province
    Oregon
    Posts
    2,494
    Post Thanks / Like
    Likes (Given)
    445
    Likes (Received)
    1771

    Default

    Lose the G93.


Tags for this Thread

Bookmarks

Posting Permissions

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