登录
首页 » C# » C#上位机通过TCP通讯实现库卡(KUKA)机器人实时位置返回及运动控制.zip

C#上位机通过TCP通讯实现库卡(KUKA)机器人实时位置返回及运动控制.zip

于 2021-05-06 发布
0 480
下载积分: 1 下载次数: 2

代码说明:

本项目中的KUKA系统软件为8.3版本,PC端程序基于 .NET Framework 4.0;C#上位机通过TCP通讯与库卡机器人连接,可实时返回机器人各关节位置,返回位置可导出为.CSV文件;通过上位机控制机器人,实现各关节单步运动及当前位置到给定坐标的点运动两种形式;资源包括【KUKA端】、【PC端】及【附件】三部分。KUKA端包括config.dat、sps.sub 、motion16.src、motion16.dat、Xml_motion16.xml 五个必要文件;PC端包括C#上位机程序;附件包括《KUKA系统软件8.3》手册、《KUKA.Ethernet KRL 2.2》手册

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C# 套打Demo
    套打Demo 【核心代码】using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Printing;namespace Print_Demo{ public partial class Form1 : Form { public PrintDocument printDt = new PrintDocument(); //打印文档对象 Font printFont; //打印使用的字体 public Form1() { InitializeComponent(); } void printDt_PrintPage(object sender, PrintPageEventArgs e) { float pointX = 10; float pointY = 10; e.Graphics.DrawString("打印内容", new Font("宋体", 16F), Brushes.Black, pointX 60, pointY); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 26,pointX 300,pointY 26); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 35); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 56, pointX 300, pointY 56); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 65); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 86, pointX 300, pointY 86); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 95); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 116, pointX 300, pointY 116); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 125); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 146, pointX 300, pointY 146); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 155); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 176, pointX 300, pointY 176); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 185); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 206, pointX 300, pointY 206); e.Graphics.DrawString("检测结果", printFont, Brushes.Black, pointX, pointY 233); e.Graphics.DrawString("通过", new Font("宋体",22F,FontStyle.Bold), Brushes.Black, pointX 90, pointY 225); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 265, pointX 300, pointY 265); e.Graphics.DrawString("单位名称", printFont, Brushes.Black, pointX, pointY 275); } private void Form1_Load(object sender, EventArgs e) { printDt.PrintPage = new PrintPageEventHandler(printDt_PrintPage); printFont = new Font("宋体", 12F); } private void btnPrint_Click(object sender, EventArgs e) { //PrintDialog printDlg = new PrintDialog(); //printDlg.Document = printDt; //printDlg.AllowPrintToFile = true; //printDlg.AllowCurrentPage = true; //printDlg.AllowSelection = true; //printDlg.ShowDialog(); //printDlg.ShowDialog(); printDt.Print(); } private void btnLook_Click(object sender, EventArgs e) { PrintPreviewDialog printPreview = new PrintPreviewDialog(); printPreview.PrintPreviewControl.Document = printDt; printPreview.ShowDialog(this); } }}
    2021-05-06下载
    积分:1
  • sqlit3 插入数据库可用完整实例源码
    sqlit3 插入数据库可用完整实例源码
    2015-03-02下载
    积分:1
  • C# 实现 MD5加密解密算法
    using System.Security.Cryptography;using    System.IO;  using    System.Text; ///MD5加密  public string MD5Encrypt(string    pToEncrypt,  string    sKey)    {       DESCryptoServiceProvider    des  =  new    DESCryptoServiceProvider();     byte[]    inputByteArray  =    Encoding.Default.GetBytes(pToEncrypt);       des.Key  =    ASCIIEncoding.ASCII.GetBytes(sKey);       des.IV  =    ASCIIEncoding.ASCII.GetBytes(sKey);       MemoryStream    ms  =  new    MemoryStream();       CryptoStream    cs  =  new    CryptoStream(ms,    des.CreateEncryptor(),CryptoStreamMode.Write);       cs.Write(inputByteArray,  0,    inputByteArray.Length);       cs.FlushFinalBlock();       StringBuilder    ret  =  new    StringBuilder();     foreach(byte    b  in    ms.ToArray())       {        ret.AppendFormat("{0:X2}",    b);       }       ret.ToString();     return    ret.ToString();      }  ///MD5解密  public string MD5Decrypt(string    pToDecrypt,  string    sKey)    {      DESCryptoServiceProvider    des  =  new    DESCryptoServiceProvider();     byte[]    inputByteArray  =  new  byte[pToDecrypt.Length  /  2];     for(int    x  =  0;    x  <    pToDecrypt.Length  /  2;    x )       {      int    i  =    (Convert.ToInt32(pToDecrypt.Substring(x  *  2,  2),  16));        inputByteArray[x]  =    (byte)i;       }       des.Key  =    ASCIIEncoding.ASCII.GetBytes(sKey);       des.IV  =    ASCIIEncoding.ASCII.GetBytes(sKey);       MemoryStream    ms  =  new    MemoryStream();       CryptoStream    cs  =  new    CryptoStream(ms,    des.CreateDecryptor(),CryptoStreamMode.Write);       cs.Write(inputByteArray,  0,    inputByteArray.Length);       cs.FlushFinalBlock();       StringBuilder    ret  =  new    StringBuilder();                  return    System.Text.Encoding.Default.GetString(ms.ToArray());      }
    2013-11-13下载
    积分:1
  • C#开发的一套酒店管理系统(源码+数据库+ppt)
    酒店因日常管理特别繁琐,希望我方提供一个能集日常一些需要做的事为一体的酒店管理系统
    2021-05-06下载
    积分:1
  • C#全局钩子函数 例子源码下载
    C#全局钩子函数 例子源码下载
    2015-04-25下载
    积分:1
  • ASP.NET/C#教师评价系统--毕业设计
    学生评教:登录后系统自动出现学生班级和授课老师对应关系,可选择不同的授课教师进行评价和提建议。教师自评:教师根据评价指标体系进行自我评估和提出建议或意见。考评组:考评组可以选择不同的授课教师进行评价和提出教学建议。 管理员模块:自动进行评分数汇总、自动生成教师评价报表、锁定数据、增加用户和用户校验等
    2019-07-09下载
    积分:1
  • wpf+winform+touchable+touch 窗体应用完整源码 (含sqlserverce数据库)
    wpf+winform+touchable+touch 窗体应用完整源码 (含sqlserverce数据库)
    2014-01-25下载
    积分:1
  • 用两个摄像头实现,双目标定,双目测距,双目测深度,双目求深度程序v2(于opencv2.4.9,不需要扩展库)
    实现效果 http://v.youku.com/v_show/id_XMTU2Mzk0NjU3Ng==.html 这个代码是视频中代码的修改版 修改内容:屏蔽了用cvblobslib实现的功能,但是主要功能标定以及测距都可以实现,而且不用安装那反人类的cvblobslib扩展库。 实现环境: 1.windows10 2.opencv 2.4.9 3.visual studio 2013 4.两颗微软HD-3000摄像头 5.i7、集显、16g、sata ps:如果你下载了我之前的代码:http://download.csdn.net/detail/hysteric314/9514872, 那这个你就不需要下载了,只需要改一下之前的代码 方法: 注释掉s tdafx.h头文件里的 //#define CV_EVENT_LBUTTONDOWN 1 //#define CV_EVENT_RBUTTONDOWN 2 注释掉这两行,或删掉 再把stereomain.cpp里的CV_EVENT_MLBUTTONDOWN改成CV_EVENT_LBUTTONDOWN 代码有关的博客地址:http://blog.csdn.net/hysteric314/article/details/51357318
    2019-05-07下载
    积分:1
  • c# 超级按键模拟键盘按键 实例源码下载
    InitSuperKeys() 安装WINIO驱动,一般用于Form_Load事件中调用CloseSuperKeys() 卸载WINIO驱动,一般用于Form_Closed事件中调用KeyDown(Key) 模拟普通Key键按下。KeyDownEx(Key)模拟扩展Key键按下。KeyUp(Key)模拟普通Key键弹起。KeyUpEx(Key)模拟扩展Key键弹起。KeyPress(Key)模拟普通Key键按下并弹起一次。其中按下和弹起的默认时间间隔是200毫秒KeyPress(Key,Int32)模拟普通Key键按下并弹起一次。其中按下和弹起的时间间隔是第二个参数,单位为毫秒。KeyPressEx(Key)模拟扩展按键Key按下并弹起一次。其中按下和弹起的默认时间间隔是200毫秒,写入扩展按键信息间隔时间为100毫秒KeyPressEx(Key,Int32)模拟扩展按键Key按下并弹起一次。其中按下和弹起的时间间隔是第二个参数,单位为毫秒,写入扩展按键信息间隔时间为100毫秒。KeyPressEx(Key,Int32,Int32)模拟扩展按键Key按下并弹起一次。其中按下和弹起的时间间隔是第二个参数,单位为毫秒,写入扩展按键信息间隔时间是第三个参数,单位为毫秒。特别说明:1、 在执行模拟按键之前必须先执行InitSuperKeys()进行驱动的安装,在窗体关闭之后最好可以卸载驱动。2、 以上方法中的参数Key为我在WinIoSys类中定义的一个枚举,并非DONET系统的Key枚举。3、 普通Key是指A,B,C,Space这种标准键盘按键。而扩展按键是指“方向键”等特殊按键,系统在处理这种扩展键的时候会先有一个写扩展按键信息的时间。因此没有Ex结尾的方法都是用于标准普通按键的,有Ex结尾的方法是用于特殊的扩展按键的。其中他们都有重载,用户可以自己设置间隔时间。至于按键详细分类,请自己上Google搜索。4、 模拟一次按键事件后,一定要让程序Sleep一些毫秒,否则下一个按键是无法正常模拟出的。5、 貌似USB走的是总线,和端口操作无关,因此该方法理论上不支持USB接口的键盘。由于大多数鼠标都是USB接口的。6、 部分杀毒软件会提醒用户安装驱动,或者将WinIo.sys报为病毒,其实这是正常现象。
    2015-03-17下载
    积分:1
  • 窗体控件的振动及界面换肤 实例源码下载
    实现了文字抖动 以及换肤功能,系统设置>>换肤即可
    2015-01-08下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载