Figure 7.26: gcl logic for sequence control, Figure 7.26:gcl logic for sequence control – B&B Electronics ADAM-6066 - Manual User Manual

Page 216

Advertising
background image

ADAM-6000 Series User Manual

206

Figure 7.26: GCL Logic for Sequence Control

(Turns On in Sequence and Remains On)

4.

Multiple DI to control one DO (12 DI to 1 DO)

In many applications, only when multiple digital inputs are logic high
(related conditions are all satisfied), digital output status will become
logic high. In the example project we provide, only when DI 0 ~ DI 11 are
all logic high at the same time, the DO 0 will become logic high. The time
chart of this application can be shown by Figure 7.27 below. The green
band area indicates the moment that all 12 DI are logic high, thus DO 0
will be logic high. For other time interval, there is at least one DI channel
whose value is not logic high, so DO 0 value is logic low.

Rule 1

Rule 2

Rule 3

Rule 4

Rule 5

Rule 6

AND

Set DO 0 =True

If DI 0 = True

Start Timer 0

AND

Set DO 1 =True

If Timer ≧ 5 second

AND

Set DO 2 =True

If Timer ≧ 10 second

AND

Set DO 3 =True

If Timer ≧ 15 second

AND

Set DO 4 =True

If Timer ≧ 20 second

AND

Set DO 5 =True

If Timer ≧ 25 second

Advertising