Comments for Zacobria Universal-Robots community - a help forum with hints tips and how to use universal robot CB2

Zacobria Robot community forum Universal-Robots

04/12/2018 08:35 PM
Comment on UR Script: Commands via Socket connection by zacopressadmin
Hi Alon Thanks for the questions. 1. I am not sure if I understand you question. What kind of commands are there in the .script file ? And when you say ".....… if we transfer the script by FTP and run it from the controller, it works perfect..." - it looks like you got it working already ? 2. I have not seen a serial communication used on the 2 I/Os on the tool head, but maybe you can make one by using one I/O to clock the other I/O with a stream of 1 and 0, but maybe the signal exchange will take too long time. I have not used Adrinos - I use Raspberry PIs and they have WiFi - so maybe it can be considered to transfer data from one Raspberry PI on the tool - to another Raspberry PI (or other kind of controller that has WiFi) which is connected to the robot and exchange data that way. Author: <a href="https://plus.google.com/u/0/116832821661215606670?rel=author" rel="nofollow">By Zacobria Lars Skovsgaard</a> Accredited Universal Robots support Centre and Forum. <br /> <br /> <a href="http://www.zacobria.com/universal-robots-knowledge-base-tech-support-forum-hints-tips/" rel="nofollow">Also check out the CB3 forum</a> <div class="fb-like" data-href="http://www.zacobria.com" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false" data-font="arial" data-action="recommend"></div> <div class="fb-share-button" data-href="https://zacobria.com" data-layout="button_count"></div> <br /> <script type="IN/Share" data-counter="right" data-onsuccess="LinkedInShare"></script> <div class="g-follow" data-annotation="bubble" data-height="20" data-href="https://plus.google.com/116832821661215606670" data-rel="author"></div> <div class="g-plusone" data-size="medium" data-annotation="bubble" data-width="300"></div> <div class="g-plus" data-action="share" data-annotation="bubble"></div> <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.zacobria.com" data-via="zacobria" rel="nofollow">Tweet</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <a href="https://twitter.com/zacobria" class="twitter-follow-button" data-show-count="true" rel="nofollow">Follow @zacobria</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

04/12/2018 08:17 PM
Comment on UR Script: Commands via Socket connection by alonper
Hi Thank you for that information, I am working on the UR3 with CB3.0 1. Is there any way to run a .script file that sits on the /program dir under the UR3 controller? I mean to trig a script that already sits on the controller, but do this from the computer via the socket connection. We are trying to run a script file from ROBODK but the robot works very slowly - it seems that there's a stop between every move... if we transfer the script by FTP and run it from the controller, it works perfect. so thats why I ask the first question 2. Thats question is not about the socket communication, that something genetal. We have external controller (an Arduino) that sits on the End effector tools, the controller got to communicate with the UR3 controller, the CB3.0 via the tool I\O, Do you have any example of using this I\Os ? our tool have 8 different modes so two Digital outputs are not enough, but maybe there's a way to create Serial channel between those pins to the tool's controller? Thanks in advance, Alon

04/10/2018 08:20 PM
Comment on MODBUS I/O nodes by zacopressadmin
Hello Jonatan The MODBUS is running on the robot port 502. More informations in this article http://www.zacobria.com/universal-robots-knowledge-base-tech-support-forum-hints-tips/knowledge-base/modbus-internal-registers-read-and-write/ Author: <a href="https://plus.google.com/u/0/116832821661215606670?rel=author" rel="nofollow">By Zacobria Lars Skovsgaard</a> Accredited Universal Robots support Centre and Forum. <br /> <br /> <a href="http://www.zacobria.com/universal-robots-knowledge-base-tech-support-forum-hints-tips/" rel="nofollow">Also check out the CB3 forum</a> <div class="fb-like" data-href="http://www.zacobria.com" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false" data-font="arial" data-action="recommend"></div> <div class="fb-share-button" data-href="https://zacobria.com" data-layout="button_count"></div> <br /> <script type="IN/Share" data-counter="right" data-onsuccess="LinkedInShare"></script> <div class="g-follow" data-annotation="bubble" data-height="20" data-href="https://plus.google.com/116832821661215606670" data-rel="author"></div> <div class="g-plusone" data-size="medium" data-annotation="bubble" data-width="300"></div> <div class="g-plus" data-action="share" data-annotation="bubble"></div> <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.zacobria.com" data-via="zacobria" rel="nofollow">Tweet</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <a href="https://twitter.com/zacobria" class="twitter-follow-button" data-show-count="true" rel="nofollow">Follow @zacobria</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

04/10/2018 05:51 PM
Comment on MODBUS I/O nodes by Jonatan
Hello Zacobria, thank you about information. They are using the same protocol. How can I know the port of the robot? Maybe they are not using the same port and this is the error.

