//example on how to make an IF with 2 conditions
//IO3 is only inverted when IO1 XOR IO2 are "1"
 
 
LABEL WINPLC
     IF IO01 = 1 Then
               IF IO02 = 0 Then INVERTIO 03
     ELSE
          IF IO02 = 1 Then
               IF IO01 = 0 Then INVERTIO 03
          END IF
     END IF
GOTO WINPLC

BACK TO SAMPLE OVERVIEW