Comprehensive Guide to CNC Machine Cable Diagrams and Pinouts

Cable Diagrams and Descriptions with Pinouts

Pinout 1: No Handshake

Jumper?

DB-9 PC (Female)

Wire

DB-25 CNC (Male)

Jumper?


(Disconnected)

Shield

1



2 (Receive Data)

Green

2 (Transmit Data)



3 (Transmit Data)

Red

3 (Receive Data)



5 (Signal Ground)

Black

7 (Signal Ground)





4 (RTS)

5 (CTS)

JUMPER




6 (DSR)

8 (DCD)

20 (DTR)

JUMPER





Pinout 2: Partial Handshake (RTS/CTS Only)

Jumper?

DB-9 PC

Wire

DB-25 CNC

Jumper?


(Disconnected)

Shield

1



2 (Receive Data)

Green

2 (Transmit Data)



3 (Transmit Data)

Red

3 (Receive Data)



5 (Signal Ground)

Black

7 (Signal Ground)



7 (RTS)

Brown

5 (CTS)



8 (CTS)

Blue

4 (RTS)





6 (DSR)

8 (DCD)

20 (DTR)

JUMPER






Pinout 3A: Full Handshake (RTS/CTS & DTR)

Jumper?

DB-9 PC (Female)

Wire

DB-25 CNC (Male)

Jumper?


(Disconnected)

Shield

1



2 (Receive Data)

Green

2 (Transmit Data)



3 (Transmit Data)

Red

3 (Receive Data)



5 (Signal Ground)

Black

7 (Signal Ground)



7 (RTS)

Brown

5 (CTS)



8 (CTS)

Blue

4 (RTS)



4 (DTR)

White

6 (DSR)

8 (DCD)

JUMPER





Pinout 3B: Full Handshake (RTS/CTS & DTR/DSR)

Jumper?

DB-9 PC

Wire

DB-25 CNC

Jumper?


(Disconnected)

Shield

1



2 (Receive Data)

Green

2 (Transmit Data)



3 (Transmit Data)

Red

3 (Receive Data)



5 (Signal Ground)

Black

7 (Signal Ground)



7 (RTS)

Brown

5 (CTS)



8 (CTS)

Blue

4 (RTS)



4 (DTR)

White

6 (DSR)

8 (DCD)

JUMPER

JUMPER

1 (DCD)

6 (DSR)

(OTHER COLOR)

20 (DTR)



Black Box’s pre-constructed cables use Pinout 3B. WE MAKE NO DISTINCTION BETWEEN PINOUTS 3A AND 3B. In our system, we never look at pins 1 or 6 on the PC side, so it makes no difference if we use that wire or not. With our standard 6 conductor cable we don’t have enough wires to connect it anyway, so we leave it out.



Here is when it is ok to use each cable (items in yellow are functional, but “less preferred”)



PC-DNC plus or

PC-DNC Editor (Wait for XON)

PC-DNC Editor (Send Now)*

Any Fanuc with RS232

1,2,3

1,2

Fanuc 30i/31i/32i (any), 0i (D or later), 16i/18i/21i (B or later) with DR Signal Off problem even though 6-8-20 jumper is present

3

NOT POSSIBLE

Yasnac MX-1/LX-1, MX-2/LX-2, MX-3/LX-3, I80, J30

1,2,3

1,2,3***

Yasnac I80 or J30 (drip feeding)

2,3

2,3***

Mazak

1,2,3

1,2,3***

Mazak (drip feeding)

2,3

2,3***

Siemens

2,3

2,3***

Haas**

1,2,3

1,2,3

Fadal**

1,2,3

1,2,3

Mitsubishi

1,2,3

1,2,3***

Mitsubishi (drip feeding)

2,3

2,3***

Brother

2,3

2,3***

Okuma

1,2,3

1,2,3***


*Remember – you can’t use SEND NOW when drip feeding. This column refers only to transfer in/out of memory. When drip feeding, use Wait for XON or the DNC button in PC-DNC Editor.

** Haas and Fadal machines need only 2, 3, and 7. Pinout 1 doesn’t even need the 4/5 and 6/8/20 jumpers.

*** Parameter to disable DR signal check required to use pinout 3. These devices do NOT permit the use of pinout 3 with the SEND NOW button in their default state.





Optical Isolator Special Pigtail (for Fanuc)

Jumper?

DB-25 Isolator

Wire

DB-25 CNC

Jumper?


(Disconnected)

Shield

(Disconnected)



2 (Receive Data)

Green

2 (Transmit Data)



3 (Transmit Data)

Red

3 (Receive Data)



4 (RTS)

Blue

4 (RTS)



5 (CTS)

Brown

5 (CTS)



7 (Signal Ground)

Black

7 (Signal Ground)



20 (POWER IN)

White

6 (DSR)

8 (DCD)

20 (DTR)

JUMPER




Isolator Side (DB 25 Male) CNC Side (DB25 Male)





Optical Isolator Cable Compatibility


Pinout 1

Pinout 2

Pinout 3A/B

DB25 Straight Through

Haas Only - Always requires power supply

Haas Only – Usually ok, but sometimes requires power supply

Haas Only

Special Pigtail

Always requires power supply

Usually ok, but sometimes requires power supply

All Machines





    • Related Articles

    • "DR Signal Off" Alarm (Often Alarm 086 on a Fanuc)

      This alarm occurs when the CNC checks the data ready handshake line (sometimes called DR or DTR) and finds that the device is not ready. There are a few possibilities for this problem depending on how your cables are wired. Verify that your port is ...
    • Mazak Matrix USB to Serial Data I O

      Matrix USB to Serial Data I/O USB to Serial converter can be used with the Matrix CMT/Tape modes via Data I/O CMT Mode: Load CMT Programs into the Matrix Note: Can’t save CMTdata from Matrix to CMT See Manual #H740S30030E Section 9-1-3 Tape Mode: ...
    • Mazak Matrix Configuration Document

      CNC Parameters Tape I/O Parameters: Baud rate - 9600 Data bits - 8 Parity - None Stop Bit - 2 Hand Shake - DC CONTROL Wait Time - 5 Format - ISO Same Wno. - ALARM (or LOAD to overwrite) Port – COM3 (or other port as applicable) Extended TAPE ...
    • Paperclip Loopback Test

      This test is to confirm whether you have two-way communication on your port. How to test Open FactoryWiz DNC Select a machine Click Terminal Mode Unplug RS232 cable from the machine. At the end you just unplugged, have someone hold a paperclip to ...
    • Moxa Configuration-Wizard (Wired)

      NPort 51xx Moxa Configuration NPort Windows Driver Manager (WHQL certified) NPort Search Utility You may also want to download the latest current Moxa firmware for your device (firmware may be out of date depending on supplier’s shelf life of ...