Home AW-SYS Support Demo

 

Previous
Next

Example 5
XOR operation

Create A2.2 = E0.1 XOR E0.2

The logical operation XOR applied to boolean variables gives a true value only when one and only one of the two variables is true.
The first series of switches on the program ladder is closed only when E0.1 is closed and E0.2 is open. The second series, on the other hand, is closed only when E0.1 is open and E0.2 is closed. Combining these two in parallel results in the required function. That is, the coil is activated only when one input is closed and the other is open.

The AWL solution is no more than a translation of the program ladder and its operation is very similar to the previous example except for the correspondence with the NC contacts which program UN operations, a test on the negative status of the operand. The first AWL solution is no more than a translation of the program ladder and its operation is very similar to the previous example.

More examples: 1 ] 2 ] 3 ] 4 ] [ 5 ] 6 ] 7 ] 8 ] 9 ] 10 ] 11 ] 12 ] 13 ] 14 ] 15 ] 16 ] 17 ] 18 ] 19 ] 20 ] 21 ] 22 ] 23 ] 24 ] 25 ] 26 ] 27 ] 28 ] 29 ] [ List ]
More PLCs examples: Not still available