# UR Output Pin Triggered when setting a Waypoint's Pose

**URL:** <https://forum.universal-robots.com/t/ur-output-pin-triggered-when-setting-a-waypoints-pose/11240>\
**Category:** URCap Development\
**Tags:** electrical, waypoints\
**Created:** [January 6, 2021, 11:00am UTC](https://forum.universal-robots.com/t/ur-output-pin-triggered-when-setting-a-waypoints-pose/11240 "2021-01-06T11:00:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon5706138](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@anon5706138](https://forum.universal-robots.com/u/anon5706138)\
**Post date:** [January 6, 2021, 11:00am UTC](https://forum.universal-robots.com/t/ur-output-pin-triggered-when-setting-a-waypoints-pose/11240/1 "2021-01-06T11:00:41Z")

</div>

Hello,

From the installation section, I assigned an output pin to be “High when program is running and Low when stopped”.

When I press play button in polyscope interface, it outputs true.

But when I assign a pose like in the “ellipseswing” example and press ok, it outputs true again.

Does it consider the robot to be running in this case?

I want it to output true only when the program is running.

How can I solve this?

Thanks,

MB

---

<div class="post-metadata">

**Author:** ![Ebbe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ebbe/32/1413_2.png) [@Ebbe](https://forum.universal-robots.com/u/Ebbe)\
**Post date:** [January 25, 2021, 8:20am UTC](https://forum.universal-robots.com/t/ur-output-pin-triggered-when-setting-a-waypoints-pose/11240/3 "2021-01-25T08:20:38Z")

</div>

Hi @anon5706138,

I cannot reproduce the behavior you are describing in Polyscope version 5.9.4.

Do you see the same pattern with built in Waypoints or robot movement?

If there an issue, one workaround could be to select the setting “Low when not running” and then set it high in the preamble of your URCap scriptWriter.

Best  
Ebbe

---

<div class="post-metadata">

**Author:** ![sam.verity-hilton](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/sam.verity-hilton/32/6046_2.png) [@sam.verity-hilton](https://forum.universal-robots.com/u/sam.verity-hilton)\
**Post date:** [January 25, 2021, 12:01pm UTC](https://forum.universal-robots.com/t/ur-output-pin-triggered-when-setting-a-waypoints-pose/11240/4 "2021-01-25T12:01:09Z")

</div>

I believe this is caused by the secondary client. If I remember correctly, the ellipseSwing URCap sends and erceives script/strings using the secondary client interface. When script is being run through the secondary client, it is run as a program, thus an output that is “high when running low when stopped” will be triggered under these conditions. A work around for this would be to see fi there are any other interfaces that can be used in place of the secondary client interface, such as the dashboard server, which doesn’t run a program in order to send and receive information, or to see if there is any API methods that can be used too.

---

<div class="post-metadata">

**Author:** ![anon5706138](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@anon5706138](https://forum.universal-robots.com/u/anon5706138)\
**Post date:** [January 28, 2021, 8:08am UTC](https://forum.universal-robots.com/t/ur-output-pin-triggered-when-setting-a-waypoints-pose/11240/6 "2021-01-28T08:08:39Z")

</div>

The robot I am using is CB series UR5.

It also happens in the move button like in the ellipseswing as well:

For example; if the Robot is not in the position of the selected move position,when we push to the move button, it moves to the specified position and doesn’t output true.

But if it is in the same position, a pop-up says “the robot is already in the specified position” and it outputs true.

I have tried it with built in Waypoints and the same issue occurs again.
