FANUC/Mitsubishi/Yasnac数控系统通讯参数设置Fanuc(日本:发那科)Fanuc i(M/T)P arameter 参数 V alue 数值C omments 注释0000 0000 00100020 00100 0010 10000101 1000 10010102 00103 11 9 = 2400,10 = 4800,11 = 9600* (recommended)01381000 0000T V Check 0 0 = TV Check OFF (1= TV Check ON - Never enable TV Check)P unch Code 1 1 = ISO (0=EIA Never use EIA)I/O Channel 0P WE 1D rip Feed ? S elect Auto (DNC) mode on the control - Press Cycle Start.选择自动(DNC)控制状态,按(循环启动)。
T hen go to the computer, prepare the program and click 'Send'. W hen data begins to flowthe machine will start moving.然后去电脑,准备程序,点击“发送”,当数据开始传送时,机床就会开始移动。
Fanuc 0(M/T)Parameter V alue C omments0002 1000 000100380100 00000552 11 9 = 2400,10 = 4800,11 = 9600* (recommended)T V On/Off 00 = TV Check OFF (1= TV Check ON - Never enable TV Check)I SO 11 = ISO (0=EIA Never use EIA)I/O 0P WE1T APEF0D rip Feed ? T o drip feed enable para G127.5使G127.5 DNC操作信号动作。
S elect Auto (DNC) mode on the control - Press Cycle Start.选择自动(DNC)控制状态,按(循环启动)。
T hen go to the computer, prepare the program and click 'Send'. When data begins to flowthe machine will start moving.然后去电脑,准备程序,点击“发送”,当数据开始传送时,机床就会开始移动。
Fanuc 3(M/T)Parameter V alue C omments00050000 0001006810 9 = 2400,10 = 4800* (recommended),11 = 9600T V On/Off 00 = TV Check OFF (1= TV Check ON - Never enable TV Check)I SO 11 = ISO (0=EIA Never use EIA)I/O 0Fanuc 6,9(M/T),0PP arameter V alue C omments340 2341 2311 0011 1010 B aud rate - see table below for valid options.0011 1000 = 24000011 1001 = 48000011 1010 = 9600 * (recommended)T V Check 00 = TV Check OFF (1= TV Check ON - Never enable TV Check)P unch Code 11 = ISO (0=EIA Never use EIA)I nput Unit 0I nput Device 1 1I nput Device 2 1F anuc 10,11,12,15 (M/T)P arameter V alue C omments0000****10100011******0000201002112201******005001 15002 25003 35110 45111 25112 10 * Baud rate - see table below for valid options.5120 45121 25122 10 * Baud rate - see table below for valid options.5130 45131 25132 10 * Baud rate - see table below for valid options.9 = 240010 = 4800 * (recommended)11 = 9600T V Check 00 = TV Check OFF (1= TV Check ON - Never enable TV Check)I SO 00 = ISO (1=EIA Never use EIA)I nput Device 1O utput Device 1D rip Feed ? S elect Tape mode on the control - Press Cycle Start.选择TAPE(磁带)控制状态,按(循环启动)。
T hen go to the computer, prepare the program and click 'Send'. When data begins to flowthe machine will start moving.然后去电脑,准备程序,点击“发送”,当数据开始传送时,机床就会开始移动。
N ote: Not all fanuc of this type can drip feed - must be enabled in the control.F anuc 16,18,21 (M/T)P arameter V alue C omments0000 0000 00100020 00100 0010 10000101 1000 10010102 00103 10 9 = 2400,10 = 4800* (recommended),11 = 9600T V Check 00 = TV Check OFF (1= TV Check ON - Never enable TV Check)P unch Code 11 = ISO (0=EIA Never use EIA)I/O Channel 0T ape Format 0D rip Feed ? S elect TAPE mode on the control - Press Cycle Start.选择TAPE(磁带)控制状态,按(循环启动)。
T hen go to the computer, prepare the program and click 'Send'. When data begins to flowthe machine will start moving.然后去电脑,准备程序,点击“发送”,当数据开始传送时,机床就会开始移动。
Mitsubishi(日本:三菱)Mitsubishi 300-500Parameter V alue C ommentsI/O Base parameters112130607 200I/O Devive parameters2 23 3405 16 37 311 312 1Mitsubish M50,60/60s,E60/68,M64/65/66Parameter V alue C ommentsI/O Base parameters9001 2I nput Port9002 1I nput Device9003 2O ut Port9004 0O ut device9005 2T ape ModeI/O Devive parameters9101 O ut/In9201 O ut/In9102 2B aud rate 48009202 29103 11 Stop Bit9203 19104 1U se Parity = Yes9204 19105 1P arity = Even9205 19106 27 Databits9206 29108 3U se xOnx/Off (DC1 and DC3) 9208 39109 19209 1Yasnac(日本:安川)Yasnac LX MXP arameter V alue C omments6000 1xxx xxxx x = don't change6001 1xxx xxxx (Maybe only required on MX-2)6003 xxx1 xxx16021 x111 xx1x (Maybe only required on LX/MX-1)6022 xxxx xx116026 / 6028 0001 1000 B aud rate - 24007 Data bits,Parity Even,2 Stop bits传输故障的解决1. 检查PC和CNC 的端口参数设置是否一致,波特率速度设置不宜太快(太快可能会丢失数据),也不宜太慢(速度慢当然效率就低了) ;2. 连接电缆是否有断线,接触不良,焊接是否正确;3. 通讯软件选择不对,有一些系统必须用原厂的通讯软件;4. 传输的文件格式不正确;5. 有较大干扰,选择优质屏蔽电缆做传输线;6. 如果上述都正确,那就是端口损坏。
另外,曾经使用过数据传送,参数设置也正确的情况下,同样也会发生传送故障,这时把PC 的FIFO缓冲区取消或者使“接收缓冲区”与“传输缓冲区”为最低即可。
置方法如下:打开PC“控制面板”—“系统”—“硬件”—“设备管理器”—“端口”—“通讯端口”,右键,“属性”—“端口设置”—“高级”—“使用FIFO缓存”,使“接收缓冲区”与“传输缓冲区”为最低即可,或者取消“使用FIFO缓存”。
Fanuc 16/18/20/21-ABC i / 0i RS232传输操作PunchingNC Parameters - EDIT mode; SYSTEM PARAM OPTR > PUNCH EXECPitch Error Compensation - EDIT mode; SYSTEM > PITCH OPTR > PUNCH EXEC Macro Variables - EDIT mode; OFFSET > MACRO OPTR > PUNCH EXECAll Programs - EDIT mode; PRGRM > O – 9 9 9 9 PUNCH EXECOffsets - EDIT mode; OFFSET (or WORK ) OPTR > PUNCH EXECReadingNC Parameters EDIT mode, Protect key off; SYSTEM PARAM OPTR > READ EXEC Pitch Error Compensation EDIT mode; SYSTEM > PITCH OPTR > READ EXECAll Programs EDIT mode; #3202.4 & .0 = 0; PRGRM OPTR > READ EXECOffsets EDIT mode; OFFSET (or WORK ), OPTR > READ EXECFanuc 0 M / T RS232传输操作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).Punching ProcedurePunch NC Parameters - EDIT mode, PARAM screen, EOB + OUTPUT/STARTPunch PC Parameters - EDIT mode, DGNOS screen, OUTPUT/STARTPunch All Programs - EDIT mode, PRGRM screen, O-9999, OUTPUT/STARTTool Offsets - EDIT mode, OFFSET screen, OUTPUT/STARTReading ProcedureLoad NC Parameters - EDIT mode, PARAM screen, EOB + INPUTLoad PC Parameters - EDIT mode, DGNOS screen, INPUTLoad All Programs - EDIT mode, PRGRM screen, INPUTLoad Tool Offsets - EDIT mode, OFSET screen, INPUTClearing ProcedureDelete All memory - Power On holding RESET + DELETE keys with PWE=1Delete Parameters - Power On holding RESET key with PWE = 1Delete Programs - Power On holding DELETE key with PWE = 1Fanuc 0 DNC Drip-Feeding NoteMost 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 10/11/12/15A/15B/15i RS232传输操作PUNCHING:Punch NC Parameters - EDIT mode, SERVICE screen, key PUNCH - ALLPunch Pitch Error Compensation - EDIT mode, SERVICE screen, key PUNCH - PITCHPunch All Programs - EDIT mode, PRGRM screen, key PUNCH - ALLTool Offsets - EDIT mode, OFFSET screen, key PUNCH - TOOLREADING:Load NC Parameters - EDIT, E-Stop, PWE, PARAM screen, key READ - ALLLoad 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”PUNCHING:Punch NC Parameters - EDIT mode, PARAM screen, key “P-9999”, PunchPunch Pitch Error Compensation - EDIT mode, PARAM screen, key “P-9998”, PunchPunch All Programs - EDIT mode, PGRM screen, key “O-9999”, PunchTool Offsets - EDIT mode, OFSET screen, key “P-9999”, PunchPunch PC ParametersCheck 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”, ReadLoad Pitch Error Compensation - EDIT, E-Stop, PWE, PARAM screen, key “P-9998”, ReadLoad All Programs - EDIT mode, PGRM screen, Mem. Protect Key, key “O-9999”, ReadLoad PC ParametersCLEARING:Delete Directory and Programs - Power On holding “RESET” + “DELETE”Delete Entire BMU - PWE enabled, Power On holding “0”+”DELETE”PUNCHINGPunch NC Parameters - EDIT mode, PARAMETER screen, P-9999, OUTPUT/STARTPitch Error Compensation - EDIT mode, PROGRAM screen, P-9998, OUTPUT/STARTPunch Programs - EDIT mode, PROGRAM screen, O-9999, OUTPUT/STARTPunch Tool Offsets - EDIT mode, OFFSET screen, P-9999, OUTPUT/STARTPunch Macro Variables - EDIT mode, Menu screen, P-9999, OUTPUT/STARTREADINGLoad NC Parameters - Param enable, EDIT mode, PARAMETER screen, P-9999, INPUTPitch Error Compensation - EDIT mode, PROGRAM screen, P-9998, INPUTLoad Programs - EDIT mode, PROGRAM screen, O-9999, INPUTLoad Tool Offsets - EDIT mode, OFFSET screen, P-9999, INPUTLoad Macro Variables - EDIT mode, Macro screen, P-9999, INPUTRECORD THE SETTING DATAPress PARAMETERS key to display the Setting Data Screen. You can record all of the SettingN600~619,N1001~1040,N2001~2010,N3000~3036.OPERATION IN DNC MODEThis 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 DNCmode 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 RS232电缆制作及设置。