Skip to main content

Operator: AND

If the IEC AND operator is used for programming in the Safety FBD Editor, the following must additionally be observed:

  • Only BOOL and SAFEBOOL inputs can be linked. The AND linking of WORD, DWORD, SAFEWORD, and SAFEDWORD is not allowed.

  • The output is BOOL, if all operands are BOOL.

  • The output is SAFEBOOL if at least one input is SAFEBOOL.

Figure 44. Example: AND linking of the Boolean variable VarB with TRUE, output VarOut is SAFEBOOL
Example: AND linking of the Boolean variable VarB with TRUE, output VarOut is SAFEBOOL