View Full Version : RS-232 Setup for Miyano w/Fanuc OT
JerryH 12-27-2005, 06:36 PM Can someone help me with this type of connection. I am having a hard time understanding exactly what to do to connect a laptop to the machine. I do have the "special" cable with the proper wire to pin arrangement that Miyano requires. My basic setup: 9pin female to 25pin male(machine end). Com1 on computer.
I guess I need a push in the right direction for making sure baud rate, bits, parity, etc. are correct. Also, do I need a special program to accomplish the connection? Will Hyperterminal do?
Thanks!
Sump Cleaner 12-28-2005, 07:05 AM Jerry,
Here are my hyperterminal settings for my Puma with Fanuc OT control. You will have to check your baud rate in the parameters to see what is is. If it's not 4800, change the settings in hyperterm to match what you have.
Sump Cleaner
Sump Cleaner 12-28-2005, 09:14 AM Jerry,
Here is a better soloution than hyperterminal. It does have it's hang ups and limitations. Go to cadem.com and download NC Lite. This is free DNC software with file transfer for one machine but no dripfeeding. Install this software on your laptop and set to the settings below. You will still have to check the baudrate on your OT control and match the software settings to it.
Good luck with it,
SC
JerryH 12-28-2005, 06:44 PM OK. I downloaded the NCLite progra, and configured it according to the instructions. Still nothing. Machine is outputting the program (output flashes on screen) with no alarms, so I think the cable should be OK. COM1 port on my computer checks out OK too. All baud rates, parity, stop bits appear to match. I'm lost....
Here is the detail for my machine and computer settings:
Fanuc OT
TVON - 0
ISO - 1
Inch - 1
I/O - 0
Seq - 0
PWE - 0
TapeF - 0
Parameters
0002 - 00000001
0012 - 00000101
0552 - 9
0553 - 9
_____________________________
Computer Side:
2400 Baud
Even
7
2
Hardware
_____________________________
I also tried Hyperterminal in Win95:
2400 Baud
7
Even
2
Hardware
Transmit Buffer - Low
Receive Buffer - Med High
ANy suggestions?
Sump Cleaner 12-29-2005, 08:39 AM Jerry,
I checked my machine settings and the only difference I can see is as follows
0002 - 00000011
0012 - 10000001
When I send to my Puma, I send the program first from the computer and then hit the input on the CNC.
When I send from my puma, I get the computer ready to recieve and then output from the puma.
I don't know what else to tell you. This set-up works flawlessly for me. Maybe someone with a little more experience can jump in here and help out?
SC
WayneHill 12-29-2005, 12:06 PM Check the signal output with an oscilloscope to make sure it is working. Also triple check the wiring for shorts or broken wires. All the wiring and settings look textbook.
Dan Fritz 12-29-2005, 01:01 PM When you send the program from the Fanuc and the "OUTPUT" symbol blinks, does it go off after a short while ? If not, then the Fanuc is being inhibited from sending because of the CTS signal (pin 5 on the Fanuc).
If the OUTPUT symbol blinks for a while, then goes off, that means that the Fanuc is, in fact, sending the data. If the OUTPUT symbol stays blinking forever, then you've got to find out why the Fanuc does not have a signal on pin 5. Normally, this signal is wired to the RTS signal on the PC side (pin 7 on a 9-pin serial port). You can jumper pins 4 & 5 together on the Fanuc plug also, but then the Fanuc can send data even when the PC isn't ready.
Your parameters and your PC settings look OK to me.
JerryH 12-29-2005, 01:53 PM Dan,
At this point the output signal flashes until I stop the transmission manually. I did however, at one point get it to flash for awhile then shut off like you described (I think I changed the ISO parameter or something...). If I upload a schematic of the cable, can you tell me if my cable was made properly?
Dan Fritz 12-29-2005, 02:38 PM Sure, no problem. Sounds like the CTS signal on pin 5 of the Fanuc isn't getting anything. There are a bunch of cable configurations that will work. Send us yours and we'll see what you've got.
fanuservicetech 01-04-2006, 12:33 AM I think it might be useful for you to pickup a RS-232 mini tester. It basically plugs in series with your RS232 cable and the device. You can easily test your cable and RS232 port functionality at the same time. I bought mine from radioshack years ago (back when they were actually selling electronic components). Their catalog number is 276-1401. I can not find it on their website anymore though. I am pretty sure you can pick one up locally at an elertronic component store. You can goggle "rs232 mini tester" if you can not find one locally.
JerryH 01-06-2006, 02:44 PM Problem solved... Turned out to be a bad cable. The schematic that I got from Miyano gave me the incorrect pin/wire configuration (go figure!). I ended up having to make a new one based on the data I got from Fanuc. Transferring data like a champ!
Big thanks to Dan Fritz for his help in the matter!
|