GP-9002 ACP Controller Communication Driver

 

GP-9002 ACP Controller is the driver to communicate with ACP CAC Controller of LG Electronics in Korea.

 

1. Read settings

<Figure 1> is read setting example of  GP-9002 ACP Controller communication driver.

<Figure 1> Read setting example of GP-9002 ACP Controller communication driver

 

Device part of  <Figure 1> input device type(TCP/IP), IP address of controller(192.168.0.71), TCP service port(9002)  respectively, accordint to the setting of equipment.

 

Read schedule of GP-9002 ACP Controller communication driver

Read schedule setting parameters are as follows:

1) station – don't card.

2) read command – Command = PEAK, PERM.

3) read 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, 1, PEAK, 0, 0, 1,

 

<Table 1> is data saving address and readed value for each read command of GP-9002 ACP Controller communication driver.

Read Command

Contents

Data saving value of Communication Server

Remarks

PEAK

read of peak power control status value

Saving Start Address + 0 : peak power mode

Saving Start Address + 1 : aircon utilization(%)

Saving Start Address + 2 : aircon utilization watt

Saving Start Address + 3 : maximum peak setting utilization(%)

Saving Start Address + 4 : maximum peak setting watt

Saving Start Address + 5 : watt when 100% opertion

Saving Start Address + 6 : minimum watt when peak operation setting

Saving Start Address + 7 : maximum watt when peak operation setting

Saving Start Address + 8 : changing time when peak operation changing 

0 = don't use, 1 = running, 2 = minitoring
0 ~ 100%
W unit, double word data
0 ~ 100%
W unit, double word data
W unit, double word data
W unit, double word data
W unit, double word data
Sec unit, word data

PERM

read of Permission key value

Saving Start Address + 0 : permission key value

Saving Start Address + 1 : permission key data

Saving Start Address + 2 : permission key data

Saving Start Address + 3 : permission key data

Saving Start Address + 4 : setting of language

Saving Start Address + 5 : maximum number of user

Saving Start Address + 6 : number of user

key value = (bit 0 : system control, bit 1: system monitor,
bit 2 : schedule control, bit 3 : peak power control,
bit 4 : power distribution, bit 5 : system log,
bit 6 : settong of system, bit 7 : duct system)
language : 0 = korean, 1 = english, 2 = chinese, 3 = french
number of user : 0 = don't use, 1 = 4 client, 2 = 8 client
number of aircon : higher 4bit = number of multi V, lower 4bit number of SGL
<Table 1> Data saving address and readed value for each read command

GP-9002 ACP Controller communication driver store the same data in WORD, DWORD, FLOAT, DOUBLE, INT64 memory, but the data format are different. 

If you click the icon  in protocol option part at <Figure 1>, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part. 

<Figure 2> Example of GP-9002 ACP Controller communication driver¡¯s Option dialog box

 

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

<Figure 3> Example of GP-9002 ACP Controller 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 set setting value  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             don't care.

3)  ADDRESS          writing data type. ( refer to <Table 1> )

0 = setting of peak power mode, 1 = aircon utilization(%), 2 = aircon utilization watt, 3 = maximum peak setting utilization(%), 4 = maximum peak setting watt,

5 : watt when 100% opertion, 6 = minimum watt when peak operation setting, 7 = maximum watt when peak operation setting, 8 = changing time when peak operation changing. 

4)  Extra1                  write command : PEAK.

5)  Extra2                 don't care.

 

Write example 1)  

PORT : 0   STATION : 0  ADDRESS : 0003  EXTRA1 : PEAK   EXTRA2 : 0

The setting parameter shown above is example of maximum peak setting utilization.

 

Write example 1) 

PORT : 0   STATION : 0  ADDRESS : 0004  EXTRA1 : PEAK   EXTRA2 : 0

The setting parameter shown above is example of maximum peak setting watt.

 

3.  Appearance of GP-9002 ACP Controller

<Figure 4> shows the appearance of GP-9002 ACP Controller.

<Figure 4> Appearance of GP-9002 ACP Controller