没有合适的资源?快使用搜索试试~ 我知道了~
C#与fanuc机器人连接接口程序
需积分: 5 12 下载量 125 浏览量
2022-04-06
15:45:32
上传
评论 2
收藏 592KB PDF 举报
温馨提示
试读
35页
C#与fanuc机器人连接接口程序zi
资源详情
资源评论
资源推荐
.NET Framework 1.Overview
- 1 -
1 Overview
FANUC Robot Interface is Windows software module to read/write robot data with robot over
Ethernet.
Read:
I/O, current position, numeric
registers, position registers, string
registers, system variables, KAREL
variables, program task status, and
alarms
Write:
I/O, numeric registers, position
registers, string registers, system
variables, and KAREL variables
(*) FANUC Robot Interface does not support file transferring. Please use FTP or HTTP
for it.
1.Overview .NET Framework
- 2 -
FANUC Robot Interface is a .Net Framework module. (RobotInterfaceDotNet.dll, bridgeRobotIF.dll)
This document describes software interface of it.
FRRJIF.Core or bridgeCore object provide methods to read/write robot I/O. It is possible to read/write
area of integrated PMC.
For accessing current position, position registers, string registers, comments, system variables, KAREL
variables, program status and alarm history, it is necessary to add needed data to DataTable object
(FRRJIF.Core.DataTable or bridgeDataTable) at first. FRRJIF reads all of DataTable object at a time. It is
called ‘Refresh’. Read values are kept until next refresh.
(*) DataTable for reducing read data by accessing data at a time.
A robot cannot have more than a limited number of the concurrent connections. Attempting to connect
with multiple computers or applications beyond the maximum number of the concurrent connections will
fail.
(*) R-30iB, R-30iB Mate, R-30iB Plus, R-30iB Mate Plus can have up to 4 connections.
You need to purchase one FANUC Robot Interface (A08B-9410-J575) to one development PC. For
additional PCs that are not for development, you do not need to purchase additional FANUC Robot
Interface. License registration and USB protector is not necessary from V3.0.0.
FANUC Robot Interface does not have file transfer functions. You can use FTP to transfer files
between PC and robot.
bridgeRobotIF.dll is a wrapper class for Visual C++.
.NET Framework 1.Overview
- 3 -
- Basic Flow
<Data Read> <Data Write>
(*) When communication is terminated, communication error or time out occurs, please remove all robot
interface objects. It is necessary to create objects in order to start communication again.
(*) The data reading is a kind of polling procedure for monitoring. It is not possible to get all data
transition since robot interface applications can read data periodically.
Start
End
Create Core Object
Set DataTable
Connect
DataTable.Refresh
Read Data
Read I/O
Start
End
Create Core Object
Set DataTable
Connect
Write Data
Write I/O
Remove Objects
Disconnect
Continue
Continue
Disconnect
Exit or Error
Exit or Error
Remove Objects
2.Environment .NET Framework
- 4 -
2 Environment
OS:
Windows 7(32bit), Windows 7(64bit)
Windows 8.1(32bit), Windows 8.1(64bit)
Windows 10(32bit), Windows 10(64bit)
Development language:
Microsoft Visual Basic 2013, 2015, 2017
Microsoft Visual C++ 2013, 2015, 2017
Microsoft Visual C# 2013, 2015, 2017
Microsoft .NET Framework:
.NET Framework 4.0 or later
Robot Controllers:
R-J3iB 7D80/45 or later
R-J3iB 7D81/09 or later
R-J3iB 7D82/01 or later
R-J3iB Mate 7D91/01 or later
R-30iA, R-30iA Mate All Versions (*1)
R-30iB, R-30iB Mate All Versions (*1)
R-30iB Plus, R-30iB Mate Plus, R-30iB Compact Plus All Versions (*1)
ROBOGUIDE: (*2)
ROBOGUIDE V7 Rev.F(7N06) or later
Virtual Robot R-30iA 7DA5/15 or later
Virtual Robot R-30iA 7DA7/13 or later
Virtual Robot R-30iB All Versions
Virtual Robot R-30iB Plus All Versions
PC must communicate with robot over Ethernet. (Noise must not stop the communication. Correct
security settings are needed. )
(*1) If R650 FRA Params is selected, R553 "HMI Device (SNPX)" is needed. If R651 FRL Params is
selected, no option is needed.
(*2) Please refer "6. Connect To ROBOGUIDE".
(*) Please refer "Ethernet Function Operator's Manual" of robot controller.
(*) Windows, Visual Basic, Visual C++, Visual C# is a registered trademark of Microsoft Cooperation in
the United States and other countries.
.NET Framework 3.Limitations
- 5 -
3 Limitations
When you update FANUC Robot Interface, you may need to re-compile your application that uses
FANUC Robot Interface.
Robot interface communication response time is not guaranteed. Communication environment, robot
status and PC status may affect response time. Enough long time out value (FRRJIF.Core.TimeOutValue)
is recommended.
If noise affects the communication, robot interface may not work. For example, robot interface might
not work correctly during robot working. You need to shield Ethernet cables or set apart cables from
noise source. (Please refer Appendix "Network design and performance", "Cable connection" of Ethernet
function operator's manual.)
When communication error or time out occur, please disconnect the connection and delete all FRRJIF
objects. If you need to connect again, please re-create objects.
When amount of data or the number of send data is large, it may be necessary long time. If you need
fast communication, please reduce amount of data or the number of send data.
Reading nonexistent data (for example, reading nonexistent system variable) does not return error.
Read data value is indefinite. Writing nonexistent data does not return error. Such writings are ignored.
剩余34页未读,继续阅读
suoshuisibing
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0