Light Star DPM communication driver

 

Light Star DPM communication driver is the driver to communicate with DPM controller.

 

1. Read Settings

 

<Figure 1> is read setting example of Light Star DPM communication driver.

<Figure 1>  Read setting example of Light Star DPM communication 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 controller.

 

Note) Baud rate, Paribut bit, Data bit, Stop bit of Light Star DPM controller are fixed to 9600, 0, 8, 1.

 

LG GH1000 communication driver read schedule

Light Star DPM controller don't need to set Read schedule.

 

2. Writing settings

 You can write Light Start controller by using 'writing settings'. 

 

Digital Write

Light Star DPM communication driver don't spport 'Digital Write'.

 

Analog Write 

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             don't care.

3)  ADDRESS          0000 ~ 00FF writing address. ( hex-decimal unit )

4)  Extra1                  don't care.

5) Extra2                   selection of DPM type. 0(default) = 4 Digit display,  6 = 6 Digit display.

 

Write example 1)

PORT:0,  station:0, ADDRESS:000C, Extra1:,  Extra2 : 0

The setting parameter shown above is a write setting example of 0C address, 4Digit display controller.

 

Write example 1)

PORT:0,  station:0, ADDRESS:000C, Extra1:,  Extra2 : 6

The setting parameter shown above is a write setting example of 0C address, 6Digit display controller.

 

Note) You can set decimal point by using Decimal Point Dip Switch of Light Start DPM controller.

 

3. Setting of decimal point dip switch

<Table 1> is decimal point dip switch setting method of Light Star DPM controller. ( refer to Light Start Manual for 6Digit display )

Dip Switch Decimal point shift(fn) setting at Analog Input Tag
off,off don't use decimal point 0
off,on  1 digit decimal point 1
on,off  2 digit decimal point 2
on,on 31 digit decimal point 3
<Table 1> Decimal point dip switch setting method of Light Star DPM controller

Normally(default) when you write data '123.4' at SCADA Server program after set 1 digit decimal point, will be display '12.3' at Light Start DPM controller.

In this case, you can fix the problem by setting 'shift(fn) : 1' of Analog Output Tag setting.