Discussion

Left ArrowBack to discussions page
agiakosagiakos Posts: 15 Apprentice
edited January 2018 in Integration
Hello everyone,

I am new to the community and to programming in general. I have a UR10 robot and the FTS300 in combination with 2F gripper of Robotiq.
I would like to run a test and connect the robot with the Labview to extract some data.
I want to get a high signal when I am touching the piece I am testing and also to get the time and the distance while I am doing the test.

I know that is really general informations,ut if you can explain to me how I can make the connection,I would be grateful.

Comments

  • Nicholas_FrancoeurNicholas_Francoeur Posts: 91Wrist Camera URCap 1.3.0, Vacuum Beta tester Handy
    Hi @agiakos and welcome to this community!

    How are you setup to receive signals with Labview? What URCap version are you using with your gripper and FT Sensor?

    Can you explain more what time and distance you are looking for in your application?
  • agiakosagiakos Posts: 15 Apprentice
    I am using the latest URcap version, I am planning to drive the robot arm with MoveL(steady speed) and push a joystick to find the neutral point. So my signals will be the position of the robot arm(How much I moved the joystick from the original position to the neutral position) and the output of a potentiometer that gives the neutral point. I just want to know 1)that I am connecting to labview trough the Ethernet cable and there are any settings I need to know? and 2) Through the digital outputs of the control box can I take the robot positions as output and feed it to the labview? 
  • Hi @agiakos

    1. Yes, you can communicate with Labview to the Robot controller and FT Sensor  using Ethernet to retrieve or send datas. Information can be find here for the UR: https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/ethernet-socket-communication-via-urscript-15678/

    2. To communicate with the FT sensor force via Ethernet you can use the Modbus RTU Serial communication or can access the Data stream on TCP port 63351 via the UR Controller: https://robotiq.com/support/ft-300-force-torque-sensor/downloads-instruction-manual (Ref. Section 4.5: Serial Communication)

    3. You can import the TCP position from the Controller and force feedback to create a LabView Program. Look at to this post presenting how to send/collect datas  to a device connected in TCP/IP in Labview: https://forums.ni.com/t5/LabVIEW/TCP-IP-connection-between-PC-and-UR5-Universal-Robot/td-p/3153351

    Don't hesitate if you have any questions or concerns,


    Nicolas Bouchard, B. Eng., M. Sc.
    Know How Team Leader
    [email protected]
    1-418-380-2788 ext. 240

  • mariem_werfelli22mariem_werfelli22 Posts: 13 Apprentice
    i have the same problem i'm trying to communicate with a UR10 Robot using labview i still don't recieve strings from my robot can any one help me ? 
  • nicolas_bouchardnicolas_bouchard Posts: 23 Handy
    Hi Mariem,

    All Labview examples we have seen are done with TCP/IP protocol. Maybe you could try to find help locally on TCP/IP protocol? You can also look at LabView Forum where you can find more helps on the software and different ways to test your communication.

    Good Luck with your project!

    Best regards,
    Nicolas Bouchard, B. Eng., M. Sc.
    Know How Team Leader
    [email protected]
    1-418-380-2788 ext. 240

  • mariem_werfelli22mariem_werfelli22 Posts: 13 Apprentice
    Hi Nicolas,
    thank you for the help this is my attached labview code i did it with TCP/IP protocol.  the host will be the labview program running on a PC, but it could as well have been a Vision camera replying with the data cordinates for the object to send it to the UR10 so my first problem is the communication. 
  • nicolas_bouchardnicolas_bouchard Posts: 23 Handy
    Hi Mariem,

    We unfortunately cannot help you with this. We do not have Labview License  and don't program with it. We primarily focus our developing and  integration on Cobots and their programming language.

    Good luck,
    Nicolas
    Nicolas Bouchard, B. Eng., M. Sc.
    Know How Team Leader
    [email protected]
    1-418-380-2788 ext. 240

  • mariem_werfelli22mariem_werfelli22 Posts: 13 Apprentice
    edited March 28
    Hi nicolas,
    thank you very much but i think that you can help me to know how to communicate with my computer i mean if there's a code to use tcp/ip communication feature of the Universal Robots PolyScope user interface. you check my code also(my code is in frensh)


  • David_GouffeDavid_Gouffe Posts: 17Vacuum Beta tester Apprentice
    Hi, 


    You can test your UR program using Socket Test V3.0 .

    This UR demo page explains it well.
    https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/ethernet-socket-communication-via-urscript-15678/

    Let me know it there is still a gap to cover between your Labview program and the UR demo code.

    Regards,

    Teach, locate & pick faster with the new Robotiq Wrist Camera. Have a look!

    David Gouffé

    Integration Coach

    Coach en intégration


    1-888-ROBOTIQ #275 (762-6847)

    1-418-380-2788 #275 (Outside US and Canada)

    1-418-655-9221 (Cell)

    Follow us on

    facbook-iconepng linkedin-iconepng twitter-iconepng google-iconepng Youtube-iconepng

    Visit us:  
  • mariem_werfelli22mariem_werfelli22 Posts: 13 Apprentice
    hi David, 
    thank you the client wich is my UR is able to communicate with my server 
  • David_GouffeDavid_Gouffe Posts: 17Vacuum Beta tester Apprentice
    You are welcome. 

    Enjoy socket communication.

    Teach, locate & pick faster with the new Robotiq Wrist Camera. Have a look!

    David Gouffé

    Integration Coach

    Coach en intégration


    1-888-ROBOTIQ #275 (762-6847)

    1-418-380-2788 #275 (Outside US and Canada)

    1-418-655-9221 (Cell)

    Follow us on

    facbook-iconepng linkedin-iconepng twitter-iconepng google-iconepng Youtube-iconepng

    Visit us:    
  • mariem_werfelli22mariem_werfelli22 Posts: 13 Apprentice
    hi!
    I’m trying to establish a data sending via a tcp / ip connection between a robot and a computer But what I notice is that the opening of the connection and the establishment of the first data exchange takes a relatively long time long (~ 10s). If you have done such an exchange, can you give me an idea about how long it takes to open the connection in your case and if there’s a command or a URscript make this communication faster?
  • David_GouffeDavid_Gouffe Posts: 17Vacuum Beta tester Apprentice

    Hi, 

    We never had such a long delay. We even close the connection when done and re-establish a new one when needed. 

    Expect under 1 s connection time. Network is usually quite responsive. 

    The downside of it is that you connect to a single slightly limited PC managing the program, movements, I/Os and everything else running on the robot. If you overload this PC with instructions, you may end with slow responsiveness from the software of the robot. 

    You can also expect to be partly sync with the control loop of the robot. Faster on E-Series and slightly slower on CB. 


    Again: 

    This UR demo page explains TCP/IP socket communication well.

    https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/ethernet-socket-communication-via-urscript-15678/


    As our products use quite little TPC/IP communication, this is about as much as I can support you with this. 


    Regards, 

    David Gouffé
    Integration Coach
    Coach en intégration

    Robotiq is now into packaging, palletizing and sanding applications. Learn more about our new Vacuum Grippers and the Robotiq Sanding Kit.

    1-888-ROBOTIQ #275 (762-6847)

    1-418-380-2788 #275 (Outside US and Canada)

    1-418-655-9221 (Cell)

    Follow us on

    facbook-iconepng linkedin-iconepng twitter-iconepng google-iconepng Youtube-iconepng

    Visit us:  

Sign In or Register to comment.
Left ArrowBack to discussions page