0% found this document useful (0 votes)
76 views

RS232, Ethernet, Wireless, Pcmcia or ATA Memory Card, and USB Communications

The document discusses various methods of connecting a computer to a CNC machine tool for loading programs and data, with RS-232 being the most common. It provides information on setting up RS-232 communications, including recommended cable types, baud rates, and parameter settings for common CNC controls like Fanuc and Mitsubishi. USB to serial converters are also mentioned as an option for computers without serial ports.

Uploaded by

kapil Sood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views

RS232, Ethernet, Wireless, Pcmcia or ATA Memory Card, and USB Communications

The document discusses various methods of connecting a computer to a CNC machine tool for loading programs and data, with RS-232 being the most common. It provides information on setting up RS-232 communications, including recommended cable types, baud rates, and parameter settings for common CNC controls like Fanuc and Mitsubishi. USB to serial converters are also mentioned as an option for computers without serial ports.

Uploaded by

kapil Sood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

RS232, Ethernet, Wireless, pcmcia or ATA memory card,

and USB communications


These are the different ways to load programs and data to
your machine tool. The most common is RS232. Many
machine tool companies are now going to windows based
operating systems with hard drives and USB ports. Below you
will find communications with RS232 information. There will be
more on the other communications devices to come.

BUY a
RS232
cable or
USB to
serial port
converter
from the cnc
store

RS232 USB to PC card CNC Cheat


cables & serial port adapters sheets
Custom converter
cables
Hardware set up for RS232 communications
You can purchase a cable through the cnc store. The non-
handshaking is the most popular and is made to the Fanuc
and Mitsubishi RS232 specifications. This has been fully
tested on many controls including Mitsubishi, Fanuc, Brother,
Yasnac and many others. We also offer the standard RS232
cable which has the handshaking capabilities as well as
custom built RS232 cables..
Most laptops now do not come with a serial port. In this case
you must purchase a PMCIA to serial or a USB to a serial port
adapter. There are a lot of mixed reviews on the USB to serial
converters, though I have found one that seems to work for
every application I have thrown at it. Its been tested on many
CNC machines as well as automation devices such as PLC's,
light curtains, Servo drives and more. The only thing about
using a USB to serial adapter is to make sure you plug it in the
same USB port every time. This will enable you to keep the
same COM Port number that you have set up in your RS232
software programs.
See how to find out what COM PORT number or
communication port your device is registered as in windows.

Standard RS232 Fanuc serial port : (DB25 Female to


honda)
I am surprised at the few people that actually understand on
how to set up all the different parameters for communications.
Once you get it to work most people write them down and use
it on all of their machines. I myself still do not understand the
full purpose of all the different settings, but I am usually able to
get communications working without a problem. Unfortunately,
there is little documentation on how all of the different settings
are used. I will be adding a troubleshooting section on RS232
communications in the near future. I will also include some
recommendations on software and parameters for the different
controls. Lastly, it will include the use of ATA or SRAM, cards
and how to configure computers and read them.
For free RS232 software see free CNC software

2
3
Communications standard non handshaking cable
For more wiring diagrams check out the RS232 cable wiring
pinout
6 = Data Set Ready
7 = Signal Ground
8 = Carrier Detect
20 = Error (Data Terminal Ready)
25 = Power

Baudrate-Feet
2400-400ft
4800-200ft
9600-100ft
19200- 50ft
38400-25ft
57600-16ft
115200-8ft

Fanuc ISO Protocol communication settings: (E,7,X)

The standard protocol for Fanuc controls is 4800 or 9600


Baud, Even parity, 7 data bits and either 1 or 2 stop bits
(XON/XOFF, PUNCH ON/OFF). This is standard setting that
will work in most conditions. Depending on environment and
cable type and distance to DNC if used.

4
Fanuc Control Parameter settings RS232

5
Fanuc-3
Parameter Value Comments
Fanuc-3 RS232 0014
0069 4800 Baud rate
TV CHECK 0 0: Off; 1: On
Punch code 0 0:ISO; 1:EIA
Fanuc 6 and 9 Baud rate Parameter
series 50 00010000
Fanuc 6 and 9 series RS232 100 00010001
110 00010010
150 00010011
200 00010100
300 00010101
600 00010110
1200 00010111
2400 00011000
4800 00011001
9600 00011010
Parameter Value Comm
ents
311 00011 Baud
000 rate
2400
340 2
341 2
TV CHECK 0 0: Off;
1: On
Punch code 0 0:ISO;
1:EIA
Input unit 0 RS232
C
Input device 1 1
Input device 2 1

6
Fanuc CNC Port 1 Port 2
0M (M5) (M74)
On the Paramet
Fanuc 0M RS232
SETTIN er
GS
screen,
set the
following:
TVON
=0
ISO = 1
I/O = 0
(port 1),
I/O = 2
(port 2)
PWE =
1
TAPEF
=0
0002 1xxxxxx1 no effect
0050 no effect 1xxxxxx1
0038 01xxxxxx xx01xxxx
0552 9-Baud no effect
rate:
2400
0253 no effect 10

X means
can be 0
or 1
Fanuc 0i-M/0i-T
Parameter Value Comments
Fanuc- 0000 00000010
0i-M/0i-T RS232 communication 0020 0
0100 00100000
0101 10000001
0102 0
0103 11 Baud rate
5=150
6=300
7=600
8=1200
9=2400
10=4800
11=9600
TV CHECK 0 0: Off; 1: On
Punch code 0 0:ISO; 1:EIA
Input device 0 RS232C

7
Fanuc 10/11/12/15
Parameter Value Comments
Fanuc RS232-10/11/12/15 5001 1
5002 2
5003 3
5110 4
5111 2
5112 9 Baud rate
2400
5120 4
5121 2
5122 9 Baud rate
2400
5130 4
5131 2
5132 Enter 5-11 Baud rate
in 5=150
parameter 6=300
depending 7=600
on 8=1200
baudrate 9=2400
10=4800
11=9600
TV CHECK 0 0:Off; 1:On
Punch code 0 0:ISO; 1:EIA
Input device 1 RS232
Output 1 RS232
device
Fanuc-16/18/21 Fanuc 16/18/21(M,T,I
(M,T,I series) series)
To change parameters- Press the Parameter Value Comments
offset settings hardkey, then press 0000 00000010
settings softkey. To turn on PWE. 0020 0
To get to parameters press system 0100 0
hard key then the parameter 0101 10000001
softkey 0102 0
0103 11 Baud rate
5=150
6=300
7=600
8=1200
9=2400
10=4800
11=9600
TV CHECK 0 0: Off; 1: On
Punch code 0 0:ISO; 1:EIA
Input device 0 RS232

You might also like