I recently acquired a knee-mill with a FANUC OM control. I've been working through a few issues with this older machine, and the latest is getting it to accept programs uploaded (downloaded?) from a PC to the controller. Trawling the net there's a lot of information on the topic, but some of it is conflicting. Here's what I have done.
The parameters which I believe are relevant are as follows:
TVON = 0
ISO = 1
I/0 = 2
TAPEF = 0
0002 = 1000 0001
0050 = 1000 1101
0038 = 1001 0000
0552 = 10
0253 = 0
I assume that these last two are in base-10, not binary, although how/why the controller makes this distinction is a mystery to me.
I am using Tera Term with the following settings
COM1
4800 baud
7 bit data
Even parity
2 bits stop
Xon/Xoff flow control.
To accept a program from the PC, I hit the PRGRM button, then the I/O soft key, then the READ softkey. The CRT flashes LSK, then I go to Tera Term and say "send file...". It continues to flash LSK and nothing seems to happen. The program protect key is turned to off.
At the moment, I think the most likely source of the problem is my cable. I had a couple of straight-through cables and some prototyping boards, which I wired up like this
To make this clear, pins 4/5 are tied together, as are pins 6/8/20, where each side is tied to itself. That is, the only connections that pass through from the FANUC to the PC are on pins 2, 3 and 7.Code:1 - shield shield - 1 2 ------------------- 3 FANUC --- 3 ------------------- 2 --- PC 4 -| |- 4 5 -| |- 5 7 ------------------- 7 6 -| |- 6 8 -| |- 8 20 -| |- 20
If I want to purchase the correct cable, I think I want a "null modem cable with no handshaking." Correct? In the meantime, is what I've done the correct way to do the cable?