黄杰, 2013-12-24
root[a]linuxsand.info
Via http://www.robot-forum.com/robotforum/fanuc-robot-forum/how-to-connect-pc-and-r-j3ib/ 8 楼。
A single backup can be performed "manually" without need for a FTP server by using built-in windows functionality. First you will need to follow the internet option manual to setup the robots IP Address and FTP Server:
IP Address:
Menu : (6) Setup : Host Comm
(F4) Show : (1) Protocols
Select TCP/IP <enter>
Robot Name: robot name (trivial)
Robot IP Addr: ###.###.###.### (some ip address unique to robot preferably with same first three octet as PC)
Router IP Addr: ###.###.###.### (ip address of router if used)
Subnet Mask: 255.255.255.0
FTP Server:
Menu : (6) Setup : Host Comm
(F4) Show : (3) Servers
Select first available
(F3) Detail
(2) Protocol Name: FTP
(7) State: Start (set this to start for power up condition)
(F2) Action : Define <Enter>
(F2) Action : Start <Enter>
Cycle Power for changes to take effect
To copy all files from the controller to a PC you can do the following:
From command prompt on PC:
FTP ###.###.###.### <Enter (use ip address of robot)
<Enter> (at prompt for user name)
(C: prompt should change to FTP: prompt)
LCD \(any local file path. this is were files will be put on pc) <Enter>
PROMPT <Enter> (turns off confirmation for each file)
MGET . <Enter> (ftp command to get all files)
(files should be moving now, takes about 4 min)
DISCONNECT <Enter> (disconnects PC from Robot)
QUIT <Enter> (Closes FTP session at PC)
那么,快速备份所有 TP 程序,只需:
lcd
切换到本地某目录prompt
来关闭交互提示mget *.tp
disconnect
quit