STHC-P Micom Controller Communication Driver

 

STHC-P Micom Controller is driver to communicate with thermo-hygrostat of Systronics Co., Ltd, in Korea.

 

1. Read settings

 

<Figure 1> is read setting example of STHC-P Micom Controller communication driver.

<Figure 1> Read setting example of STHC-P Micom Controller 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 setting of device.

Communication speed of STHC-P Micom Controller is fixed to 9600, 0, 8, 1.

 

STHC-P Micom Controller driver's read schedule

Read schedule setting parameters are as follows:

1) Station – Device number between 1 and 28.

2) Read Command Number – Don't care. (Set as blank etc)

3) Read Start Address – Don't care. (Set as  0)

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

5) Read Size – Set as 1. (Read data size is fixed, refer to <Table 1>)

 

Read schedule example)

READ,     1,     ,     0,    0,   1,

 

<Table 1> is save address and contents of STHC-P Micom Controller communication driver's read data.

Save Address

Save Contents

Remarks

Save Addr + 0

Room Temp

Real value = 1/10

Save Addr + 1

Room Humidity

Save Addr + 2

Setting Temp

Save Addr + 3

Cooling Induction Temp

Save Addr + 4

Cooling Induction Humidity

Save Addr + 5

Setting Humidity

Save Addr + 6

Humidification Induction  Humidity

Save Addr + 7

Dehumidification Induction Humidity

Save Addr + 8

Operation Status

BIT7 : Cooling, BIT6 : Heating,

BIT5 : Humidification, BIT4 : Dehumidification,

BIT3 : Alarm

Save Addr + 9

Output Status1

BIT7 : FAN,         BIT6 : COMP1 SOL

BIT5 : COMP1 MG , BIT4 : COMP2 SOL

BIT3 : COMP2 MG,  BIT2 : Heater1

BIT1 : Heater2 ,       BIT0 : Heater3

Save Addr + 10

Output Status2

BIT7 : Heater4,      BIT6 : Heater5

BIT5 : Humidification Heater1 ,  BIT4 : Humidification Heater2

BIT3 : Water supply Output,  BIT2 : Don't care

BIT1 : Drainage Output,  BIT0 : Don't care

Save Addr + 11

ON Time

 

Save Addr + 12

OFF Time

 

Save Addr + 13

Alarm Status1

BIT7 :              BIT6 : High Temp Alarm

BIT5 :              BIT4 :

BIT3 : COMP1 Alarm, BIT2 : COMP2 Alarm

BIT1 : Heater Alarm,   BIT0 : Humidification Heater Alarm

Save Addr + 14

Alarm Status2

BIT7 : FAN Alarm,      BIT6 : Water leak Alarm

BIT5 : Temp Induction Alarm, BIT4 : Humidity Induction Alarm

BIT3 : High humidity Alarm,      BIT2 : Water level abnormality

BIT1 : Don't care,       BIT0 : Don't care

Save Addr + 15

COMP1 Operation Time

 

Save Addr + 16

COMP2 Operation Time

 

Save Addr + 17

Humidifier Operation Time

 

Save Addr + 18

-

 

Save Addr + 19

Operation/Stop status

0 : Disconnection, 1 : STOP, 2 : OPERATION

<Table 1> Save address and contents of STHC-P Micom Controller communication driver's read data

Reference) Read value of STHC-P Micom Controller communication driver is saved at same position of WORD/FLOAT/DWORD/STRING memory, and it is different according to memory type.

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

<Figure 2> Example of STHC-P Micom Controller communication driver's Option dialog box

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

When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.

<Figure 3> Example of STHC-P Micom Controller communication driver's read schedule Add/Edit dialog box
2. Writing settings

You can set settings temperature and humidity by using writing settings.

 

Digital Write

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

 

Analog Write

Analog write setting parameters are as follows:

1) Port             Connected communication port number. (Not COM number)

2) Station         Device number between 1 and 28.

3) Address      Don't care. (Fixed to 0)

4) Extra1          Command type to set.

TEMP : Command of increasing and decreasing setting temperature value,

COOL : Command of increasing and decreasing air-conditioned sensor temperature value,

HEAT : Command of increasing and decreasing heating sensor temperature value,

HUMI : Command of increasing and decreasing setting humidity value,

AHUMI : Command of increasing and decreasing humidification sensor humidity value,

RMUMI : Command of increasing and decreasing dehumidification sensor humidity value,

ON : Command of ON relevant device,

OFF : Command of ON relevant device..

5) Extra2          Don't care.

 

Importance) In case of doing writing settings  by using  TEMP, COOL, HEAT, HUMI, AHUMI, RHUMI command of STHC-P Micom Controller communication driver, if output value is 0, setting value is decreased, and output value is 1, setting value is increased.

 

Write example 1)

PORT : 0   STATION : 1   ADDRESS : 0000  EXTRA1 : TEMP  EXTRA2 : 0

If you set as above and analog output as 1, it can increase the setting temperature value of no.1 device connected with no.0 port.

 

Write example 2)

PORT : 0   STATION : 1   ADDRESS : 0000  EXTRA1 : TEMP  EXTRA2 : 0

If you set as above and analog output as 0, it can decrease the setting temperature value of no.1 device connected with no.0 port.

 

Write example 3)

PORT : 0   STATION : 1   ADDRESS : 0000  EXTRA1 : COOL  EXTRA2 : 0

If you set as above and analog output as 1, it can increase cooling Induction temperature value of no.1 device connected with no.0 port.

 

Write example 4)

PORT : 0   STATION : 1   ADDRESS : 0000  EXTRA1 : HUMI  EXTRA2 : 0

If you set as above and analog output as 1, it can increase setting humidity value of no.1 device connected with no.0 port.

 

Write example 5)

PORT : 0   STATION : 1   ADDRESS : 0000  EXTRA1 : HUMI  EXTRA2 : 0

If you set as above and analog output as 0, it can decrease setting humidity value of no.1 device connected with no.0 port.

 

Write example 6)

PORT : 0   STATION : 1   ADDRESS : 0000  EXTRA1 : RHUMI  EXTRA2 : 0

If you set as above and analog output as 0, it can decrease dehumidification Induction humidity value of no.1 device connected no.0 port.

 

Write example 7)

PORT : 0   STATION : 1   ADDRESS : 0000  EXTRA1 : ON  EXTRA2 : 0

If you set as above and analog output(regardless of output value), it can ON no.1 device connected no.0 port.

 
3. STHC-P Micom Controller deviceÀÇ basic power and communication cable connection

 

Basic power connection

Connect 220 V AC power to R, S terminal of STHC-P device.

 

Communication cable connection

X+, X- terminal of STHC-P device¿¡ RS-485 +, - of computer side.

 

 485 communication terminal of STHC-P side            RS-485 terminal of computer side

                              X+  ---------------------------------------------------------------  +

                              X-  ----------------------------------------------------------------  -

 

<Figure 4> is appearance of connecting basic power and communication cable to STHC-P thermo-hygrostat.

<Figure 4> Appearance of connecting basic power and communication cable to STHC-P thermo-hygrostat