软件库
Fanuc
快速创建与Fanuc工业机器人通信的.NET应用程序。
功能的预览
SNPX
SNPX(也称为SRTP/Robotif)允许与机器人快速而结构化的数据通信。
它用于读取/编写寄存器,监视警报并检查机器人的状况。
// Read a registerPosition posReg1 = robot.Snpx.PositionRegisters.Read(1);float numReg5 = robot.Snpx.NumericRegisters.Read(5);string strReg10 = robot.Snpx.StringRegisters.Read(10);// Write a registerposReg1.CartesianPosition.X = 100;robot.Snpx.PositionRegisters.Write(1, posReg1);robot.Snpx.NumericRegisters.Write(2, 123.45f);robot.Snpx.StringRegisters.Write(3, "Hello, world!");// Read a variableint rmtMaster = robot.Snpx.IntegerSystemVariables.Read("$RMT_MASTER");string lastAlm = robot.Snpx.StringSystemVariables.Read("$ALM_IF.$LAST_ALM");Position cellFloor = robot.Snpx.PositionSystemVariables.Read("$CELL_FLOOR");// Write a variablerobot.Snpx.IntegerSystemVariables.Write("$RMT_MASTER", 1);robot.Snpx.StringSystemVariables.Write("$ALM_IF.$LAST_ALM", "No alarms");robot.Snpx.PositionSystemVariables.Write("$CELL_FLOOR", cellFloor);// Read and Write I/O (SDI,SDO,RDI,RDO,UI,UO,SI,SO,WI,WO,WSI,PMC_K,PMC_R)robot.Snpx.RDO.Write(1, true);ushort ai5 = robot.Snpx.AI.Read(5);// Read and Write analogs (AI,AO,GI,GO,PMC_D)robot.Snpx.AO.Write(2, 5);ushort ao3 = robot.Snpx.AO.Read(3);// Clear alarmsrobot.Snpx.ClearAlarms();
文件和解码
将FTP直接访问机器人的内存,以进行文件传输,读取变量和机器人状态的管理,所有这些都以解码为单位并准备在结构化.NET对象中使用。
IOState ioState = robot.Ftp.GetIOState();// Read a variablevar variableFiles = robot.Ftp.GetAllVariables();foreach (var variableFile in variableFiles)foreach (var variable in variableFile.Variables)Console.WriteLine($"{variable.Name} = {variable.Value}");// Read system variable $RMT_MASTERint remoteMode = robot.Ftp.KnownVariableFiles.GetSystemFile().RmtMaster;// Read safety statusSafetyStatus safetyStatus = robot.Ftp.GetSafetyStatus();Console.WriteLine($"Emergency Stop: {safetyStatus.ExternalEStop}");Console.WriteLine($"Teach Pendant Enabled: {safetyStatus.TPEnable}");// Get current position for each arm (Joints, World position of each tool, user frame positions)CurrentPosition currentPosition = robot.Ftp.GetCurrentPosition();// Upload a TP program to the controllerrobot.Ftp.DirectFileHandling.UploadFileToController(@"C:\Programs\MyPrg.tp", "md:/MyPrg.tp");// Download a file from the robotrobot.Ftp.DirectFileHandling.DownloadFileFromController("md:/Backup.va", @"C:\Backup\Backup.va");// Delete a file on the robotrobot.Ftp.DirectFileHandling.DeleteFile("md:/OldProgram.tp");
TELNET
Telnet KCL(键盘命令行)允许您发送命令以远程控制机器人 - 控制器上不需要其他选项。
// Reset alarmsrobot.Telnet.Reset();// Run a programrobot.Telnet.Run("MyProgram");robot.Telnet.Pause("MyProgram");robot.Telnet.Hold("MyProgram");robot.Telnet.Continue("MyProgram");robot.Telnet.Abort("MyProgram", force: true);// Set a variablerobot.Telnet.SetVariable("$RMT_MASTER", 1);// Set an output port (example: DOUT port 2 = 0)robot.Telnet.SetPort(KCLPorts.DOUT, 2, 0);// Simulate an input port (example: DIN port 3 = 1)robot.Telnet.Simulate(KCLPorts.DIN, 3, 1);robot.Telnet.Unsimulate(KCLPorts.DIN, 3);
离线工具
无需机器人的功能允许您处理标准文件格式(可变文件,错误列表,机器人状态等)。
// Parse a variable file and extract a hierarchical list of variablesGenericVariableFile vaFile = FanucFileReaders.VariableReader.ReadFile("C:/path/to/variable.va");foreach (var variable in vaFile.Variables)Console.WriteLine($"{variable.Name} = {variable.Value} [{variable.Type}]");// Edit and regenerate the variable filevaFile.GenerateVa("C:/path/to/variable_modified.va\"");// Parse several types of filesFanucFileReaders.ErrorListReader.ReadFile("C:/path/to/errall.ls");FanucFileReaders.IOStateReader.ReadFile("C:/path/to/iostate.dg");FanucFileReaders.SafetyStatusReader.ReadFile("C:/path/to/safety.dg");FanucFileReaders.CurrentPositionReader.ReadFile("C:/path/to/curpos.dg");
浏览文档
下载和测试

Windows应用程序示例
允许您使用简单的接口测试SDK的所有功能。 该示例用.NET 8中的“自我包含”和“单个文件”编译。该应用程序在不安装的情况下可移植。
通过下载,您接受使用的一般条件:
见条款和条件
见条款和条件
请求报价和订单
最受欢迎
完整的许可证
990 € (EUR) • $1090 (USD)
$
1090
为了一生$
654
大学(40% 折扣)完整和永久的SDK:无需重复订阅,许可证是您的永远您的,并且可以使用机器人品牌的所有编程语言。
仅在指定的邮政地址上持有许可证的组织才能使用。
不管开发机器的数量多少,所有团队开发人员都将共享相同的许可证。
使用SDK开发的任何应用程序都可以将无限数量的客户提供,而不管要连接的机器人数量如何。
该许可证是一种密码,可以在解锁功能的代码中调用。
没有其他软件要安装。
没有USB密钥。
包括1年的维护(获得更新)。
请联系我们,通过银行转账付款。一旦您购买了本SDK的许可证,您将通过电子邮件收到您的许可证号和发票。
源代码许可证
9900 € (EUR) • $11 900 (USD)
$
11 900
为了一生$
7140
大学(40% 折扣)用C#编写的库的完整内部代码
几年来开发了11万行代码的Visual Studio解决方案
在一般使用条款规定的范围内,你可以修改这个源代码并在你的应用程序中使用它。