Universal Robots Forum

URSim robot USB ports

Hello fellow Developers,

Does anyone know of a way to simulate plugging a USB stick into either the teach pendant or cabinet USB port? We are investigating using an external USB as part of some URCaps and being able to test fucntionality from URSim would be really helpful, though this obviously requires a vitual robot to have access to a USB port.

I can give the virtual machine access to my computers USB ports, it is giving the robot access to them that I am struggling with.

If it is not possible to give URSim access to a physical USB stick, is there a folder located somewhere within the URSim directory which can mimic this

All suggestions welcome, thanks.
Sam.

2 Likes

Hi Sam,

Is it a mass storage device?

In that case, is it the mount location you are asking for or is it how you make that available when browsing for a program/installation file?

2 Likes

Hi Ebbe and Sam,
I am trying something very similar and have following specification:

  • G code is generated externally and saved on mass storage device (usb flash drive)
  • loading and executing on robot works fine

So far so good, but:
Testing the G code in UR Sim fails, because flash drive is not found by PolyScope on virtual Linux environment

  • flash drive is found and can be opened in virtual Linux environment
  • PolyScope does not recognize that flash drive is available

Any suggestions or workarounds are very appreciated!

P.S. this is my first post in the forum, so I did an intensive search before, but was not able to find a solution in the guidelines or forum

Hi Daniel,
At this link ( https://www.universal-robots.com/articles/ur-articles/remote-tcp-toolpath-urcap-faq/ ), second-last FAQ, you will find how to use gcode in URSIM.
I suggest you to look always for solutions also in the UR articles pages on universal-robots.com since they are very well made and cover a lot of different topics.
Best regards,
Pietro C.

4 Likes

Hi Pietro,
thank you so much for the fast reply!
I am sorry, that I was not able to find this article earlier.
Best regards
Daniel