Home AW-SYS Support Demo

 

Next

Example 1
AND operation

Create A2.2 = E0.0 AND E0.1

Output A2.2 should only be activated if the two switches connected to inputs E0.0 and E0.1 are closed.
The solution ladder is obtained by connecting the two contacts in series, with operands E0.0 and E0.1, and coil A2.2. In fact, the logical combination AND, translated into ladder language, is equivalent to the series of two contacts: the series layout "shows" that the circuit is only closed when the two switches are closed; so this is the only condition that activates the coil.

The AWL solution is obtained by first loading the status of E0.0 in the RLC register (U E0.0). In fact the operation is really an AND but as it is the first of a sequence it is interpreted as a bit loading operation and therefore the status of the operand is copied into RLC. The next step is to perform an AND between the RLC and the status of input E0.1 (U E0.1). The result is again stored in RLC. This statement is not the first of a sequence and so the operation is interpreted as a real AND. The last statement ( = A2.2) transfers the content of the RLC, which at this time represents the logical combination E0.0 AND E0.1, to the output A2.2.

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