MIRAE MR8000 Series communication driver

 

MIRAE MR8000 Series communication driver is the driver to communicate with indicator controller of Mirae E&I in Korea.

 

1. Read Settings

 

<Figure 1> is read setting example of MIRAE MR8000 Series communication driver.

<Figure 1>  Read setting example of MIRAE MR8000 Series communication driver

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

 

Note) Station, baud rate of MIRAE MR8000 Series can set  by using front panel's setting button. ( refer to chapter 4 )

 

MIRAE MR8000 Series communication driver read schedule

Read schedule setting parameters are as follows:

1) Station – 0 ~ 63 station number.

2) Read command – command = 00 ~ 07, 11 ~ 1G. ( 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,     00,     0,    0,    1,

READ,     0,     01,     0,    1,    1,

READ,     0,     02,     0,    2,    1,

READ,     0,     03,     0,    3,    1,

READ,     0,     04,     0,    4,    1,

READ,     0,     05,     0,    5,    1,

READ,     0,     06,     0,    6,    1,

READ,     0,     13,     0,   10,    1,

READ,     0,     14,     0,   11,    1,

READ,     0,     15,     0,   12,    1,

READ,     0,     16,     0,   13,    1,

 

<Table 1> is read command and contents of MIRAE MR8000 Series communication driver.

Read command Contents

Rnage

00 read of PV value

+/- ddd.d ( d = decimal )

01 ~ 04 read of Alarm 1 ~ 4 value
05 read of Peak value
06 read of Alarm value

0 ~ F ( 0 ~ 15 )

0 ~ 3 bit : Alarm 1 ~ 4 ON

07 read of AO value

+/- 00.00 ~ 99.99

11 read of Input Type

refer to <Table 2>

12 read of Function

0 : Linear,

1 : S-Root,

2 : Limit,

3 : Vac

13 read of Range Low

+/- ddd.d ( d = decimal )

14 read of Range High
15 read of Scale Low
16 read of Scale High
17 read of Sensor Adj
18 read of Peak Type

0 : High Peak,

1 : Low Peak,

2 : High Peak + Display + AO,

3 : Low Peak + Display + AO

19 read of Display Type

0 ~ 9

1A read of SP-1 Type

0 : High Alarm,

1 : Low Alarm

1B read of SP-2 Type

 

1C read of SP-3 Type

 

1D read of SP-4 Type

 

1E read of Alarm DeadBand

dd ( d = decimal )

1F read of OutScale High

+/- ddd.d ( d = decimal )

1G read of OutScale Low
<Table 1> Read command and contents of MIRAE MR8000 Series communication driver

Readed  ( writing ) value

Meaning

0

TC-R

1

TC-K

2

TC-E

3

TC-J

4

TC-T

5

PT-100

6

JPT-100

7

mV

8

Volt

9

mA

<Table 2> Readed value and meaning of Input Type

 MIRAE MR8000 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 at <Figure 1>, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part. 

<Figure 2> Example of MIRAE MR8000 Series communication driver¡¯s Option dialog box

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

<Figure 3> Example of  MIRAE MR8000 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 read and write 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 ~ 63 station number.

3)  ADDRESS          data saving start address when read command. ( refer to <Table 1> )

4)  Extra1                  read/write command = 00 ~ 07, 11 ~ 1G  read command( refer to <Table 1> ), 41 ~ 45, 51 ~ 5G : write command.

5) Extra2                   0 ~ 3 decimal point when write command.

 

Write example 1)

PORT:0,  station:0, ADDRESS:0000, Extra1: 41,  Extra2 : 0

The setting parameter shown above is Alarm 1 value setting example with 0 decimal point.

 

Write example 2)

PORT:0,  station:0, ADDRESS:0000, Extra1: 42,  Extra2 : 1

The setting parameter shown above is Alarm 2 value setting example with 1 decimal point.

 

Write example 3)

PORT:0,  station:0, ADDRESS:0000, Extra1: 51,  Extra2 : 0

The setting parameter shown above is Sensor Input Type( 0 ~ 9, refer to <Table 2> ) setting example.

 

Write example 4)

PORT:0,  station:0, ADDRESS:0000, Extra1: 5G,  Extra2 : 0

The setting parameter shown above is OutScale Low value setting example with 0 decimal point.

 

Write example 5)

PORT:0,  station:0, ADDRESS:0150, Extra1: 00,  Extra2 : 0

The setting parameter shown above is PV value reading example.

After reading, the readed value save at 150 WORD, DWORD, FLOAT memory.

 

Write example 6)

PORT:0,  station:0, ADDRESS:0230, Extra1: 13,  Extra2 : 0

The setting parameter shown above is Rnage Low value reading example.

After reading, the readed value save at 230 WORD, DWORD, FLOAT memory.

 

3. Connection of main power and communication cable

Connection of main power and communication cable are as follows:

 

Connection of main power

Please connect 85 ~ 265V AC main power to 12, 14 connector of  MIRAE MR8000 controller.

<Figure 4> Connection example of main power and communication cable to MIRAE MR8000 controller

Connection of communication cable

Please connect RS-485 communication cable to 5( + ), 6( - ) connector.

RS-485 of computer                       MIRAE MR8000 Series

Tx+, Rx+  -------------------------------------- 6 + connector

Tx-, Rx-  -------------------------------------- 5 - connector

 

<Figure 5> is appearance of MR8000 controller. 

<Figure 5> Appearance of MR8000 controller
 
4. Setting of station, baud rate

MIRAE MR8000 controller can set station, baud rate, ... by using setting button of front panel. ( refer to <Figure 5> )

1) Press together 'Left' and 'Up' button about 3 seconds.

2)  Press 'Mode' button. Then will be changed 'setting menu'.

3) At 'COMM' mode, please set station, baud rate, ....