SuiteFactory
Enterprise Class Solutions
by CAD/CAM Integration, Inc.
 

Take control of your office or shop: engineering, manufacturing, legal, medical . . .

Available in English, Chinese, Japanese and Spanish Language Editions

 

 

 

Home
Up

RS-232 Wiring

Following is the typical wiring configuration for CNCs.  Call CCI if you have any questions.

Using DB25 connectors both ends

This wiring assumes the following:
At the PC and the CNC pins 2 and 4 are outputs. Pins 3 and 5 are inputs. Pin 7 is logic ground.

PC (25 Pin socket)CNC (25 Pin-as required)
23 RXD
32 TXD
45 CTS
54 RTS
77 GND
 6

Jumper pin 6 to pin 8 to pin 20.  

 8
 20
Note! In general jumpering pins 6 to 20 together will suffice. For Fanuc CNC's jumpering all 3 pins is required.

Using DB9 connector at the P.C. and DB25 at the CNC

This wiring assumes the following:
At the PC pins 3 and 7 are outputs. Pin 5 is logic ground.   Pins 2 and 8 are inputs.

At the CNC pins 2 and 4 are outputs. Pin 7 is logic ground.  Pins 3 and 5 are inputs.
PC (25 Pin socket)CNC (25 Pin-as required)
33 RXD
22 TXD
75 CTS
84 RTS
57 GND
 6

Jumper pin 6 to pin 8 to pin 20.  

 8
 20
Note! In general jumpering pins 6 to 20 together will suffice. For Fanuc CNC's jumpering all 3 pins is required.

Notes!

Connect the shield on the P.C. side to the chassis of the PC or RocketPort adapter.  This is easily done if you use a metal or metallized plastic connector cover (hood) and make sure that the drain wire (that's an extra wire in a foil shielded cable that is connected to the foil) or the braid of a braided type shielded cable makes contact with the connector cover.

Typical parameter settings on the DNC side are as follows:

Protocol: Generic RS-232
Data rate: 9600 baud (CNC dependent )
Data type: ASCII
Parity: Even
Stop bits: One
Handshaking: If Fanuc or Yasnac like CNC's, use "Both no wait". the RTS signal from the CNC goes on at the beginning of any data transfer, and off at the completion.  If not, you must choose the handshaking method depending upon the CNC. For example, "XON/XOFF wait" is normally used with controllers that emulate EIA RS-491 level II, whereas RTS/CTS is used with level 1.

 

Home Up Next