TMS-Meter2 Communication Driver

 

TMS-Meter2 is driver to receive the data which measuring instrument sends to TMS-Client, as standard protocol constituted at KECO.

 

1. Read settings

 

<Figure 1> is read setting example of TMS-Meter2 communication driver.

<Figure 1> Read setting example of TMS-Meter2 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 device.

Also, you can set whether to check BCC of read data(1 : Check error, 0 : Not check error, Default = 1) at Option part.

 

TMS-Meter2 driver's read schedule

Read schedule setting parameters are as follows:

1) Dewatering outlets number to save read data – Enter the dewatering outlets number between 0 and 65535(0 ~ FFFFh).

2) Command type to read – Don't care(Fixed to RDAT etc).

3) Stard address to read – Don't care.

4) Save start address for Communication Server – Communication server start address to save read value of designated dewatering outlets number data. 

If dewatering outlets number isn't designated, it saves data from no.0 address.

5) Size to Read – Always set as 1. Data size is defined according to read command. (Refer to <Table 1>)

 

Read schedule example)

READ,   0,     RDAT,     0,    0,   1,

 

<Table 1> is data save address and contents of TMS-Meter2 communication driver.

Most TMS-Meter2 communication driver's read value is saved at same address of WORD/DWORD/FLOAT memory(Only type of save value is different).

But, item string is saved at String memory only.

Save address

Save address and Contents

Save addr + 0

Workplace code(Hexadecimal number, it is saved in String memory),

Save addr + 1

Dewatering outlets number(Hexadecimal number, it is saved in String memory),

Save addr + 2 ~ 7

Year, Month, Day, Hour, Minute and Second of measurement

Save addr + 8

Number of items of measurement

Save addr + 9

Value of measurement - Save to WORD/DWORD/FLOAT memory

Item    - Save to String memory

Save addr + 10

Status information value - Save to WORD/DWORD/FLOAT memory

Save addr + 11 ~ 12

¡¦

¡¦

Save measurement of second item, item and status information value,

¡¦

¡¦

<Table 1> Read data save address and contents of TMS-Meter2 communication driver

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 TMS-Meter2 communication driver's Option dialog box

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

Also, you can set whether to check BCC error of read data at 'Check Bcc Data Error' area of <Figure 2>.

<Figure 3> Example of TMS-Meter2 communication driver's read schedule Add/Edit dialog box

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

 

2. Writing settings

 

There is no writing settings of TMS-Meter2 communication driver.