Samsung AHU System Communication Driver

 

Samsung AHU System Communication Driver is the driver to communicate with  system air conditioner of Samsung Electronics Co., Ltd. in Korea.

 

1. Read settings

 

<Figure 1> is read setting example of Samsung AHU System communication driver.

<Figure 1>  Read setting example of Samsung AHU System 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 weather to use 'Error Status Save to Memory'(0 : don't save, 1 : save, default = 0) and 'Tracking Period'(0 ~ 180 sec, default = 120), 'use of Old ROM Version'(0 : new version, 1 : old version, default = 0) are set by using option part.

 

 

Samsung AHU System communication driver¡¯s read schedule

Read schedule setting parameters are as follows:

1) STATION – 0 ~ 15 equipment address.

2)  Read Command – Read command = CURR.(Refer to <Table 1>)

3) Read Start Address – Don't care.

4) Save Start Address for Communication Server – Saving start address of Communication Server.

5) Read Size – Size = Fix to 1.

 

Read schedule example)

READ, 0, CURR, 0, 0, 1,

 

<Table 1> is a description of read command and stored values of Samsung AHU System communication driver.

Read Command Contents AHU Kit No. Stored Values Remarks
CURR Read of Current AHU Status  AHU Kit No. 0 Start Add + 0 :  Setting Temperature
Start Add + 1 :  Current Temperature
Start Add + 2 :  Wind Direction( 0 = Stop, 1 = Top/Down/Left/Right, 2 = Left/Right, 3 - Top/Down, Other = Unknown)
Start Add + 3 :  Wind Quantity( 0 = Auto, 1 = Low, 2 = Medium, 3 - High, Other = Unknown)
Start Add + 4 :  Run/Stop Status( 0 = Stop, 1 =Run, Other = Unknown)
Start Add + 5 :  Run Mode( 0 = Auto, 1 = Cooler, 2 = dehumidity, 3 = Ventilate, 4 = Heater, Outer = Unknown)
Start Add + 6 :  Control Level( 0 ~ 2 = 0 ~ 2 Level, Other = Unknown)
Start Add + 7 :  Filter Warning( 0 = Warning Off, 1 = Warning ON)

   ***  When don't save Error Status ***
Start Add + 8 : AUX 1 ( 2 Byte) 
Start Add + 9 :AUX 2 ( 3 Byte , DWORD memory) 

   ***  When save Error Status ***
Start Add + 8 : Error Status of AHU Kit No. 0,  2 Byte(0 = none Error)
Start Add + 9 :  Error Status of Outside air conditioner,  2 Byte(0 = none Error)
 If does not installed
AHU Kit,  don't save
AHU Kit status
at 'Stored Values'.
 AHU Kit No. 1 Start Add + 10 :  Setting Temperature
Start Add + 11 :  Current Temperature
Start Add + 12 :  Wind Direction( 0 = Stop, 1 = Top/Down/Left/Right, 2 = Left/Right, 3 - Top/Down, Other = Unknown)
Start Add + 13 :  Wind Quantity( 0 = Auto, 1 = Low, 2 = Medium, 3 - High, Other = Unknown)
Start Add + 14 :  Run/Stop Status( 0 = Stop, 1 =Run, Other = Unknown)
Start Add + 15 :  Run Mode( 0 = Auto, 1 = Cooler, 2 = dehumidity, 3 = Ventilate, 4 = Heater, Outer = Unknown)
Start Add + 16 :  Control Level( 0 ~ 2 = 0 ~ 2 Level, Other = Unknown)
Start Add + 17 :  Filter Warning( 0 = Warning Off, 1 = Warning ON)

  ***  When don't save Error Status ***
Start Add + 18 : AUX 1 ( 2 Byte) 
Start Add + 19 :AUX 2 ( 3 Byte , DWORD memory) 

   ***  When save Error Status ***
Start Add + 18 : Error Status of AHU Kit No. 0,  2 Byte(0 = none Error)



...

(Max Kit No 63)


...
<Table 1> Read commands type and stored values of Samsung AHU System communication driver

 

Samsung AHU System communication driver store the same data in WORD, DWORD, FLOAT, DOUBLE, INT64 memory, but the data formats are different.

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

<Figure 2> Example of Samsung AHU System communication driver¡¯s Option dialogue box

 

Whether  to use error status save to memory and tracking period time, use of old ROM version are set by using the part of ¡®Error Status Save to Memory¡¯, ¡®Tracking Period¡¯, 'Old ROM Version' shown in <Figure 2>.

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

<Figure 3> Example of Samsung AHU System communication driver¡¯s read schedule Add/Edit dialogue box

 

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> will be shown.

 

 

2. Write settings

You can write setting values of AHU System by using write commands.

 

 

Bit write

Bit write and word write have the same setting parameters except output value(0 or 1).

 

 

Word write

Word write setting parameters are as follows:

1) PORT : Port no. (0 ~ 255)

2) STATION : 0 ~ 15 equipment address.

3) ADDRESS : 0 ~ 63 AHU Kit No.

4) EXTRA 1 : Write command = DIR, WIND, TEMP, MODE, RUN, LEVEL.(Refer to <Table 2>)

5) EXTRA 2 : Don't care.

 

<Table 2> is a description of write commands and write values of Samsung AHU System communication driver.

Write Command Contents Write Value
DIR Setting of Wind Direction 0 = Stop,
1 = Top/Down/Left/Right,
2 = Left/Right,
3 = Top/Down
WIND Setting of Wind Quantity 0 = Auto,
1 = Low,
2 = Medium,
3 = High
TEMP Setting of Temperature 0 ~ 31
(Min/Max value are changed by operation mode)
MODE Setting of Operation Mode 0 = Auto,
1 = Cooler,
2 = dehumidity,
3 = Ventilate,
4 = Heater
RUN Control of Run/Stop 0 = Stop,
1 = Run
LEVEL Setting of Operation Level 0 = Level 0,
1 =Level 1,
2 =Level 2,
<Table 2> Write commands and write values for Samsung AHU System communication driver

 

Write example 1)

PORT:0,  station:0, ADDRESS:0000, Extra1:DIR, Extra : 0

The setting parameter shown above is an example of word write for wind direction setting of Samsung AHU System connected with 0 port and 1 equipment address(station).

 

Write example 2)

PORT:0,  station:0, ADDRESS:0002, Extra1:TEMP, Extra : 0

The setting parameter shown above is an example of word write for temperatur setting of Samsung AHU System connected with 0 port and 1 equipment address, AHU kit no. 2.

 

Write example 3)

PORT:0,  station:1, ADDRESS:0005, Extra1:RUN, Extra : 0

The setting parameter shown above is an example of word write for run/stop control of Samsung AHU System connected with 0 port and 1 equipment address, AHU kit no. 5.

 

 

Block write

Samsung AHU System communication driver don¡¯t support ¡®Block write¡¯.