SDS21 is DDC controller of Seung IL Electronic.
<Figure 1> Read setting example of SDS21 DDC controller driver |
Device part of <Figure 1> input Com Port(COM1), Com Baud(9600), Parity Bit(0), Data Bit(8), Stop Bit(Fixed to 1) respectively, according to controller.
In case of RS 485 communication, set the Device part as connected communication port, Com Baud(9600), Parity Bit(0), Data Bit(8), Stop Bit(1), TxDTR, RxON, 300(Delay time after DTR OFF).
SDS21 driver's READ schedule
Read schedule setting parameters are as follows :
1) STATION - STATION number of SDS21 controller.
2) FUNCTION(Data Property) - 1 : SINGLE BYTE OBJECT, 2 : WORD, 6 : STRING
3) Read Start Address - Start address of each index
4) Save Start Address for Communication Server - ScanBuf position to save the read value.
5) Read Size - Normally maximum 32
6) OBJECT Number - Input OBJECT number as the number.
7) STARTING INDEX - INDEX number of OBJECT.
READ schedule example)
READ, 7040, 2, 0, 0, 32, 33, 0,
READ, 7040, 2, 0, 40, 3, 33, 1,
The following is memory save address of general(0 property) data read and contents.
Order | Contents | Remarks |
1 : | Indoor Temp Value | Unit : 0.01กษ |
2 : | Indoor Humidity Value | Unit : 0.1%RH |
3 : | HALON Status | 1=Normal, 0=Alarm |
4 : | Cooler Operation Status | FF=Operation, 0=Stop |
5 : | Unit 1 Operation Status | 1=Normal, 0=Alarm |
6 : | Unit 2 Operation Status | 1=Normal, 0=Alarm |
7 : | Alternation Spare Time | Unit : HOUR |
8 : | High Temp Alarm | 60h,0=Normal, 62h=Alarm |
9 : | Low Temp Alarm | 60h,0=Normal, 62h=Alarm |
10 : | High Humidity Alarm | 60h,0=Normal, 62h=Alarm |
11 : | Low Humidity Alarm | 60h,0=Normal, 62h=Alarm |
12 : | HALON Alarm | 60h,0=Normal, 62h=Alarm |
13 : | Unit 1 Water Leak Error | 60h,0=Normal, 62h=Alarm |
14 : | Unit 1 Indoor Unit Error | 60h,0=Normal, 62h=Alarm |
15 : | Unit 1 Outdoor Unit Error | 60h,0=Normal, 62h=Alarm |
16 : | Unit 2 Water Leak Error | 60h,0=Normal, 62h=Alarm |
17 : | Unit 2 Indoor Unit Error | 60h,0=Normal, 62h=Alarm |
18 : | Unit 2 Outdoor Unit Error | 60h,0=Normal, 62h=Alarm |
19 : | Indoor Temp Setting | Unit : 0.01กษ |
20 : | SPARE(High Temp Setting) | |
21 : | SPARE(Low Temp Setting) | |
22 : | High Temp Alarm Setting | Unit : 0.01กษ |
23 : | Low Temp Alarm Setting | Unit : 0.01กษ |
24 : | High Humidity Alarm Setting | Unit : 0.1%RH |
25 : | Low Humidity Alarm Setting | Unit : 0.1%RH |
26 : | Alternation Setting Time | Unit : HOUR |
27 : | SPARE(Return from Error Occurrence) | |
28 : | SPARE(Select Air-Conditioning Operation) | |
29 : | SPARE(Select Air Blow Operation) | |
30 : | SPARE(Select Unit 1 Operation) | |
31 : | SPARE(Select Unit 2 Operation) | |
32 : | Cooler Operation/Stop | 1=Operation, 0=Stop |
The following is memory order of TIMER setting(1 property) data read and contents.
Order | Contents | Remarks |
1 : | Deley Time for Restart | Unit : SEC |
2 : | Delay Time for Unit 1 Compressor | Unit : SEC |
3 : | Delay Time for Unit 2 Compressor | Unit : SEC |
Digital Write
Digital write setting parameters are as follows :
1) PORT : PORT number.
2) STATION : STATION number. (No.7040 at above example)
3) ADDRESS : Output address. (Digital output address)
4) EXTRA 1 : OBJECT number.
5) EXTRA 2 : INDEX number of OBJECT.
Write example)
PORT : 0 STATION:7040 ADDRESS:1Fh EXTRA1 : 33 EXTRA2 : 0
If you set as above, you can control(ON/OFF) 1F address(32th) memory value of no.0 index of no.33 object of 7040 station for SDS21 controller.
Analog Write
Analog write setting parameters are as follows:
1) PORT : PORT number.
2) STATION : STATION number. (No.7040 at above example)
3) ADDRESS : Output address. (Analog output address)
4) EXTRA1 : OBJECT number.
5) EXTRA2 : INDEX number of OBJECT.
Select WORD value output between 0 and 255, and select BYTE value output between 256 and 511.
In case of BYTE value output, INDEX number is EXTRA2 - 256.
Write example)
PORT : 0 STATION:7040 ADDRESS:14 EXTRA1:33 EXTRA2 : 0
If you set as above, you can change no.14 address(23th) setting value of no.0 index of no.33 object of 7040 station for SDS21 controller.