04/10/2018 06:31 AM
Comment on UR Script: Commands via Socket connection by zacopressadmin
Hi Xuchao Thanks for the question. The commands set_digital_out(2,True) and set_digital_out(7,True) - are just examples for how to set outputs. They are not necessary if the aim is just to move the robot. These commands is a way to change the outputs on the robot. Author: <a href="https://plus.google.com/u/0/116832821661215606670?rel=author" rel="nofollow">By Zacobria Lars Skovsgaard</a> Accredited Universal Robots support Centre and Forum. <br /> <br /> <a href="http://www.zacobria.com/universal-robots-knowledge-base-tech-support-forum-hints-tips/" rel="nofollow">Also check out the CB3 forum</a> <div class="fb-like" data-href="http://www.zacobria.com" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false" data-font="arial" data-action="recommend"></div> <div class="fb-share-button" data-href="https://zacobria.com" data-layout="button_count"></div> <br /> <script type="IN/Share" data-counter="right" data-onsuccess="LinkedInShare"></script> <div class="g-follow" data-annotation="bubble" data-height="20" data-href="https://plus.google.com/116832821661215606670" data-rel="author"></div> <div class="g-plusone" data-size="medium" data-annotation="bubble" data-width="300"></div> <div class="g-plus" data-action="share" data-annotation="bubble"></div> <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.zacobria.com" data-via="zacobria" rel="nofollow">Tweet</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <a href="https://twitter.com/zacobria" class="twitter-follow-button" data-show-count="true" rel="nofollow">Follow @zacobria</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

04/10/2018 05:10 AM
Comment on UR Script: Commands via Socket connection by Xuchao
Thanks for the detailed and hands-on instruction! Now my ur5 is able to talk to a host and I can control the ur5 by some Python scripts. However, could you please explain what set_digital_out(2,True) and set_digital_out(7,True) really mean? I did search around in the ur5 user manual but didn't get a good understanding. It seems to me I need to set DO 2 and 7 as high just before sending moveJ commend to the robot, and set those two as low whenever I'm going to close the socket connection. Looking forward to your reply. Thank you!

04/08/2018 01:46 PM
Comment on Contact by zacopressadmin
Hello rohan Thanks for the question. Maybe consider the power off command on the dash board server. More informations at this link https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/dashboard-server-port-29999-15690/ Author: <a href="https://plus.google.com/u/0/116832821661215606670?rel=author" rel="nofollow">By Zacobria Lars Skovsgaard</a> Accredited Universal Robots support Centre and Forum. <br /> <br /> <a href="http://www.zacobria.com/universal-robots-knowledge-base-tech-support-forum-hints-tips/" rel="nofollow">Also check out the CB3 forum</a> <div class="fb-like" data-href="http://www.zacobria.com" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false" data-font="arial" data-action="recommend"></div> <div class="fb-share-button" data-href="https://zacobria.com" data-layout="button_count"></div> <br /> <script type="IN/Share" data-counter="right" data-onsuccess="LinkedInShare"></script> <div class="g-follow" data-annotation="bubble" data-height="20" data-href="https://plus.google.com/116832821661215606670" data-rel="author"></div> <div class="g-plusone" data-size="medium" data-annotation="bubble" data-width="300"></div> <div class="g-plus" data-action="share" data-annotation="bubble"></div> <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.zacobria.com" data-via="zacobria" rel="nofollow">Tweet</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <a href="https://twitter.com/zacobria" class="twitter-follow-button" data-show-count="true" rel="nofollow">Follow @zacobria</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

04/08/2018 01:43 PM
Comment on MODBUS I/O nodes by zacopressadmin
Hi Jonatan Thanks for the question. Maybe the Anybus node does not follow the correct protocol - maybe consider to use the same nodes as in the example. Author: <a href="https://plus.google.com/u/0/116832821661215606670?rel=author" rel="nofollow">By Zacobria Lars Skovsgaard</a> Accredited Universal Robots support Centre and Forum. <br /> <br /> <a href="http://www.zacobria.com/universal-robots-knowledge-base-tech-support-forum-hints-tips/" rel="nofollow">Also check out the CB3 forum</a> <div class="fb-like" data-href="http://www.zacobria.com" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false" data-font="arial" data-action="recommend"></div> <div class="fb-share-button" data-href="https://zacobria.com" data-layout="button_count"></div> <br /> <script type="IN/Share" data-counter="right" data-onsuccess="LinkedInShare"></script> <div class="g-follow" data-annotation="bubble" data-height="20" data-href="https://plus.google.com/116832821661215606670" data-rel="author"></div> <div class="g-plusone" data-size="medium" data-annotation="bubble" data-width="300"></div> <div class="g-plus" data-action="share" data-annotation="bubble"></div> <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.zacobria.com" data-via="zacobria" rel="nofollow">Tweet</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <a href="https://twitter.com/zacobria" class="twitter-follow-button" data-show-count="true" rel="nofollow">Follow @zacobria</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

04/05/2018 11:09 PM
Comment on Contact by rohan
Hello Sir, I am working on UR robot project. I am using python to control the robot remotely. Is there any possible way that I can power OFF the robot using python script.

04/05/2018 03:35 PM
Comment on MODBUS I/O nodes by Jonatan
Hello, I have this problem with the Modbus: I connected the UR10 wich works with TCP with an Anybus which transform the RTU to TCP, so I put the IP from the Anybus to the Robot but when I put something like Digital Output or Digital Input the light turns yellow with the letters EB inside the light. I read before that the yellow light appears because he frequency is wrong but I put all the frequencies tat allows me but I have the same problem. Why this happens? Thank you.