Structured Text handles logical and mathematical comparators similarly to other programming languages such as C, C++, Java and Python. However, their syntax may be unfamiliar to those who work on PLCs within a ladder logic environment. That being said, every branch of PLC ladder logic is a state flow that can be simplified into a logical flow thus used in a single Structured Text statement.
This is a companion discussion topic for the original entry at https://www.solisplc.com/tutorials/structured-text-logic-and-mathematical-instructions-motor-starter-interview-practice