SAMWONTECH ※ This manual applies to TEMI2300, TEMI2500 and TEMI2700. ※ The model stated the manual content is TEMI2500. Contents 1. Safety Precautions …………………………………………………………………………………………… 1 2. Communication Specifications ………………………………………………………………………………………… 3 3. Communication Setting ………………………………………………………………………………………………… 4 4. Wiring for Communication ……………………………………………………………………………………………… 5 5.
(B) Read and understand this Communication Manual carefully before using the product. (C) This Communication Manual describes functions and features of the product in detail, and SAMWONTECH can not guarantee against over applications would suit a customer’s particular purpose which is not described in this manual.
Page 4
(A) SAMWONTECH does not guarantee or accept responsibility for this product other than the clauses stated in our warranty policy. (B) SAMWONTECH assumes no liability to any party for any loss or damage, direct or indirect, caused by the use or any unpredictable defect of the product.
SAMWONTECH 2. Communication Specification The TEMI2500 controller provides Half-Duplex method support on RS232C and RS485 communication interface. - RS232C interface supports 1:1 direct communication between host computer on network system and TEMI2500. - RS485 interface supports to connect upper level network system with up to 31 slave TEMI2500 controller.
SAMWONTECH 3. Communication setting TEMI2500 provides flexible communication interface RS232C or RS485 from Control Unit directly. ▶ After detaching BACK COVER from Control Unit shown as [Figure-1], communication interface between RS232C and RS485 can be selected with socket and pin-header on power board of Control Board.
SAMWONTECH 4. Wiring for Communication Connector wiring between TEMI2500 and network system depends on communication interface setting (RS232C/RS485). █ Modular Connector Pin-Mapping for COM2 port RS232C RS485 RTX+ RTX- █ Description of Modular Connector Pin-Mapping for COM2 port RS232C RS485 PIN no.
Page 8
SAMWONTECH █ 6 Pin connector wiring for RS232C interface TEMI2500(COM2) Master Station ① ② ② ③ ⑦ ⑧ ③ ⑤ ○ SHIELD Shielded Cable █ 6 Pin connector wiring for RS485 interface TEMI2500(COM2) Master Station TEMI2500(COM2) ① ① RTX- RTX- RTX- ②...
SAMWONTECH 5. Communication Command 5.1 The Frame Structure of standard protocol The frame structure of protocol transmitting upper-level network system to TEMI2500 ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ Address Command Data ① Protocol Header The beginning of communication command with STX (Start of Text), ASCII string with 0x02.
Page 10
SAMWONTECH Example for █ Example ◈ To read the consecutively D-Register from D0001 (TEMP.PV) to D0006 (HUMI.SP) - Request : [stx]01RSD,06,0001[cr][lf] - Request (with CheckSum) : [stx]01RSD,06,0001C9[cr][lf] ☞ As shown below, hexa decimal value adding each text at 01RSD,06,0001 by ASCII code is 2C9, and lower digit 2 characters C9 will be used for CheckSum.
Page 11
SAMWONTECH 5.2 Type of Communication Command Two types of commands are provided on TEMI2500. One is general READ/WRITE command to read and write information on D-Register, and the other is Reference command to read self-information of TEMI2500. Reference Command ▣...
Page 12
SAMWONTECH 5.3 ERROR Response When an Error occurs during communication, TEMI2500 transmits a frame as following. Bytes Frame Address Error Code Description of Error Code ▣ Error Code Description Remarks Invalid Command setting Invalid D-Register setting Invalid text data input...
Page 13
SAMWONTECH 5.4 RSD Command RSD Command is used to read data in a part of D-Register by consecutive address in sequence. Request Message Frame ▣ Bytes Count Frame Address D-Reg. Number Response Message Frame ▣ Bytes … Frame Address Data - 1 …...
Page 14
SAMWONTECH 5.5 RRD Command RRD Command is used to read data in arbitrary single D-Register. Request Message Frame ▣ Bytes … Count Frame Address D-Reg.- 1 … Number D-Reg.- n Response Message Frame ▣ Bytes … Frame Address Data - 1 …...
Page 15
SAMWONTECH 5.6 WSD Command WSD command is used to write data to a part of D-Register by consecutive address in sequence. Request Message Frame ▣ Bytes Count Frame Address D-Reg. Data - 1 Number … … Data - n Response Message Frame ▣...
Page 16
SAMWONTECH 5.7 WRD Command WRD Command is used to write data in arbitrary single D-Register. Request Message Frame ▣ Bytes Count Frame Address D-Reg.- 1 Data - 1 Number … … D-Reg. - n Data - n Response Message Frame ▣...
Page 17
SAMWONTECH 5.8 STD Command STD Command is used to list the D-Registers that is necessary to monitor frequently. Request Message Frame ▣ Byte Count Frame Address D-Reg. - 1 D-Reg. - 2 Number … … D-Reg. - (n-1) D-Reg. - n Response Message Frame ▣...
Page 18
SAMWONTECH 5.9 CLD Command CLD Command is used to read data in the address which had been registered by STD command. Request Message Frame ▣ Bytes Frame Address Response Message Frame ▣ Bytes Frame Address Data - 1 Data - 2 …...
Page 19
SAMWONTECH 5.10 AMI Command AMI Command is used to get the controller own-information. Request Message Frame ▣ Bytes Frame Address Response Message Frame ▣ Bytes Frame Address Model Name SPACE Version-Revision ◈ Exmaple To confirm controller own information - Request...
SAMWONTECH 6. MODBUS Protocol 6.1 The Frame Structure of MODBUS protocol Data Format ▣ Item ASCII Protocol Header :(Colon) Protocol Tail [CR][LF] Data length 7-bit(Fixed) 8-bit(Fixed) Data type ASCII Binary CRC-16 Error detecting (Longitudinal Redundancy Check) (Cyclic Redundancy Check) Data time interval Under 1sec.
Page 21
SAMWONTECH 6.2 Function Code TEMI2500 MODBUS protocol provides two function code subsets for READ/WRITE of D-Register and Loop-Back detecting test. Function Code Description Read data in consecutive D-Register in sequence Write data to arbitrary single D-Register Diagnostics(Loop-Back Test) Write data to consecutive D-Register in sequence When using MODBUS, D-Register has to be subtracted ‘1’...
Page 22
SAMWONTECH 6.3 Function code - 03 Function code-03 is used to read the data of consecutive D-Register block in sequence up to 64 registers. Request Message Frame ▣ Factor ASCII Protocol Header :(Colon) Slave Address 2 characters 8-Bit Function code-03...
Page 23
SAMWONTECH 6.4 Function code - 06 Function code-06 is used to write data in arbitrary single D-Register. Request Message Frame ▣ Factor ASCII Protocol Header :(Colon) Slave Address 2 characters 8-Bit Function code-06 2 characters 8-Bit 2 characters D-Register Hi...
Page 24
SAMWONTECH 6.5 Function code - 08 Function code-08 is used to test loopback for self-diagnosis. Request Message Frame ▣ Factor ASCII Protocol Header :(Colon) Slave Address 2 characters 8-Bit Function code-08 2 characters 8-Bit 2 characters Diagnosis code Hi 8-Bit...
Page 25
SAMWONTECH 6.6 Function code - 16 Function code-16 is used to write the data into consecutive D-Register block in sequence up to 64 registers. ▣ Request Message Frame Factor ASCII Protocol Header :(Colon) Slave address 2 characters 8-Bit 2 characters...
SAMWONTECH 7. D-REGISTER Description D-Register is group of communication data to monitor and control all status of TEMI2500. D-Register is grouped by consecutive 100 addresses based on its concerned function as shown below. D-Register address Group Name Description Read Write...
Page 27
SAMWONTECH 7.1 PROCESS Group PROCESS group consists of fundamental parameter information concerned with operation process and status. Below table describes the detail Bit Map information of some parameter that indicates its status by Bit. █ Bit Map information of TEMI2500 NOWSTS IS.STS...
Page 28
SAMWONTECH █ Bit Map status information D-Register D-Reg. Symbol Descriptions D0010 NOWSTS Current operation status information. D0011 IS.STS INNER signal generating status information. D0012 TS.STS TIME signal generating status information. D0013 ALM.STS ALARM signal generating status information. D0014 ONOFF.STS ON/OFF signal generating status information.
Page 29
SAMWONTECH 7.2 FUNCTION Group FUNCTION group consists of setting parameter D-register related with operational function and process. █ Common Operational Function setting D-Register for both PROG / FIX D-Reg. Symbol Descriptions D0108 FUZZY FUZZY Function (0:0FF, 1:ON) D0112 KEYLOCK KEYLOCK Function (0:0FF, 1:ON) D0114 LIGHT.OFFTM...
Page 30
SAMWONTECH █ OPERATION mode & performance setting D-Register D-Reg. Symbol Process method Setting Description Start running PROG/FIX Oper. HOLD HOLD ON/OFF D0101 COM.OPMODE STEP Segment STEP STOP Stop PROG/FIX Operation PROG Set PROG Operation MODE D0104 OP.MODE Set FIX Operation MODE...
Page 31
SAMWONTECH 7.3 RESERVATION Group RESERVATION group consists of setting and information parameter D-Register related with TIME for Reserve Operation and current time installed in TEMI2500. TIME setting and information █ D-Register D-Reg. Symbol Description Read Write D0201 NOW.YEAR Current YEAR installed in TEMI2500 ○...
Page 32
SAMWONTECH 7.4 ON/OFF SIGNAL Group This setting parameter D-register group is used to establish 9 ON/OFF SIGNALs for temperature and 4 ON/OFF signal for humidity. █ ON/OFF SIGNAL setting D-Register D-Reg. Symbol Descriptions D0301 T1.LSP Low SP for temperature ON/OFF SIGNAL 1 (T1) D0302 T1.MSP...
Page 33
SAMWONTECH 7.5 INNER SIGNAL Group This setting parameter D-register group is used to establish 10 INNER SIGNALs. █ INNER SIGNAL setting D-Register D-Reg. Symbol Descriptions D0401 IS1.TGT Target of INNER SIGNAL 1 (Temp/Humi) D0402 IS1.TYPE Object Type of Target of INNER SIGNAL 1 (SP/PV/MV) D0403 IS1.BAND...
Page 34
SAMWONTECH 7.6 ALARM SIGNAL Group This setting parameter D-register group is used to establish 8 ALARM signals. █ ALARM signal setting D-Register D-Reg. Symbol Descriptions D0500 ALM.OP Condition of ALARM Operation (RUN/ALWAYS) D0501 ALM1.TGT Target object of ALARM signal 1 (TEMP/HUMI) D0502 ALM1.TYPE...
Page 35
SAMWONTECH 7.7 TIME SIGNAL Group This setting parameter D-register group is used to establish 16 TIME SIGNALs. █ TIME SIGNAL setting D-Register D-Reg. Symbol Descriptions D0601 TS2DYTM_H DELAY TIME (HOUR) of generating TIME SIGNAL 2. D0602 TS2DYTM_L DELAY TIME (MIN.& SEC.) of generating TIME SIGNAL 2.
Page 36
SAMWONTECH 7.8 PID Group This setting Group is used for 6 PID subsets for Temperature/Humidity and 3 subsets for Temperature only. █ PID setting D-Register D-Reg. Symbol Descriptions D0701 T.RP1 Temperature Reference Point 1 (T1) to define PID ZONE D0702 T.RP2...
Page 37
SAMWONTECH 7.9 COMMUNICATION Group This group is consists of information parameter D-Register concerned communication. █ COMMUNICATION concerned information D-Register D-Reg. Symbol Descriptions D0801 PROTOCOL Communication Protocol information D0802 Communication speed (Baud Rate) information. D0803 PARITY Parity information D0804 STOP.BIT Stop Bit information D0805 DATA.LENGTH...
Page 38
SAMWONTECH 7.10 INPUT Group This INPUT group is used for setting parameter D-Register for sensor and its bias. █ INPUT setting D-Register D-Reg. Symbol Descriptions D0901 TEMP.IN Temperature INPUT SENSOR type D0902 TEMP.INRH Temperature Range HIGH D0903 TEMP.INRL Temperature Range LOW D0904 TEMP.BIAS...
Page 39
SAMWONTECH 7.11 OUTPUT Group This INPUT group is used for setting parameter D-Register for control output and retransmission. █ OUTPUT setting D-Register D-Reg. Symbol Descriptions D1001 TEMP.OUT Temperature Control OUTPUT type D1002 TEMP.DIR PID Control DIRECTION (FWD/REV) for temperature D1003 TEMP.CT...
Page 40
SAMWONTECH 7.12 DO CONFIG Group DO CONFIG group consists of setting and information parameter D-Register related to establish RELAY number on I/O board to generate signal and its sub setting for auxiliary Digital Output. █ DO CONFIG setting and information D-Register D-Reg.
Page 41
SAMWONTECH 7.13 DI CONFIG Group DI CONFIG group consists of setting parameter D-Register for DI ERROR and its name. █ DI CONFIG setting D-Register D-Reg. Symbol Descriptions D1201 DISP.METHOD DISPLAY METHOD for DI ERROR D1202 DI1.OP_MODE OPERATION MODE when DI 1 ON D1203 DI2.OP_MODE...
Page 42
SAMWONTECH 7.14 PICTURE Group PICTURE group consists of setting parameter D-Register for User Screen viewer. █ PICTURE setting D-Register D-Reg. Symbol Descriptions D1501 VIEW.ROTATE Setting for using User Screen viewer. D1502 R.ST_TIME START TIME by no key input to activate User Screen Viewer D1503 R.INT_TIME...
Page 43
SAMWONTECH 7.15 INITIAL Group INITIAL group consists of setting parameter D-Register for system initial configuration. █ INITIAL setting D-Register D-Reg. Symbol Descriptions D1601 LANGUAGE Language for using TEMI2500 D1602 DISP.MODE DISPLAY MODE for ‘Initial Logo screen’ when PWR ON D1603 UKEY.USE...
Page 44
SAMWONTECH 7.16 PROGRAM PATTERN Group and Setting 7.16.1 PROGRAM Group PROGRAM group consists of parameter D-Register to arrange program PATTERN organized by each segment profile. Each segment should be established step by step. █ Program PATTERN setting D-Register D-Reg. Symbol...
Page 45
SAMWONTECH PROGRAM and its REPEAT operation setting █ D-Register D-Reg. Symbol Descriptions D1736 START.CODE START CODE for operation (0:NOW PV, 1:TEMP SP, 2:HUMI SP) D1737 START.TEMP_SP Temperature START SP (TEMP.SSP) D1738 START.HUMI_SP Humidity START SP (HUMI.SSP) D1741 PT.RPT Count number for PATTERN REPEAT (0:Infinitely, 1 ~ 99) D1742 PT.EMOD...
Page 46
SAMWONTECH 7.16.2 How to READ program PATTERN ▶ Below describes process step to read programmed PATTERN profile in TEMI2500. ① Write PATTERN number to read profile in D1701 ② Write SEGMENT number to read profile in D1702 ③ Write READ TRIGGER('2') in D1707 ④...
Page 47
SAMWONTECH 7.16.3 How to WRITE program PATTERN ▶ Below describes process step to write programming PATTERN profile in TEMI2500. ① Write PATTERN number to program in D1701 ② Write SEGMENT number to program in D1702 ③ Write profile(TSP of temp.& humi. process time etc.)in D1725~D1733 ④...
Page 48
SAMWONTECH ▶ Below describes process step to write program in D1736~D1757. ① Write PATTERN number to program in D1701 ② Write '0' of SEGMENT number to D1702 ③ Write profile(TSP of temp.& humi. process time etc.)in D1736~D1757 ④ Write WRITE TRIGGER('3') in D1707 ⑤...
Page 49
SAMWONTECH 7.16.4 FILE EDIT (PATTERN COPY / DELETE) ▶ Below describes step to copy pattern. ① Write SOURCE PATTERN number to copy in D1701 ② Write TARGET PATTERN number to paste in D1703~D1704 ③ Write PT COPY TRIGGER('4') in D1707 ④...
Page 50
SAMWONTECH 7.17 PATTERN INFO PATTERN INFO group consists of programmed pattern and segment information parameter D-Register. Programmed pattern and segment information █ D-Register D-Reg. Symbol Descriptions D1801 NPT1 The number of programmed SEGMENT in PATTERN no.1 D1920 NPT120 The number of programmed SEGMENT in PATTERN no.120 7.18 FILE...
Page 61
Gyeonggi-do, Korea 420-773 TEL : +82-32-326-9120 FAX : +82-32-326-9119 Website : http://www.samwontech.com e-mail : webmater@samwontech.com The contents of this document are subject to change without prior notice. Printed in Korea : 2008(A) All Rights Reserved. Copyright ⓒ 2008 SAMWONTECH CO.,LTD.
Need help?
Do you have a question about the TEMI2000 Series and is the answer not in the manual?
Questions and answers