Skip to main content

6.1.3.2 Boolean Instructions

Boolean instruction

alt text

Contact

Normally open contact

  • Function description: Normally open contact

  • Example: alt text

Normally closed contact

  • Function description: Normally closed contact

  • Example: alt text

Positive pulse detection contact

  • Function description: When the status of the left horizontal line is ON, the rising edge of the variable above the detection contact is passed to the right connection

  • Example: alt text

Negative pulse detection contact

  • Function description: When the status of the left horizontal line is ON, the falling edge of the variable above the detection contact is passed to the right connection

  • Example alt text

Take the reverse contact point

  • Function description: Invert the status of the left horizontal line and copy it to the right horizontal line

  • Example: alt text

Coil

Conventional Coil

  • Function description: assignment

  • Example: alt text

Reverse coil

  • Function description: negation and assignment

  • Example: alt text

Positive pulse detection coil

  • Function description: Detect the rising edge of the left connecting line and transfer it to the variable above the coil

  • Example: alt text

Negative pulse detection coil

  • Function description: Detect the falling edge of the left connecting line and transfer it to the variable above the coil

  • Example alt text

Set Coil

  • Function description: Set output, use the "set output" instruction to set the signal status of the specified operand to "1"

  • Example:

    • The "TagOut" operand is set when one of the following conditions is met

    • The signal status of the operands "TagIn_1" and "TagIn_2" is "1"

    • The signal state of the operand "TagIn_3" is "0"

alt text

Reset coil

  • Function description: Reset output, user can use the "reset output" instruction to reset the signal state of the specified operand to "0"

  • Example:

    • When any of the following conditions is met, the operand "TagOut" can be reset

    • The signal status of the operands "TagIn_1" and "TagIn_2" is "1"

    • The signal state of the operand "TagIn_3" is "0"

alt text