Modern Tech Display Total communication driver

 

 

Modern Tech Display Total communication driver is the driver to communicate with display board Modern Tech in Korea.

 

1. Read Settings

 

<Figure 1> is read setting example of Modern Tech Display Total communication driver.

<Figure 1>  Read setting example of Modern Tech Display Total communication driver

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

Also you can set 'number of display board'( 1 ~ 50, default = 4) by using option part. ( 1 set = rainfall of a hour, maximum of hour, rainfall of today, rainfall of sum )

 

Modern Tech Display Total communication driver read schedule

Modern Tech Display Total communication driver's read schedule input 'READ' one line( or blank ).

 

2. Writing settings

You can write to display board by using 'writing 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             option of space.

0 – display to 'space',

other – display to '0'.  example) 0000, 000

3)  ADDRESS          writing data type.

0 – write to display board from saved memory data,

1 – basic month, day, hour,  (6 digit output value - higher 2digit : month, middle 2digit : day, lower 2digit : hour)

2 – current month, day, hour,  (6 digit output value - higher 2digit : month, middle 2digit : day, lower 2digit : hour)

3  ~  6 – rainfall of a hour, maximum of hour, rainfall of today, rainfall of sum at the city hall,  ( 0 ~ 9999 )

7  ~ 10 – rainfall of a hour, maximum of hour, rainfall of today, rainfall of sum at SuTeck,  ( 0 ~ 9999 )

11 ~ 14 – rainfall of a hour, maximum of hour, rainfall of today, rainfall of sum at ToPyung,  ( 0 ~ 9999 )

15 ~ 18 –  rainfall of a hour, maximum of hour, rainfall of today, rainfall of sum at reserved,  ( 0 ~ 9999 )

...

memory address can be set up : 199 ~ 202 ( according to 'number of display board' at Protocol Option part )

4)  Extra1                  write command.

SET – write at memory corresponding to the 'Address' value, ( don't wirte to display board )

other - write memory and write to display board from all saved data. 

5) Extra2                   current time setting method.

0  - use current month, day, hour of computer,

other : use setting of current hour, day, month write command( Address = 3 ).

 

Write example 1)

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

The setting parameter shown above is write to display board example from all saved data at memory.

 

Write example 2)

PORT:0,  station:0, ADDRESS:0001, Extra1:  ,  Extra2 : 0, Output value = 82112

The setting parameter shown above is basic month, day, hour setting example, the setting hour = 12, day = 21, month = 8.

 

Write example 3)

PORT:0,  station:0, ADDRESS:0001, Extra1:SET,  Extra2 : 0, Output value = 82112

The setting parameter shown above is basic month, day, hour setting(only at memory value) example, the setting hour = 12, day = 21, month = 8.

 

Write example 4)

PORT:0,  station:0, ADDRESS:0003, Extra1: ,  Extra2 : 0, Output value = 1234

The setting parameter shown above is rainfall of a hour setting example at the city hall, the setting rainfall value = 1234.

 

Write example 4)

PORT:0,  station:0, ADDRESS:0010, Extra1: ,  Extra2 : 0, Output value = 32

The setting parameter shown above is rainfall of sum setting example at the SuTeck, the setting rainfall value = 32.