GANTNER communication driver

 

GANTNER communication driver is the driver to communicate with GANTNER controller of Gantner Instruments Test & Measurement GmbH in Germany.

 

1. Read settings

 

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

<Figure 1>  Read setting example of  GANTNER communication driver

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

One module of GANTNER controller consist one station. Also 1 channel of Analog or Digital is accounted one Word data.

 

GANTNER communication driver read schedule

Read schedule setting parameters are as follows:

1) STATION – Controller station number.

2) Read command – Don't care.

3) Read start address – Read channel start address.

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

5) Read Size – Word unit read size.

 

Read schedule example)

READ,   0,   DI,   0,    0,   8,

READ,   1,   DO,   0,   8,   8,

READ,   2,   AI,   0,   16,   8,

READ,   3,   AO,   0,   24,   8,

 

 

2. Write settings

You can set the channel data by using write settings.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Controller station number.

3)  ADDRESS           Write channel address.

4) Extra1                    Don't care.

5) Extra2                    Don't care.

 

Write example 1)

PORT:0,  station:1, ADDRESS:0003, Extra1: ,  Extra2 :

The setting parameter shown above is a digital(bit on/off) control example of 0(1st) word, 3(4th) bit, 1 controller station number.

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Controller station number.

3)  ADDRESS           Write channel address.

4) Extra1                    Don't care.

5) Extra2                    Don't care.

 

Write example 1)

PORT:0,  station:1, ADDRESS:0002, Extra1: ,  Extra2 :

The setting parameter shown above is an analog write example of 2 word, 1 controller station number.