# ABB S4C+ cross connection (QuickTeach)

**URL:** <https://tech-community.robotics.abb.com/t/abb-s4c-cross-connection-quickteach/9752>\
**Category:** Robot Controller\
**Created:** [October 15, 2020, 7:34pm UTC](https://tech-community.robotics.abb.com/t/abb-s4c-cross-connection-quickteach/9752 "2020-10-15T19:34:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulfile](https://avatars.discourse-cdn.com/v4/letter/p/ac91a4/32.png) [@paulfile](https://tech-community.robotics.abb.com/u/paulfile)\
**Post date:** [October 15, 2020, 7:34pm UTC](https://tech-community.robotics.abb.com/t/abb-s4c-cross-connection-quickteach/9752/1 "2020-10-15T19:34:23Z")

</div>

Lets see if I remember the &, plus(+), and not(\*) in the crosses correctly.

do1=true and do3=true results do2=true

-Lact “do1 & do3” -Lres “do2”

do1=true and do3=false results do2=true

-Lact “do1 & \*do3” -Lres “do2”

do1=true and do3=true results do2=true and do4=true

-Lact “do1 & do3” -Lres “do2 + do4”

We do it from the EIO file.But I want to use OR gate instead of and not gate.I don’t want to use \*(and not)

do1= true or do3= true or do4=true results do2= true

how can I do that?

---

<div class="post-metadata">

**Author:** ![DenisFR](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@DenisFR](https://tech-community.robotics.abb.com/u/DenisFR)\
**Post date:** [October 16, 2020, 8:31am UTC](https://tech-community.robotics.abb.com/t/abb-s4c-cross-connection-quickteach/9752/2 "2020-10-16T08:31:27Z")

</div>

Hello,  
“!” is the OR operator. But you can’t mix AND and OR in the same equation.

---

<div class="post-metadata">

**Author:** ![paulfile](https://avatars.discourse-cdn.com/v4/letter/p/ac91a4/32.png) [@paulfile](https://tech-community.robotics.abb.com/u/paulfile)\
**Post date:** [October 16, 2020, 7:27pm UTC](https://tech-community.robotics.abb.com/t/abb-s4c-cross-connection-quickteach/9752/3 "2020-10-16T19:27:40Z")

</div>

You are awesome . I’ve been looking for this for a long time.Thank you very much, I wish you good and good work 🙂
