Comm Port CTS handshaking - need help

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

unixguy

Thread Starter
Joined
May 24, 2003
Messages
55
Hello,
I am trying to connect the comm port of a PC to a FANUC CNC controller to upload CNC programs (pure ASCII text). The FANUC uses CTS handshaking for flow control (I think). The COMM port on the PC only has 2 options for handshaking, "Software" and "Hardware". I have tried both and neither seems to provide any handshaking (I have BUFFER OVERFLOW on the FANUC every time I send). The other parameters (Baud, Parity, Word Length, Stop Bits) seem ok because the data that arrives is readable, it just is partly overwritten.
Regarding the COMM port, I assume that "software" is XON-XOFF but I do not know if "Hardware" is CTS or DTR-type handshaking. From what I can tell, almost everyone refers to CTS as "hardware" handshaking but from the description of it, it sounds like it is really more like software handshaking. That is, the computer sends out an RTS signal, the device responds with a CTS signal ("software"?) in order for transmit to start, as opposed to DTR which is simply a voltage ("hardware") that goes high or low to control the flow.
Anyway, does anyone know which type of handshaking is really meant by "hardware" on a PC comm port? I need to know which line to monitor in order to see if any handshaking signal is really happening at all. Also, does anyone know of any diagnostic software that runs on the PC to notify me if it sees any handshaking signal at all?
Thanks for any help you can give.
 
Joined
Jan 30, 2001
Messages
3,992
Its been too long since I have done anything link this but hardware hangshaking uses hardware controlled lines to communicate between the PC and software uses special characters to communicate. With the right software you can set the start character and stop character and start bits etc. You would first need to know what the terminal you are sending to expects and match the sending terminal to it. I guess you are using a program like Hyperterminal to do this with? In the old days of communications you used a breakout box to match the signals you needed and some of these had Leds on them to monitor the state of the communication signals.

Some references (but I'm sure there are better ones someplace.)

http://burks.bton.ac.uk/burks/foldoc/61/51.htm

http://www.cqham.ru/tcpu.htm

Depending on the wiring of the CNC machine you may need to be using a null modem cable to connect the two. My knowledge of connecting pcs to CNCs is pretty limited . Good Luck.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top