rs232-usb

Got something you want to say but don't know where else to say it? This is the spot to post it!
Post Reply
ace of spades
Veteran Poster
Posts: 147
Joined: Wed Jun 18, 2008 7:30 am
Location: South Africa

rs232-usb

Post by ace of spades »

Hi all

Can any techno wizz direct me to success?

I need to connect a couple of cnc machine (fanuc and Haas) to a computer. The CNC machines all have 25pin rs232 connections and this specific computer only has a USB slot. The program that I have to send/receive data has to recognise the specific port to send to, thus have to ID from which specific machine the signal is coming from. There are ways around the port issue, but this is how the bossman wants it, any help?

User avatar
FZRDude
Co-Admin
Posts: 4807
Joined: Tue Jan 13, 2004 3:20 am
Location: North-Left Coast, USA
Contact:

Post by FZRDude »

They make cables for this. I must have 3 or 4 of them. Cost about $15-$35 USD.

An no, I do not know of a work around
There are some who call me........Tim?
In Memory Of John "Silver" Douglas (Dec. 08, 2008) R.I.P. My Friend.

:wave: :popcorn :cursing :super-mad

RUFtech
Veteran Poster
Posts: 315
Joined: Sun Jul 16, 2006 1:26 pm
Location: Dallas, Texas

Post by RUFtech »

When you plug something into a USB port it should prompt you to set up each component plugged in. You might have to go the web sites of the respective CNC machine companies to get the software required for your computer to recognize them. I also have several of these RS232 to USB cables used for different things, mostly for tuning cars.
Bob
'97 YZF750R (sold)
'87 Porsche 944 Turbo
'04 GTO
If you haven't seen god your not going fast enough

DAVE
Regular Poster
Posts: 71
Joined: Thu Oct 13, 2005 7:39 am
Location: Tasmania, Australia
Contact:

Post by DAVE »

I use a USB - serial to get data from my GPS. One thing I noticed is that the com port assigned to the adapter depends on which USB port I plug it into. If I plug it in the same USB port all the time it is always assigned "com2" but when I plug it into the other USB port it becomes "com3".

You CNC program will always want a certain machine to be on a certain comport, although I would imagine that it have an option setting to select a different comport for a particular machine.

It would be a matter of installing the USB-serial adapters and drivers, finding out which comport is assigned to each and then making sure that when the computer is restarted several times that the same comport numbers are re-assigned correctly. THEN you would set the CNC program to use the respective comport numbers that will apply to each USB-SERIAL to each machine..

Does that make sense???
DAVE Image

ImageDAVE's websiteImage Always remember that you're unique. Just like everyone else.

duke22
Veteran Poster
Posts: 171
Joined: Mon Oct 27, 2008 10:13 pm
Location: Auckland New Zealand

Post by duke22 »

Hi Ace,

Something I've found in the past is that a lot of CNC machines buffer feed through the RS232, they use a signal generated by the control to control the speed of the data stream by starting and stopping it as the buffer fills. A USB port won't support this function and will just pour the data through until the buffer overflows and the machine alarms out.

If this happens your only real option is to find an old PC with a serial port, I used to have one just for that job. Or you can use floppy discs for the Haas or flash card for the Fanuc?

If you need more info let me know, I can probably dig it out for you.

Cheers
Lyle

ace of spades
Veteran Poster
Posts: 147
Joined: Wed Jun 18, 2008 7:30 am
Location: South Africa

Post by ace of spades »

Hi Guys, thanks. I got it sorted. I used CNCNet DNC and a couple of USB/Serial converters and a hardware/software handshake: XonnXoff and RTS/CTS.

My 10 main production machines are lined up on the system. I just need to get the remote calling of programs running and I'll have a good night's rest.

Post Reply