|
|
|
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.
|
Hardware set up for RS232 communications
I found that the quickest way to get a cable without going through the hassle of making one up, is to go to your local radio shack or electronics store. This has been tested on many controls, Mitsubishi, Fanuc and many others. Ask for a cable to go from a DB25 connector to 9 Pin serial. Lastly, ask for a null modem adapter to fit on either end of the cable. I have used this on Fanuc, Mitsubishi and several other controls without a problem. The total cost was approximately $20.
Most laptops now do not come with a serial port. In this case you must purchase a pcmcia card to a serial adapter or USB to a serial port adapter. There is a lot of mixed reviews on the USB to serial adapters. pcmcia card to serial adapter is your best bet for success. I currently use a USB to serial and have not had any problems for both CNC communication and PLC communication. The only thing using a USB to serial converter is to make sure you plug in the same USB port every time, so that it keeps the same COM Port number that you have set up in your 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
|
|

Communications standard non handshaking cable
|
|
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.
|
|
|
Fanuc Control Parameter settings RS232
Fanuc-3 RS232
|
| Fanuc-3 |
|
|
| Parameter |
Value |
Comments |
| 0014 |
|
|
| 0069 |
4800 |
Baud rate |
| TV CHECK |
0 |
0: Off; 1: On |
| Punch code |
0 |
0:ISO; 1:EIA |
|
Fanuc 6 and 9 series RS232
|
| Fanuc 6 and 9 series |
|
|
|
| Baud rate |
Parameter |
| 50 |
00010000 |
| 100 |
00010001 |
| 110 |
00010010 |
| 150 |
00010011 |
| 200 |
00010100 |
| 300 |
00010101 |
| 600 |
00010110 |
| 1200 |
00010111 |
| 2400 |
00011000 |
| 4800 |
00011001 |
| 9600 |
00011010 |
|
| Parameter |
Value |
Comments |
|
| 311 |
00011000 |
Baud rate 2400 |
|
| 340 |
2 |
|
|
| 341 |
2 |
|
|
| TV CHECK |
0 |
0: Off; 1: On |
|
| Punch code |
0 |
0:ISO; 1:EIA |
|
| Input unit |
0 |
RS232C |
|
| Input device 1 |
1 |
|
|
| Input device 2 |
1 |
|
|
|
Fanuc 0M RS232
|
| Fanuc 0M
On the SETTINGS screen, set the following:
TVON =0
ISO = 1
I/O = 0 (port 1), I/O = 2 (port 2)
PWE = 1
TAPEF = 0
|
CNC
Parameter |
Port 1
(M5)
|
Port 2
(M74)
|
|
| 0002 |
1xxxxxx1 |
no effect |
|
| 0050 |
no effect |
1xxxxxx1 |
|
| 0038 |
01xxxxxx |
xx01xxxx |
|
| 0552 |
9-Baud rate: 2400 |
no effect |
|
| 0253 |
no effect |
10
|
|
| X means can be 0 or 1 |
|
|
|
|
|
Fanuc-
0i-M/0i-T RS232 communication
|
| Fanuc |
0i-M/0i-T |
|
| Parameter |
Value |
Comments |
| 0000 |
00000010 |
|
| 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 |
|
Fanuc RS232-10/11/12/15
|
| Fanuc |
10/11/12/15 |
|
|
| Parameter |
Value |
Comments |
|
| 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
in parameter
depending on
baudrate |
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 |
1 |
RS232 |
|
| Output device |
1 |
RS232 |
|
|
Fanuc-16/18/21
(M,T,I series)
To change parameters- Press the offset settings hardkey, then press settings softkey. To turn on PWE. To get to parameters press system hard key then the parameter softkey
|
| Fanuc |
16/18/21(M,T,I series) |
|
| Parameter |
Value |
Comments |
| 0000 |
00000010 |
|
| 0020 |
0 |
|
| 0100 |
0 |
|
| 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 |
RS232 |
|
|
| See Fanuc
Parameter backup procedure
ATA and SRAM card setup for more information
|
RS232 Communications Parameters settings
RS232C, RS232-c,USB to serial, Serial communications and protocol, pcmcia, Ethernet switch, and ATA communication
|
|
|
Other RS232 resources that are helpful
Cadem DNC- Many templates and parameters for DNC
http://www.lammertbies.nl/comm/cable/RS-232.html General information
|
|
GENERAL DISCLAIMER:
All data on this website is provided without charge or obligation by myself or anyone else who contributes to this site. It is the responsibility of the reader to perform any action outlined here in a safe and responsible manner. The reader assumes all responsibility for service or actions taken as a result of the information contained here. We assume no responsibility for personal or property damage, any type of monetary losses or losses caused directly or indirectly from the material provided in this Web page or any pages contained within the Website. If this site has been translated into another language, we are also not liable for how the site content has been translated.
Click here for full disclaimer and terms
|
HELP US IMPROVE
THIS WEBSITE..!! |
Share with everyone?
...Procedures
...Macro programs
...Experience
...Stories
...Articles
...Recommendations
...Anything related
Suggestions or comments?
Please Email Me: admin@machinetoolhelp.com
Thank you for all your contributions and support.
|
|