GasDna IR-Series Communication Driver

 

GasDna IR-Series is the driver to communicate with IR-Series Infrared Themometer of GasDna Co., Ltd. in Korea.

 

1. Read settings

<Figure 1> is read setting example of  GasDna IR-Series communication driver.

<Figure 1> Read setting example of GasDna IR-Series communication driver

Device part of  <Figure 1> input com port( COM6 ), baud rate( 9600 ) parity bits( 0 ), data bits( 8 ), stop bits( 1 ) respectively, accordint to the setting of controller.

 

Read schedule of GasDna IR-Series communication driver

Read schedule setting parameters are as follows:

1) station – 0 ~ 99 ID number.

2) read command – Command : TEMP, ATEMP, RADI, LASE, LOW, HIGH, ATYPE, ARM1, ARM2, DARM, RARM, CORR, STNO, BAUD, TRADI ( refer to <Table 1> ).

3) read start address – don't care.

4) Save start address for Communication Server – Saving start address of Communication Server.

5)    Read size – fixed to 1.

 

Note) Read/Write command can use direct command such as 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E.

 

Read schedule example) 

READ, 1, TEMP, 0, 0, 1,
READ, 1, ATEMP, 0, 1, 1,

 

<Table 1> is read command and readed data saving value of GasDna IR-Series communication driver.

Read/Write command

Contents

Data saving value of Communication Server

Remars

TEMP

Read of temperature

Saving Start Address + 0 : temperature

-60.0 ~ 4000.0 ( 1 digit dot ), read only

ATEMP

Read of around temperature

Saving Start Address + 0 : around temperature

-60.0 ~ 150.0 ( 1 digit dot ), read only

RADI

Read/Write of Radiation Rate

Saving Start Address + 0 : Radiation Rate

0.10 ~ 1.00 ( 2 digit dot )

LASE

Read/Write of Laser

Saving Start Address + 0 : Laser value

0 : Laser Off
1 : Laser On

LOW

Read/Write of Low Scale

Saving Start Address + 0 : Low Scale °ª

-60.0 ~ 1000.0 ( 1 digit dot )

HIGH

Read/Write of High Scale

Saving Start Address + 0 : High Scale °ª

-60.0 ~ 1000.0 ( 1 digit dot )

ATYPE

Read/Write of Alarm Type

Saving Start Address + 0 : Alarm Type

0 : H & L
1 : L & L
2 : H & H

ARM1

Read/Write of Alarm 1

Saving Start Address + 0 : Alarm 1

-60.0 ~ 1000.0 ( 1 digit dot )

ARM2

Read/Write of Alarm 2

Saving Start Address + 0 : Alarm 2

-60.0 ~ 1000.0 ( 1 digit dot )

DARM

Read/Write of Alarm Delay Time

Saving Start Address + 0 : Alarm Delay Time

0 ~ 99

RARM

Read/Write of Alarm Reset Type

Saving Start Address + 0 : Alarm Reset Type

0 : Auto
1 : Manual

CORR

Read/Write of Correction value

Saving Start Address + 0 : Correction value

-99.9 ~ 99.9 ( 1 digit dot )

STNO

Read/Write of Station Number

Saving Start Address + 0 : Station Number

1 ~ 99

BAUD

Read/Write of Baud Rate

Saving Start Address + 0 : Baud Rate

0 : 4800 bps
1 : 9600 bps
2 : 19200 bps
3 : 38400 bps
4 : 57600 bps

TRADI 

Read/Write of Radiation Rate setting type

Saving Start Address + 0 : Radiation Rate setting type

0 : Rotary Switch
1 : EEPROM Memory
<Table 1> Read command and readed data saving value of GasDna IR-Series communication driver

GasDna IR-Series communication driver store the same data in WORD, DWORD, FLOAT, DOUBLE memory, but the data format are different.

If you click the icon  in protocol option part at <Figure 1>, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part. 

<Figure 2> Example of GasDna IR-Series communication driver¡¯s Option dialog box

 

You can set read schedule by using , ,  button and listbox of <Figure 2>.

<Figure 3> Example of GasDna IR-Series communication driver¡¯s read schedule Add/Edit dialog box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

2. Write settings

You can control  by using 'write settings'. 

 

Digital Write

Digital write and analog write have the same setting parameters except output value. 

 

Analog Write 

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             0 ~ 99 ID number.

3)  ADDRESS          don't care

4)  Extra1                  write command : RADI, LASE, LOW, HIGH, ATYPE, ARM1, ARM2, DARM, RARM, CORR, STNO, BAUD, TRADI ( refer to <Table 1> ).

5)  Extra2                 don't care.

 

Write example 1) 

PORT : 0   STATION : 1   ADDRESS : 0  EXTRA1 : LOW  EXTRA2 : 0

The setting parameter shown above is 'Low Scale' setting example.  ( setting value : 1 digit dot )

 

Write example 2) 

PORT : 0   STATION : 1   ADDRESS : 0  EXTRA1 : ARM1  EXTRA2 : 0

The setting parameter shown above is 'Alarm 1' setting example.  ( setting value : 1 digit dot ) 

 

3. Appearance of GasDna IR-22 Controller

<Figure 4> shows the appearance of GasDna IR-22 controller.

<Figure 4> Appearance of GasDna IR-22 controller