I wonder if it is allowed by the standard (IEC 1131-3) to mix different data types in an expression.
Example
VAR A : BOOL;
B : INT;
(* ... *)
IF (B AND C) THEN
...
END_IF
I wonder if it is allowed by the standard (IEC 1131-3) to mix different data types in an expression.
Example
VAR A : BOOL;
B : INT;
(* ... *)
IF (B AND C) THEN
...
END_IF