ADAM communication driver

 

ADAM communication driver is the driver to communicate with ADAM controller of Advantech Co., Ltd. in Taiwan.

 

1. Read settings

 

<Figure 1> is read setting example of ADAM communication driver.

<Figure 1> Read setting example of ADAM communication driver

 Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively.  

 

 

ADAM communication driver¡¯s read schedule

Read schedule setting parameters are as follows:

1) Module Address - address = 0~255.

2) Read Type - type = AI, AIN, DI, DO, ...

3) Channel  - AIN data type = 0, 1, ... channel no.,  Etc data type = don't care.

4) Save Start Address for Communication Server – save start address.

5) Read Size – don't care.

 

Read schedule example)

READ,  1, AIN,   0,   0,

READ,  1, AIN,   1,   2,

READ,  2,  AI,   0,   4,

READ,  3,  DI,   0,  10,

READ,  4,  DO,  0,  11,

 

 

2. Writing settings

 

You can write data to ADAM controller by writing settings.

 

 

Bit Write

Bit write setting parameters are as follows:

1)  PORT        : Port no. (0 ~ 255)

2) Station       : Module address = 0 ~ 255.

3) ADDRESS : Channel number of ADAM.

4) EXTRA 1 :  DO

5) EXTRA 2 :  don't care.

 

Write example 1)

PORT:0   STATION:1   ADDRESS:0003   EXTRA1:DO   EXTRA2 :

The setting parameter shown above is an example of bit write, 3 channel of DO for ADAM controller connected with 0 port, 1 Module address.

 

Word Write

Word write setting parameters are as follows:

1)  PORT        : Port no. (0 ~ 255)

2) Station       : Module address = 0 ~ 255.

3) ADDRESS : Channel number of ADAM.

4) EXTRA 1 :  AO

5) EXTRA 2 :  don't care.

 

Write example 1)

PORT:0   STATION:1   ADDRESS:0004  EXTRA1:AO   EXTRA2 :

The setting parameter shown above is an example of word write, 4 channel of AO for ADAM controller connected with 0 port, 1 Module address.

 

3. Connection of communication cable

 

You must connect 'direct RS-232C cable'.((2, 3, 5 pin to 2, 3, 5 pin direct connection of 9 pin socket)

 

4. Available model of ADAM communication driver

 

<Table 1> is a description of  available model of ADAM communication driver.

Model

Type

ADAM-4011

Analog Input  1 Channel

ADAM-4012

Analog Input  1 Channel

ADAM-4013

Analog Input  1 Channel

ADAM-4014D

Analog Input  1 Channel

ADAM-4017

Analog Input  8 Channel

ADAM-4021

Analog Output  1 Channel

ADAM-4050

DI 7Channel & DO 8Channel

ADAM-4060

Relay Output Module

ADAM-4080D

Counter/Frequency module

<Table 1> Available model of ADAM communication driver