4 internal flag for logic cascade and feedback, 1 logic cascade, Internal flag for logic cascade and feedback – B&B Electronics ADAM-6066 - Manual User Manual

Page 204: Logic cascade

Advertising
background image

ADAM-6000 Series User Manual

194

7.4 Internal Flag for Logic Cascade and Feedback

7.4.1 Logic Cascade

Using internal flag as interface, you can combine different logic together
to form a new single logic rule which can play more complex logic archi-
tecture. You can combine logic rules on the same module, or even on dif-
ferent modules. Please refer to example below to understand how the
internal flag works.

Local Logic Cascade
Here, we take one simple example to describe the logic cascade. We use
two analog input channels (channel 0 and channel 1) of ADAM-6017 to
measure signal from sensors. As long as either of the two input channel
read voltage between 3 ~ 5 Volt, digital channel 0 should generate logic
high value. Otherwise, the digital channel 0 should generate logic low
value. The logic architecture should look like the Figure 7.12 below.

Internal Flag

Assign True value to
flag

Assign False value to flag

Assign False value to
flag

Assign True value to flag

Remote Message

Send message to tar-
get device

Do nothing

Internal Counter
Setting (Counter)

Increase 1 count to
counter

Do nothing

Reset counter

Advertising