# Need a One Shot Function

**URL:** <https://forum.deltamotion.com/t/need-a-one-shot-function/1562>\
**Category:** Forum: Motion Control\
**Created:** [October 20, 2026, 7:35pm UTC](https://forum.deltamotion.com/t/need-a-one-shot-function/1562 "2026-10-20T19:35:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![derrynewyman](https://forum.deltamotion.com/letter_avatar_proxy/v4/letter/d/ea666f/32.png) [@derrynewyman](https://forum.deltamotion.com/u/derrynewyman)\
**Post date:** [October 20, 2026, 7:35pm UTC](https://forum.deltamotion.com/t/need-a-one-shot-function/1562/1 "2026-10-20T19:35:17Z")

</div>

I need to do a one shot for a proximity switch input. I’m not a script writer. Any help would be wonderful. All I want for christmas is a [ONS]☺

---

<div class="post-metadata">

**Author:** ![Jacob\_Paso](https://forum.deltamotion.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@Jacob\_Paso](https://forum.deltamotion.com/u/Jacob_Paso)\
**Post date:** [October 20, 2026, 8:03pm UTC](https://forum.deltamotion.com/t/need-a-one-shot-function/1562/2 "2026-10-20T20:03:56Z")

</div>

Could you give a bit more background? It really depends on your current user program arrangement and where you want it within that arrangement. At it’s simplest, the Program Trigger conditions are all one-shots. It’s like each Condition cell in the Program Triggers is wrapped with a oneshot, like ONS[Condition].
