DYS_MDC Communication Driver

 

DYS_MDC communication driver is the driver to communicate with electronic display board of Dongyoung in Korea.

 

1. Read settings

 

<Figure 1> is read setting example of  DYS_MDC communication driver. 

<Figure 1>  Read setting example of  DYS_MDC communication driver

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

 

DYS_MDC communication driver¡¯s read schedule

DYS_MDC communication driver's read schedule input 'READ' one line( or blank ).

 

Read schedule example) 

READ,

 

2. Writing settings

You can write the setting value by using write settings.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Don't care.

3)  ADDRESS           Address of write = 0000 ~ 1600.

4)  Extra1                   Don't care.

5)  Extra2                   Don't care.

 

Write example 1) 

Port : 0,  Station : 0,  Address : 0000,  EXTRA1 : ,  EXTRA2 : 

The setting parameter shown above is a control(On/Off) example of 1st electric display address. 

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Don't care.

3)  ADDRESS           Address of write = 0000 ~ 0999.

4)  Extra1                   Decimal point of protocol = 0 ~ 3.

5)  Extra2                   Decimal point of software = 0 ~ 3.

 

Write example 1) 

Port : 0,  Station : 0,  Address : 0000,  EXTRA1 : 1,  EXTRA2 : 

The setting parameter shown above is a write example of 1st analog display with 1 decimal point.