OVAL 400 Series communication driver

 

 

OVAL 400 Series communication driver is the driver to communicate with Gas & Steam Flow Computer of OVAL in Japan.

 

1. Read settings

 

<Figure 1> is read setting example of  OVAL 400 Series communication driver. 

<Figure 1>  Read setting example of  OVAL 400 Series communication driver

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

Also, you can set 'number of line for one read command'( 1 ~ 5, default = 2 ), 'data saving gap for each line data'( 9 ~ 50, default 10 ) by using option part. Each argument  is a comma-delimited.

 

OVAL 400 Series communication driver¡¯s read schedule 

Read schedule setting parameters are as follows:

1) Station – Controller station number = 0 ~ 99.

2) Read Command – Command = V?, R?, P?, T?, D?, B?, F?, ¡¦ ( 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.

 

Read schedule example) 

READ,     0,     V?,    0,    0,   1,

READ,     0,     R?,   0,   20,   1,

 

<Table 1> is read command and contents of OVAL 400 Series communication driver.

Read command

Contents

V?

Total

R?

Flowrates

P?

Pressure

T?

Temperature

D?

Flowing Density

B?

Zb or h

F?

Zf, Fpv or v

<Table 1> Read command and contents of OVAL 400 Series communication driver

<Table 2> is data saving address and contents of OVAL 400 Series communication driver. 

Data saving address

Contents

Remakrs

Start addr + 0

Log number

1st line

Start addr + 1

year of data

Start addr + 2

month of data

Start addr + 3

day of data

Start addr + 4

hour of data

Start addr + 5

minute of data

Start addr + 6

temperature ( C )

Start addr + 7

pressure ( KP )

Start addr + 8

Total MJ

Start addr +

 'data saving gap for each line data' + 0

station number

2nd line

Start addr +

 'data saving gap for each line data' + 1

~

¡¦

readed data for each command

¡¦

 

¡¦

<Table 2> Data saving address and contents of OVAL 400 Series communication driver

OVAL 400 Series communication driver store the same data in WORD, DWORD, FLOAT memory, but the data format are different.

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

<Figure 2> Example of OVAL 400 Series communication driver¡¯s Option dialogue box

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

Also, you can set number of line for one read command, data saving gap for each line data by using the part of ¡®Read Status Setting¡¯ shown in <Figure 2>.

<Figure 3> Example of OVAL 400 Series communication driver¡¯s read schedule Add/Edit dialogue box

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

  

2. Writing settings

You can read by using write settings.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             controller station number = 0 ~ 99.

3)  ADDRESS           decimal unit data saving start address.

4)  Extra1                   read command = V?, R?, P?, T?, D?, B?, F?, ¡¦ ( Refer to <Table 1> )

5)  Extra2                   Don't care.

 

Write example 1) 

PORT : 0 , STATION : 0,  ADDRESS : 0050,  EXTRA1 : V?,  EXTRA2 :

The setting parameter shown above is an example of 'Total' data (V? command) reading example of station 0 OVAL 400 Series.

After writing, the readed data save from 50 ~ WORD, FLOAT, DWORD memory.

 

Write example 2) 

PORT : 0 , STATION : 0,  ADDRESS : 0100,  EXTRA1 : R?,  EXTRA2 :

The setting parameter shown above is an example of 'Flowrates' data reading example of station 0 OVAL 400 Series.

After writing, the readed data save from 100 ~ WORD, FLOAT, DWORD memory.

 

Analog Write

Analog write and digital write have the same setting parameters except output value.

 

3. Connection of main power and communication cable

Connection of main power and communication cable are as follows.

 

 Connection of main power

Please connect 220 V AC main power to main power input(Mains) connector such as <Figure 4>. 

<Figure 4> Connection example of main power line and communication cable to OVAL 400 Series

 <Figure 5> shows the appearance of OVAL 400 Series controller. 

<Figure 5> Appearance of OVAL 400 Series controller

 

Connection of RS-232C communication cable

Please connect RS-232C communication cable to  20 ( Ground ),  21 ( Rx ),  22 ( Tx ),  27 ( CTS ) connector. ( refer to <Figure 4> )

 

Connection of RS-422/485 communication cable

Please connect RS-422/485 communication cable to 23 ( Rx- ),  24 ( Rx+ ),  25 ( Tx- ),  26 ( Tx+ ) connector such as <Figure 6>.

 

RS-422/485 of computer        OVAL 400 Series

 Tx+   -----------------------------------  26 connector

 Tx-   -----------------------------------  25 connector

Rx+   -----------------------------------  24 connector

 Rx-   -----------------------------------  23 connector

<Figure 6> Wiring diagram of RS-422/485 communication cable