Do you have % at the end of your program? if not try adding one to see if that fixes your problem
This is my first post. I have done quite a bit of searching and have been unable to find my specific issue.
I have an old Leadwell machine with a Fanuc OM-A control. I am trying to get the 232 port to transmit to/from a laptop. I have found many forum threads on the parameters setting and the software (using Easy DNC now) which I have tried a few different variance.
I can Transmit a program fine from the CNC to the laptop in ISO (and I can save it)
When I try and send a file from the laptop to the machine, I enter O 5555 "Input" and the file starts to upload (DNC software will show progress and complete) as the "LSK" flashes on the screen and keeps going indefinitely. No file will upload. As it is flashing "LSK" for a while and I unplug they cable it will Error out (086 communication error) which makes me think that the connection it there...
I have:
1. Checked continuity on all pins on cable.
2. Made sure baud rates match on CNC and Software (in my case "10" for 4800")
3. Iso is set to 1 on CNC
4. Stop bits set to 2 (matching in Parameter 002 and software)
5. Flow control on software set to XonXoff (wait on any)
6. Pins 6-8-20 jumped on 25 pin cable
7. Pins 4-5 jumped on 9 pin cable
8. Software set to "LF" (tried both "LF and "CRLF")
It seems that the "LSK" is waiting to see an EOB character. I have tried to add ";" to each line. The file begins and ends with "%". Not sure what else to check. The fact it is sending fine makes me think there may be a formatting issue.
Any further assistance/insight would be helpful
Thank you,
Jeff
Do you have % at the end of your program? if not try adding one to see if that fixes your problem
you may have a hardware problem. I had a similar fault on one machine where it would send but not receive and it ended up being a faulty board. you can check that. switch the wires for transfer and receive (TX/RX pins 2 and 3). if you can now receive but not transmit you have a board fault.
I was afraid of that...I'll try swapping the pins and see what happens
We did have the board out at one time to inspect before we realized that some of the parameters were incorrect... so it went back in. Are there any jumpers etc. on the board that may need to be checked?
no jumpers that I know of
Hi Jeff,
For starters, your cable configuration is wrong for Loop Back handshaking. Bridging 4 and 5 on the DB9 connector is a nonsense. What you've done is connected the DTR (4) to Signal Ground (5). Although its not necessary to do so, some will have you jump pins 1,4, and 6, as well as 7 and 8 on the DB9 connector. This is the same as 6,8, and 20, bridged and 4 and 5 bridged on a DB25. The cable configuration for Xon Xoff handshaking is as follows:
Regards,
Bill
Machine Side ------------------- PC Side
DB25 Male -------------------DB25 Female ------ DB9 Female
1 -- Cable Shield ----------Not Connected ---- Not Connected
2 -------------------------------- 3 -------------------- 2
3 -------------------------------- 2 -------------------- 3
4
| Bridged
5
6
|
8 All bridged
|
20
7 ------------------------------- 7 -------------------- 5
Swapping pins 2 and 3 will achieve nothing. Pin 3 on the machine Uart will always remain the Receive Line. By swapping pin 2 and 3, all you achieve is to connect Transmit to Transmit and Receive to Receive, and that certainly won't work in either direction. If Ford means to swap the pins of the cable between the DB25 Female at the control and the I/O card, this would only test if there is a problem with that length of cable. But if you did that, you would have to swap pin 2 and 3 of your cable between the PC and Machine so as to maintain a TD to RD and not TD to TD, RD to RD connection. As far as the cable between the I/O board and the connector, its viability can be checked with a multimeter.
Regards,
Bill
Last edited by angelw; 03-13-2012 at 06:32 PM.
Check cable config on chart. DB25 and DB9 at the computer end (25 pin on old serial and 9 on newer) do not use the same pins for output, so make sure which part of chart to use. I have found that the fanuc does need the jumpers on each end of the plug (as per attached chart)