# Search for multiple inputs

**URL:** <https://tech-community.robotics.abb.com/t/search-for-multiple-inputs/11631>\
**Category:** RAPID Programming\
**Tags:** searcl, digital-input, interrrupts\
**Created:** [September 24, 2024, 1:33pm UTC](https://tech-community.robotics.abb.com/t/search-for-multiple-inputs/11631 "2024-09-24T13:33:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![laov](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/laov/32/495_2.png) [@laov](https://tech-community.robotics.abb.com/u/laov)\
**Post date:** [September 24, 2024, 1:33pm UTC](https://tech-community.robotics.abb.com/t/search-for-multiple-inputs/11631/1 "2024-09-24T13:33:22Z")

</div>

Hello,

I need to preform a linear search untill 1 of 5 inputs triggers from 1 to 0. SearchL command only accepts 1 input. Any way to combine inputs? Or search for multiple inputs / GI?

The only other ideas I have is to move in a while cycle or stop the movement via Interrupt.

All help and suggestions welcome…

---

<div class="post-metadata">

**Author:** ![lemster68](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/lemster68/32/1945_2.png) [@lemster68](https://tech-community.robotics.abb.com/u/lemster68)\
**Post date:** [September 24, 2024, 2:31pm UTC](https://tech-community.robotics.abb.com/t/search-for-multiple-inputs/11631/2 "2024-09-24T14:31:37Z")

</div>

Make a simulated input to which you cross connect those five other real inputs using the OR operator. Use that simulated signal in your search.

---

<div class="post-metadata">

**Author:** ![Burro](https://avatars.discourse-cdn.com/v4/letter/b/9fc29f/32.png) [@Burro](https://tech-community.robotics.abb.com/u/Burro)\
**Post date:** [September 24, 2024, 7:45pm UTC](https://tech-community.robotics.abb.com/t/search-for-multiple-inputs/11631/3 "2024-09-24T19:45:23Z")

</div>

Create another signal and use it as a result in a Cross Connection with the other 5 as Or conditions, then use the new signal in your SearchL

---

<div class="post-metadata">

**Author:** ![laov](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/laov/32/495_2.png) [@laov](https://tech-community.robotics.abb.com/u/laov)\
**Post date:** [September 25, 2024, 8:40am UTC](https://tech-community.robotics.abb.com/t/search-for-multiple-inputs/11631/4 "2024-09-25T08:40:52Z")

</div>

> [@lemster68](#):
>
> Make a simulated input to which you cross connect those five other real inputs using the OR operator. Use that simulated signal in your search.

I assume this is done in software not electrically? Maybe you can give me a code snippet or refer to the instructions used? I did not find anything obvious in rapid reference manual…

---

<div class="post-metadata">

**Author:** ![laov](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/laov/32/495_2.png) [@laov](https://tech-community.robotics.abb.com/u/laov)\
**Post date:** [September 25, 2024, 9:28am UTC](https://tech-community.robotics.abb.com/t/search-for-multiple-inputs/11631/5 "2024-09-25T09:28:18Z")

</div>

Found it.  
Configuration → I/O system → Cross Connection.

Thanks!

---

<div class="post-metadata">

**Author:** ![lemster68](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/lemster68/32/1945_2.png) [@lemster68](https://tech-community.robotics.abb.com/u/lemster68)\
**Post date:** [September 25, 2024, 12:04pm UTC](https://tech-community.robotics.abb.com/t/search-for-multiple-inputs/11631/6 "2024-09-25T12:04:05Z")

</div>

That is because you need to read the System Parameter manual for cross connections. No code is required.
