Di Event Trigger - Advantech ADAM-6217 User Manual

Adam-6200 series intelligent ethernet i/o module
Table of Contents

Advertisement

9. DI Event Trigger (Only Occurs Once)
We can simply use GCL to perform Event trigger. For this kind of application, a DI
channel is used to trigger some action. So, the input condition of GCL logic rule will
be if the DI value is logic True, and output of the rule can be some desired action,
such as sending remote message. When the DI value becomes logic True, the input
condition is satisfied. The GCL logic rule will send message continuously until the DI
value backs to logic False. However, it is not what we plan. (We don't want the mes-
sage is sent out continuously. Instead, we want the message will only be sent once at
the first moment that the condition is satisfied.) This kind of application can be simply
achieved by using one counter input channel. You can refer to below figure. Select
local counter input channel (DI_Counter) in the Input condition for one logic rule.
There are two output used for the same logic rule, one is reset the counter input
channel, and another is the desired action you want. Then, when the counter input
channel detect DI signal, the condition is satisfied and the desired action will be done.
At the same time, the GCL rule reset the counter input channel. So the desired action
will only be executed once.
The true image of configuration of GCL logic rule in ADAM.NET Utility can be shown
as below. (Here, the desired action is to send remote message.)
ADAM-6200 User Manual
118

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-6224Adam-6260Adam-6250Adam-6266Adam-6251Adam-6256

Table of Contents