What's new
What's new

Fanuc OM, using DNC4U to drip feed, get p/s003 (too many digits), how to edit Line Numbers Out of program

angelw, I found an old post by you describing the cable pin out requirements here:​


It shows this diagram, this is what I will try to make or buy.


This is from post #2 in the same thread.
"
Machine Side ---------------------------------- PC Side
DB25 Male Connector ----------------- DB25 Female ----- DB9 Female

1 --- Shield Trace ------------------- Not Connected --- Not Connected
2 ---------------------------------------- 3 ----------------- 2
3 ---------------------------------------- 2 ----------------- 3
4
| Bridged
5
6
|
8 All Bridged
|
20
7 ---------------------------------------- 7 ----------------- 5
"
Many thanks!
That is a pinout schematic drawing for Software Handshaking. I thought that you wanted to build a Hardware Handshake Cable. Your attached cable pinout in your earlier Post and the pinout shown above only has three wires going between the connectors. That's not enough for Hardware Handshaking.

Regards,

Bill
 

angelw, many thanks!! It is just as important to know when it will not work. Please see attached pic, this is a hardware style & what I plan to try. The braded shield is preferred to the foil type of cable to use and keep the length short, correct? Many thanks!​

 

Attachments

  • RS 232 Cable HARDWARE HANDSHAKING.png
    RS 232 Cable HARDWARE HANDSHAKING.png
    42.5 KB · Views: 11
I have a piece of data cable, with braded shield, but the wire size looks small. This was from a plotter cable, it has a lot of colored coded single wires, around 30, can I group 2 or 3 together as a single if the wire size is too small? This is on the outside cable cover; AWM E101344 STYLE 20276 30V VW-1 IEEE 1284 made by Belkin.com.
Many thanks.

Edit: Is there an advantage/disadvantage to using the 9 pin or RS232 (25 pin) on the PC end of the cable?
Edit: I have new cable on the way, specially, advertised as Fanuc CNC, 9 pin to 25 pin.
 
Last edited:

angelw, many thanks!! It is just as important to know when it will not work. Please see attached pic, this is a hardware style & what I plan to try. The braded shield is preferred to the foil type of cable to use and keep the length short, correct? Many thanks!​

Yes, that configuration will work. However, you need to set the Comms Software to RTS/CTS Handshaking and the Control to NOT use DC1 to DC4 Characters.

Edit: Is there an advantage/disadvantage to using the 9 pin or RS232 (25 pin) on the PC end of the cable?
Edit: I have new cable on the way, specially, advertised as Fanuc CNC, 9 pin to 25 pin.
You are unlikely to find a PC and particularly a Laptop nowadays that will have a DB25 connector, even DB9 Connectors are becoming rare as standard equipment, but a DB9 connector works just as well.

The only cables I trust are those that I make myself. Any time I'm called to solve a Comms issue, I remove the back shells of the connectors to check that the cable configuration is correct. Often, I'll be told that it can't be the cable because it was purchased ready to go and is a correct Null Modem Cable. Null Modem is a generic term and relates to any cable where the Send and Receive lines are crossed. It has to be a specific type of Null Modem Cable for the purpose, in your case either a Loop Back (Software Handshake) or Full Handshake Null Modem.

With the cable configuration shown in your Post #22, no reference to Pin 1 has been included. Pin 1 is protective ground for a DB25 connector and should be connected to the Trace Wire at the Control end of the cable, but not at the External Device end. The Trace Wire is a bare wire that will be in contact with the Shield for the length of the cable. If the cable has a braided shield and no trace wire, the end of the Shield can be trimmed in a fashion that will allow a convenient length to be twisted into a form that can be connected to Pin 1 of the DB25 connector at the Control end.

Regards,

Bill
 
Last edited:

angelw, thank you!!! The cable that I have used only has 4 wires, I saw the way the braided shield was soldered to the steel outside part of the housing of the plug & only 1 end. The braided shield was all pulled to 1 side, twisted as to form a wire, a short section of heat shrink tube was used to keep from untwisting, then soldered to the housing, under the cover.​

