AutomationTechBrian
Lifetime Supporting Member
I'm working on learning Structured Text, and I'm stuck on something so simple:
I have an If-Then statement using Bool tags, and I'm having a hard time understanding why this doesn't work...
If Homing_Process and NOT Homing_Complete then Machine_State_Homing := 1;
NOT is not working. Both Homing_Complete and Machine_State_Homing are 1. Is there another way to write the not-bit?
I have an If-Then statement using Bool tags, and I'm having a hard time understanding why this doesn't work...
If Homing_Process and NOT Homing_Complete then Machine_State_Homing := 1;
NOT is not working. Both Homing_Complete and Machine_State_Homing are 1. Is there another way to write the not-bit?