# \#rapid-logic

**URL:** https://tech-community.robotics.abb.com/tag/rapid-logic/1392.md

[Latest](https://tech-community.robotics.abb.com/latest.md) · [Categories](https://tech-community.robotics.abb.com/categories.md) · [Tags](https://tech-community.robotics.abb.com/tags.md)

---

## [If logic not working correctly](https://tech-community.robotics.abb.com/t/if-logic-not-working-correctly/12033)

<div class="topic-metadata">

**Author:** [@jodycarraway](https://tech-community.robotics.abb.com/u/jodycarraway)\
**Replies:** 3\
**Last updated:** [September 27, 2025, 7:48pm UTC](https://tech-community.robotics.abb.com/t/if-logic-not-working-correctly/12033 "2025-09-27T19:48:44Z")

</div>

I have the below code in a PROC and am passing a few variables to it move a target based on an angle that is passed from the PLC, one being the Angle\_Data. there are values numbers passed like 0.35 -141 -36.8 0.35 is su…