The PC that is on the mill is a desktop, Dell, that has the DB25 and a 9 pin sockets. The new cable is a 9 to 25 pin, when I ordered, I offered my attachment showing the "Hardware handshake" just so all agreed to what I was asking for.

angelw, On the Fanuc controller, I will find "do not use DC1 to DC4 Characters" is this a parameter or diagnostic setting, I do not recognize this? I saw the RTS/CTS option in the DNC4U software and will look in this area for the DC1 to DC4 characters. Many thanks.​

 
On the Fanuc controller, I will find "do not use DC1 to DC4 Characters" is this a parameter or diagnostic setting, I do not recognize this? I saw the RTS/CTS option in the DNC4U software and will look in this area for the DC1 to DC4 characters. Many thanks.
It's a parameter bit, but the parameter for the FS0M control may not appear in your parameter manual. From memory, its parameter bit 391.6, but I would have to check that in my notes and can't do that until tonight.

Regards,
Bill
 
I saw the way the braided shield was soldered to the steel outside part of the housing of the plug & only 1 end. The braided shield was all pulled to 1 side, twisted as to form a wire, a short section of heat shrink tube was used to keep from untwisting, then soldered to the housing, under the cover.
With a DB25 connector, Pin 1 is protective ground and connecting the Shield, or a Trace wire to the frame of the connector of a DB25 Connector is the same as connecting it to Pin 1. A DB9 Connector doesn't have a Protective Ground Pin and therefore, soldering the Trace wire, or Shield to the Frame of the Connector is the only way to connect the Shield to Protective Ground.

Regards,
Bill
 

angelw, many, many thanks!!! If the manual (just checked goes from 292 to 500) does not reference 391.6=1, no wonder I needed help.​

I am ever so grateful for your help and all the others, including those who make the forum possible!​

My hope the cable will arrive late this week. Thanks
 
Vanbicker, many thanks for your diagram, I have reviewed to see how close it is to the one offered (in post 22) by DNC4U, close but not exact as it appears to me, but my diagram knowledge is limited.

angelw, I have written that parameter "391.6 to 1" in my handwritten parameter sheet, that has the reason (hardware handshake) why this was edited or needed. Many thanks!​


I tried to order a custom cable with the pin out from DNC4U, but this fell apart because of the delivery date of several weeks. So I plan to make up my own cable as per the attached sketch, is my thinking clear about connecting pins 20, 6, & 8 and 4, 6, & 1 as shown in post 22 diagram?

Please compare (post 22 diagram) to the attached line diagram. In the attached line diagram, I have a lightly penciled in (the lower 9 pin diagram) a jumper in the DB-9 pin between pins 8 & 20, but in the 25 pin to 25 pin, I have it in ink. Which 1 is correct? I have everything needed to make the 25 pin to 25 pin cable, and the PC has a 25 pin slot. On order is the 9 pin solder on DB-9 plug, and plan to make up a 9 pin cable as well when parts come in.

Attached is what the post 22 diagram looks like in line diagram. To clarify, the pins in post 22 diagram reads like this in the 3 columns:
Fanuc RS232: Pin2, 3, 7, 4, 5, 20, 6 & 8
Devise RS232: Pin2, 3, 7, 4, 5, 20, 6 & 8
DB-9 Pin3, 2, 5, 7, 8, 4, 6 & 1
I hope this helps.

Many thanks for the help, and please confirm what option is preferred.

Edit: This I believe clarifies the cable diagram, many thanks:
DB9 - DB25
2 - 2
3 - 3
5 - 7
6 - (8-20)
7 - 5
8 - 4
(1-4) - 6
Edit: Corrected Diagram, many thanks
 

Attachments

  • DNC4U 9PinTo25Pin Diagram Hardware.JPG
    DNC4U 9PinTo25Pin Diagram Hardware.JPG
    1.8 MB · Views: 2
Last edited:








 
Back
Top