CONTREX CX-1200 User Manual

Page 183

Advertising
background image

5 - 90

You can combine “AND’s” and “OR’s” to implement both the series and parallel connections.

LOAD

55

MaxFbSpd

OR

57

DrvNoRsp

AND

24

Tmr1 Out

OUT

101

DO_1

MaxFbSpd

55

DO_1

101

DrvNoRsp

57

Tmr1 Out

24

LOAD

55

MaxFbSpd

AND

24

Tmr1 Out

OR

57

DrvNoRsp

OUT

101

DO_1

MaxFbSpd

55

DO_1

101

DrvNoRsp

57

Tmr1 Out

24

The order of the program commands effect the outcome. The result of each command is placed in the Result
Register (R), which is then used in the next operation.

The exclusive “OR” command (“XOR”, “XOR NOT”) can be used to act on one of two true conditions, but
not if both are true at the same time. The truth table for the “XOR” and “XOR NOT” is given by (1 = true):

0

0

0

1

0

1

1

0

1

0

1

0

1

1

0

1

R

Operand

XOR

XOR NOT

The following example implements an exclusive “OR” between Cntr1 Out and Cntr2 Out using ladder logic.
The program commands use standard “AND” and “OR” logic.

Advertising