Annex B.2.1 of IEC 61499-1 states that the syntax shall be
guard_condition ::= expression
<as defined in IEC 61131-3>
<Shall evaluate to a BOOL value>
So you have to go to the syntax in Annex B.4.1 of IEC 61131-3 to see
exactly what is allowed.
The FBDK just does a mapping from IEC 61131-3 operators to Java
operators and lets the Java compiler sort things out:
AND ==> &
OR ==> |
NOT ==> !
TRUE ==> true
= ==> ==
<> ==> !=
Variables, e.g., IN1, are mapped to their contained values, e.g.,
IN1.value.
Best regards,
Jim C