MODBUS communication driver for DAETech SRTU530

 

MODBUS communication driver for DAETech SRTU530 is the driver to communicate with SRTU530 controller of DAETech in Korea.

 

1. Read settings

 

<Figure 1> is read setting example of MODBUS communication driver for DAETech SRTU530.

<Figure 1> Read setting example of MODBUS2 communication driver for DAETech SRTU530

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.

 

Read schedule of MODBUS communication driver for DAETech SRTU530

Read schedule setting parameters are as follows:

1) STATION – station number of controller.

2) Read function number – function number = 4W, 4F, 3W, ...

3) Read start address – read start address in modbus memory.

4) Save Start Address for Communication Server – readed data saving start address of communication server.

5) Read Size – read size.

 

Read schedule example)

READ,    0,   2B,     0,     0,   1,

READ,    2,   3W,    7,     1,   8,

 

3W of Above example is 3 function code and word unit read setting. (D : double word register data reading, F : IEEE 32bit float , X : bit device, W : word device, B : byte device )

 

2. Write settings

You can set DAETech SRTU530 controller by using write settings.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             station number of controller.

3)  ADDRESS           writing address in modbus ( function ) memory.

4) Extra1                    writing function code = 5, ...

5) Extra2                    don't care.

 

Write example 1)

PORT:0,  station:0, ADDRESS:0001, Extra1: ,  Extra2 : 2

The setting parameter shown above is digital write setting example of 1 address for digital memory( default = function 5 ) .

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             station number of controller.

3)  ADDRESS           writing address in modbus ( function ) memory.

4) Extra1                    writing function code = 16, ...

5) Extra2                    don't care.