FANUC RS232 通讯参数设置与操作
Fanuc RS-232C Standard Serial Pinout
Fanuc ISO Protocol: (E,7,2,x)
The standard protocol for Fanuc controls is 4800 or 9600 Baud, “Even parity”, “7 data bits” and 2 stop bits”
using DC1-4 Codes (XON/XOFF, PUNCH ON/OFF).
Fanuc 0 M / T
Parameter
Value
Comments
0002
0038
0552
TV On/Off
ISO
I/O
PWE
TAPEF
1000 0001
0100 0000
11
9 = 2400,10 = 4800,11 = 9600* (recommended)
0
1
0
1
0
0 = TV Check OFF (1= TV Check ON - Never enable TV Check)
1 = ISO (0=EIA Never use EIA)
Drip Feed ?
To drip feed enable para G127.5
使 G127.5 DNC 操作信号动作。
Select Auto (DNC) mode on the control - Press Cycle Start.
选择自动(DNC)控制状态,按(循环启动)。
Then go to the computer, prepare the program and click 'Send'. When data begins to flow
the machine will start moving.
然后去电脑,准备程序,点击“发送”,当数据开始传送时,机床就会开始移动。
With the Emergency Stop button depressed, set the PWE parameter on page 2 of the SETTINGS screen to a 1.
Press DGNOS/PARAM, [PARAM] and page down to parameter 900. Enter the values for parameters 900-1000.
At this time, set up the communication parameters again the same way you did in Part 1-CNC Parameter
Settings. When you are finished, turn off the power to the control, then power on again.
Punching Procedure
Punch NC Parameters - EDIT mode, PARAM screen, EOB + OUTPUT/START
Punch PC Parameters - EDIT mode, DGNOS screen, OUTPUT/START
Punch All Programs - EDIT mode, PRGRM screen, O-9999, OUTPUT/START
Tool Offsets - EDIT mode, OFFSET screen, OUTPUT/START
Reading Procedure
Load NC Parameters - EDIT mode, PARAM screen, EOB + INPUT
Load PC Parameters - EDIT mode, DGNOS screen, INPUT
Load All Programs - EDIT mode, PRGRM screen, INPUT
Load Tool Offsets - EDIT mode, OFSET screen, INPUT
Clearing Procedure
Delete All memory - Power On holding RESET + DELETE keys with PWE=1
Delete Parameters - Power On holding RESET key with PWE = 1
Delete Programs - Power On holding DELETE key with PWE = 1
Fanuc 0 DNC Drip-Feeding Note
Most machine tool builders enabled the ability for the CNC to run in drip feed mode (also called "Tape" mode,
or "Auto" mode with a switch or keep relay set). You can determine if your machinesupports running files of
any length in this mode that executed each line directly if you can make the "DNCI" bit in the Diagnostics area
go to a "1". The "DNCI" bit is G127.5 (or Diagnostic bit 127= xx1x xxxx). If you have a switch, keep relay
(found in the Diagnostic section by the way) then you are good to go. Put the machine in DNC mode, make
sure you are in AUTO mode, get your PC ready to send the file and hit CYCLE START to start executing code.
The code never goes into the part program memory, so code of any length can be run. Make sure you have a
good DNC setup as any data loss (due to bad cabling or faulty flow control) can cause a crash.
Fanuc 3M-C
Parameter
Value
Comments
0000 0001
10
0
1
0
0005
0068
TV On/Off
ISO
I/O
PUNCHING
9 = 2400,10 = 4800* (recommended),11 = 9600
0 = TV Check OFF (1= TV Check ON - Never enable TV Check)
1 = ISO (0=EIA Never use EIA)
Punch NC Parameters - EDIT mode, PARAMETER screen, P-9999, OUTPUT/START
Pitch Error Compensation - EDIT mode, PROGRAM screen, P-9998, OUTPUT/START
Punch Programs - EDIT mode, PROGRAM screen, O-9999, OUTPUT/START
Punch Tool Offsets - EDIT mode, OFFSET screen, P-9999, OUTPUT/START
Punch Macro Variables - EDIT mode, Menu screen, P-9999, OUTPUT/START
RECORD THE PMC PARAMETERS
You must manually copy down on paper ALL of the Diagnostic parameters off the DIAGNOSTIC screen.
N600~619,N1001~1040,N2001~2010,N3000~3036.
READING
Load NC Parameters - Param enable, EDIT mode, PARAMETER screen, P-9999, INPUT
Pitch Error Compensation - EDIT mode, PROGRAM screen, P-9998, INPUT
Load Programs - EDIT mode, PROGRAM screen, O-9999, INPUT
Load Tool Offsets - EDIT mode, OFFSET screen, P-9999, INPUT
Load Macro Variables - EDIT mode, Macro screen, P-9999, INPUT
RECORD THE SETTING DATA
Press PARAMETERS key to display the Setting Data Screen. You can record all of the Setting
N600~619,N1001~1040,N2001~2010,N3000~3036.
OPERATION IN DNC MODE
This DNC software uses AUTO mode and runs the programs directly from a computer. Programsare not stored
in the C-MOS Memory. Selecting between standard (C-MOS memory) or DNC mode of operation in the AUTO
mode is done by setting the I/O=0 for MEMORY mode or 1 for DNC mode.
· Go to MDI mode
· Select the PARAMETER Setting screen
· Set I/O = 1
· Go to AUTO mode
· Press RESET to clear memory buffers, then press the START button and the system will run the program
being sent from the computer.
· Using Spectrum Multi-DNC you can set it up to send the same program several times.
· To get back to memory mode you must set I/O = 0 on the PARAMETER Setting screen.
Fanuc 6/9
Parameter
Value
Comments
340
341
311
2
2
0011 1010
Baud rate - see table below for valid options.
0011 1000 = 2400
0011 1001 = 4800
0011 1010 = 9600 * (recommended)
0 = TV Check OFF (1= TV Check ON - Never enable TV Check)
1 = ISO (0=EIA Never use EIA)
TV Check
Punch Code
Input Unit
Input Device 1
Input Device 2
PUNCHING:
0
1
0
1
1
Punch NC Parameters - EDIT mode, PARAM screen, key “P-9999”, Punch
Punch Pitch Error Compensation - EDIT mode, PARAM screen, key “P-9998”, Punch
Punch All Programs - EDIT mode, PGRM screen, key “O-9999”, Punch
Tool Offsets - EDIT mode, OFSET screen, key “P-9999”, Punch
Punch PC Parameters
Check Parameter 3, bit 7. If this is a 0, you have no PC Parameters. Write down the PC Parameters between,
and including the following parameters: N600-619,N1001-1040, N2001-2010 and N3001-3036.
READING:
Load NC Parameters - EDIT, E-Stop, PWE, PARAM screen, key “P-9999”, Read
Load Pitch Error Compensation - EDIT, E-Stop, PWE, PARAM screen, key “P-9998”, Read
Load All Programs - EDIT mode, PGRM screen, Mem. Protect Key, key “O-9999”, Read
Load PC Parameters
CLEARING:
Delete Directory and Programs - Power On holding “RESET” + “DELETE”
Delete Entire BMU - PWE enabled, Power On holding “0”+”DELETE”
Fanuc 10/11/12/15A/15B/15i
Parameter
Value
Comments
0000
0011
0020
0021
2201
5001
5002
5003
5110
5111
5112
5120
5121
5122
5130
5131
5132
TV Check
ISO
Input Device
Output Device
Drip Feed ?
****1010
******00
1
1
******00
1
2
3
4
2
10
4
2
10
4
2
10
0
0
1
1
* Baud rate - see table below for valid options.
* Baud rate - see table below for valid options.
* Baud rate - see table below for valid options.
9 = 2400
10 = 4800 * (recommended)
11 = 9600
0 = TV Check OFF (1= TV Check ON - Never enable TV Check)
0 = ISO (1=EIA Never use EIA)
Select Tape mode on the control - Press Cycle Start.
选择 TAPE(磁带)控制状态,按(循环启动)。
Then go to the computer, prepare the program and click 'Send'. When data begins to
flow the machine will start moving.
然后去电脑,准备程序,点击“发送”,当数据开始传送时,机床就会开始移动。
Note: Not all fanuc of this type can drip feed - must be enabled in the control.
Be sure to write down the NC (Service) parameters; 0, 3, 20-23, 5001-5122,9000 and 9100-9125/9131/9207
(depending on you control). Backup the Setting Screen Data, NC parameters, PC parameters(Timers,Counters,
Keep Relays, Data Tables and Position Module Information) and Tool Offsets.
PUNCHING:
Punch NC Parameters - EDIT mode, SERVICE screen, key PUNCH - ALL
Punch Pitch Error Compensation - EDIT mode, SERVICE screen, key PUNCH - PITCH
Punch All Programs - EDIT mode, PRGRM screen, key PUNCH - ALL
Tool Offsets - EDIT mode, OFFSET screen, key PUNCH - TOOL
READING:
Load NC Parameters - EDIT, E-Stop, PWE, PARAM screen, key READ - ALL
Load Pitch Error Compensation - EDIT, E-Stop, PWE, PARAM screen, key READ - PITCH
Load All Programs - EDIT mode, PGRM screen, Mem. Protect Key, key READ - ALL
CLEARING:
Delete Directory and Programs - EDIT mode, PRGRM screen, key DELETE - PROGRAM – ALL
Delete Entire BMU - PWE enabled, Power On holding “7” + “9”
Fanuc 16/18/20/21-ABC i / 0i
Parameter
Value
Comments
0000
0020
0100
0101
0102
0103
TV Check
Punch Code
I/O Channel
Tape Format
Drip Feed ?
Punching
0000 0010
0
0010 1000
1000 1001
0
10
0
1
0
0
9 = 2400,10 = 4800* (recommended),11 = 9600
0 = TV Check OFF (1= TV Check ON - Never enable TV Check)
1 = ISO (0=EIA Never use EIA)
Select TAPE mode on the control - Press Cycle Start.
选择 TAPE(磁带)控制状态,按(循环启动)。
Then go to the computer, prepare the program and click 'Send'. When data begins to
flow the machine will start moving.
然后去电脑,准备程序,点击“发送”,当数据开始传送时,机床就会开始移动。
NC Parameters - EDIT mode; SYSTEM PARAM OPTR > PUNCH EXEC
Pitch Error Compensation - EDIT mode; SYSTEM > PITCH OPTR > PUNCH EXEC
Macro Variables - EDIT mode; OFFSET > MACRO OPTR > PUNCH EXEC
All Programs - EDIT mode; PRGRM > O – 9 9 9 9 PUNCH EXEC
Offsets - EDIT mode; OFFSET (or WORK ) OPTR > PUNCH EXEC
Reading
NC Parameters EDIT mode, Protect key off; SYSTEM PARAM OPTR > READ EXEC
Pitch Error Compensation EDIT mode; SYSTEM > PITCH OPTR > READ EXEC
All Programs EDIT mode; #3202.4 & .0 = 0; PRGRM OPTR > READ EXEC
Offsets EDIT mode; OFFSET (or WORK ), OPTR > READ EXEC
Initializing
Erase Entire Memory Power On holding O & RESET with Write Protect Key off Typical