B&B Electronics ADAM-6066 - Manual User Manual

Page 101

Advertising
background image

91

Chapter 5

As for when the data will be updated from one ADAM-6000 module to
its target devices, there are also two options to choose:

1.

Period Time Function:

The value of the input channel will be updated to the target devices with
the defined period.

2.

Period Time Function + C.O.S (Change of Status) Function:

The value of the input channel will still be updated to the target devices
with the defined period. Moreover, when C.O.S happens (the change of
the analog input value is greater than specific deviation or digital input
status changes), the value of the input channel will also update to the tar-
get devices immediately.

• How to use Peer-to-Peer function to implement Event Trigger
In many applications, the data will only be sent to a host computer when
specific event happens. Typical event is that the digital or analog signal
changes. To implement this kind of application, ADAM-6000 modules
enabled with Peer-to-Peer function is a perfect solution.

The target device of Peer-to-Peer can be a computer, simply by entering
the IP of that computer into the Destination text box of Peer-to-Peer/
Event
configuration tab in ADAM.NET Utility. (The detail information
about configuration is described below.) Choose Basic mode and Period
Time function + C.O.S. function as communication method.

There should be one program running on the host computer to receive the
data, and we provide an example C program (VC++ 6.0) in the CD with
ADAM-6000 module. Although the ADAM-6000 modules will send data
to the host computer periodically (the reason is for communication secu-
rity, see Note below), you can still distinguish the message is sent from
Period Time function or C.O.S. function. The message contains which
channels has changed. So if you find there is no change for all channels in
the message information, then you can realize that there is no event hap-
pening.

Advertising