Controlling UR Tool I/O- Printable Version +- RoboDK Forum (//m.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//m.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: Controlling UR Tool I/O (/Thread-Controlling-UR-Tool-I-O) |
Controlling UR Tool I/O-trevorb-08-28-2020 Hi all, I have a UR10e that I have connected to RoboDK and can successfully run programs off of. I am currently exploring the ability to use RoboDK's GUI to do online programming and am running into an issue when controlling the I/Os. If I want to set the I/Os on the controller, the GUI I/O button works fine (Digital Outs Named IO_0 thru IO_7 in RoboDK map correctly to the URs DO0 thru DO7 for example). However, to control the Tool I/O I am running into issues where I am not able to trigger them through this same command. Looking into the polyscope commands, I discovered that "set_standard_digital_out" controls the controllers digital outputs while "set_tool_digital_out" set the tools digital outputs. My first thought was to just inject this code into the tree through the "insert code" instruction, but I found out through this thread that this is not a supported feature. //m.sinclairbody.com/forum/Thread-Insert-instruction-code-not-sent-in-Run-On-Robot-mode?page=2&highlight=Universal+Robot 我忽略一些东西,喜欢也许只是收回吗g the IO by the wrong name? (UR documentation indicates it is called TO0, TO1, but I have also tried IO_8) Or is there no way to control the UR Tool I/Os through GUI commands? [attachment=1313] Thanks in advance! Trevor RE: Controlling UR Tool I/O-JuanRubio-09-04-2020 Hi, I am having the same issue with my robot, an ur3e and a tool that takes objects!! Did you solve the problem? RE: Controlling UR Tool I/O-Albert-09-04-2020 Tool IOs are mapped from ids 10 and up. For example, DO 1 on the tool should be DO 11 in RoboDK. Also, make sure you modify the apiur.exe.ini file and set the CONTROLLER_VERSION variable to 5. More information here: //m.sinclairbody.com/forum/Thread-UR-Run-on-Robot-Command?pid=732#pid732 RE: Controlling UR Tool I/O-trevorb-09-04-2020 Hi Albert, The solution worked great! Thank you for the technical support! RE: Controlling UR Tool I/O-JuanRubio-09-09-2020 I solved the problem with your response!! thanks a lot!! |