HJ RCU communication driver is the driver to communicate with RCU controller of Hanjun Mechanism Co., Ltd. in Korea.
<Figure 1> is read setting example of HJ RCU communication driver.
<Figure 1> Read setting example of HJ RCU communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(19200), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according to setting of controller.
Note) HJ RCU communication driver should to set Read cycle time about 200ms.
HJ RCU communication driver read schedule
Read schedule setting parameters are as follows:
1) Station – 0 ~ 9 repeater number.
2) Read Command – Command = fixed to READ. ( 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 – 1 ~ 16 number of room. ( Refer to <Table 1> )
Read schedule example)
READ, 1, READ, 0, 0, 16,
<Table 1> is data saving address and contetns of HJ RCU communication driver.
Data Saving Address |
Contents |
Remarks |
Start Add + 0 |
1st room status |
1 = needed clean, 2 = empty, 3 = guests waiting, 4 = occupancy, 5 = cleaning, 6 = preliminary, 7 = going out, 8 = preliminary, 9 = occupancy |
Start Add + 1 |
1st room contact status |
bit 0 = power ON(1)/OFF(0) bit 1 = emergency call(ON)normal(OFF) bit 2 ~ 3 = don't care bit 4 = door open(ON)/close(OFF) bit 5 = break in(ON)/normal(OFF) bit 6 = file occur(ON)/normal(OFF) bit 7 = don't care |
Start Add + 2 |
1st room preliminary status |
|
Start Add + 3 |
1st room temperature |
decimal unit |
Start Add + 4 ~ 7 |
2nd room status, contact status,¡¦ |
change according to number of room. max = 16 rooms |
Start Add + 8 ~ 11 |
3rd room status, contact status,¡¦ |
|
¡¦ |
¡¦ |
|
<Table 1> Data saving address and contetns of HJ RCU communication driver |
HJ RCU communication driver store the same data in WORD, DWORD, FLOAT memory, but the data format 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 HJ RCU communication driver¡¯s Option dialogue box |
You can set read schedule by using , , button and listbox of <Figure 2>.
<Figure 3> Example of HJ RCU 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> is shown.
You can control room status and temperature 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 0 ~ 9 repeater number.
3) ADDRESS 0 ~ 15(decimal unit) controller order number.
4) Extra1 Write command = SET.
5) Extra2 Room status value = 1 = needed clean, 2 = empty, 3 = guests waiting, 4 = occupancy, 5 = cleaning, 6 = preliminary, 7 = going out, 8 = preliminary, 9 = occupancy. ( refer to <Table 1> )
6) Output value Setting value of room temperature(0 ~ 99 ¡É, decimal unit).
Write example 1)
PORT:0, station:1, ADDRESS:0000, Extra1:SET, Extra2 : 9, Output value : 25
The setting parameter shown above is room status control and setting of room temperature example of 1st room, 1 repeater HJ RCU controler. The setting value : room status = occupancy( 9 ), room temperature = 25 ¡É.
Write example 2)
PORT:0, station:1, ADDRESS:0015, Extra1:SET, Extra2 : 9, Output value : 27
The setting parameter shown above is room status control and setting of room temperature example of 16th room, 1 repeater HJ RCU controler. The setting value : room status = occupancy( 9 ), room temperature = 27 ¡É.
<Figure 4> is appearance of HJ RCU repeater.
<Figure 5> is appearance of HJ RCU controller.
<Figure 4> Appearance of HJ RCU repeater |
<Figure 5> Appearance of HJ RCU controller |