SAMWONTECH ※ This manual applies to TEMP2520 and TEMP2720. ※ The model stated the manual content is TEMP2520. Contents 1. Safety Precautions ………………………………………………………………………………… ………… 1 2. Communication Specifications ………………………………………………………………………………………… 3 3. Communication Setting ………………………………………………………………………………………………… 4 4. Wiring for Communication ……………………………………………………………………………………………… 5 5.
SAMWONTECH 1. Safety Precautions Thank you for purchasing TEMP2520, programmable controller. This Communcation Manual describes communication of the TEMP2520 controller. SAFETY SYMBOL MARK 음 음 (A) Symbolizes ‘Caution’ and ‘Warning’. The information with this symbol is especially important for preventing from user injury and protecting the product and system. (1) Product : This symbol indicates an imminently hazardous situation which if not avoided, will result in serious injury or system damage.
SAMWONTECH Precautions for Safety and Unauthorized Modification 음 음 (A) For protecting and ensuring the safety of this product and relevant system, all of the safety instructions and precautions should be well recognized and strictly observed by all users. (B) SAMWONTECH does not guarantee against damage resulting from unauthorized alteration, misuse, or abuse.
SAMWONTECH 2. Communication Specification The TEMP2520 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 TEMP2520. - RS485 interface supports to connect upper level network system with up to 31 slave TEMP2520 controller. █...
SAMWONTECH 3. Communication setting TEMP2520 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 TEMP2520 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.
Seite 8
SAMWONTECH █ 6 Pin connector wiring for RS232C interface TEMP2520(COM2) Master Station ① ② ② ③ ⑦ ⑧ ③ ⑤ ○ SHIELD Shielded Cable █ 6 Pin connector wiring for RS485 interface TEMP2520(COM2) TEMP2520(COM2) Master Station ① ① 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 TEMP2520. ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ Address Command Data ① Protocol Header The beginning of communication command with STX (Start of Text), ASCII string with 0x02. ②...
Seite 10
SAMWONTECH █ Example for ◈ Example To read the consecutively D-Register from D0001 (CH1.NPV) to D0006 (CH2.MVOUT) - Rrquest : [stx]01RSD,06,0001[cr][lf] - Rrquest (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.
Seite 11
SAMWONTECH 5.2 Type of Communication Command Two types of commands are provided on TEMP2520. 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 TEMP2520. ▣ Reference Command Command Description Displays model name and Version-Revision of TEMP2520...
SAMWONTECH 5.3 ERROR Response When an Error occurs during communication, TEMP2520 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 Data Setting Error (Available 0~9, A~F : hexadecimals) ▪...
Seite 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 …...
Seite 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 …...
Seite 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 bytes Frame Address...
Seite 16
SAMWONTECH 5.7 WRD Command WRD Command is used to write data in arbitrary single D-Register. ▣ Request Message Frame byte 수 Count Frame Address D-Reg.- 1 Data - 1 Number … … D-Reg. - n Data - n ▣ Response Message Frame bytes Frame Address...
Seite 17
SAMWONTECH 5.8 STD Command STD Command is used to list the D-Registers that is necessary to monitor frequently. ▣ Request Message Frame bytes Count Frame Address D-Reg. - 1 D-Reg. - 2 Number … … D-Reg. - (n-1) D-Reg. - n ▣...
Seite 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 …...
Seite 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 ◈ Example To confirm controller own information - Request : [STX]01AMI[CR][LF] - Request (with CheckSum) : [STX]01AMI38[CR][LF]...
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.
Seite 21
SAMWONTECH 6.2 Function Code TEMP2520 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’...
Seite 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 2 characters 8-Bit 2 characters...
Seite 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 8-Bit 2 characters D-Register Lo...
Seite 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 2 characters Diagnosis code Lo 8-Bit...
Seite 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 Function code-16 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 TEMI2520. D-Register is grouped by consecutive 100 addresses based on its concerned function as shown below. D-Register address Group Name Description Read Write D0001~D0099 PROCESS General operation process information...
Seite 27
SAMWONTECH 7.1 PROCESS 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 TEMP2520-1 CH1NOW.STS CH2NOW.STS CH1IS.STS CH2IS.STS...
Seite 28
SAMWONTECH █ Bit Map information of TEMP2520-1 CH1ADERR.STS CH2ADERR.STS CH1DOCTR.STS CH2DOCTR.STS CH1CTR.STS CH2CTR.STS (D0022) (D0023) (D0024) (D0025) (D0026) (D0027) +OVER +OVER -OVER -OVER WAIT WAIT WAIT WAIT S.OPN S.OPN DOWN DOWN DOWN DOWN SOAK SOAK SOAK SOAK FEND FEND FEND FEND PTEND PTEND...
Seite 29
SAMWONTECH █ Bit Map status information D-Register D-Reg. 기 호 내 용 D0010 CH1NOW.STS [CH1] Current operation status information. D0011 CH2NOW.STS [CH2] Current operation status information. D0012 CH1IS.STS [CH1] INNER signal generating status information. D0013 CH2IS.STS [CH2] INNER signal generating status information. D0014 CH1TS.STS [CH1] TIME signal generating status information.
Seite 30
SAMWONTECH █ PROGRAM operation process information D-Register D-Reg. 기 호 내 용 D0040 CH1RUN.PTNO [CH1] Currently running program pattern number D0041 CH1RUN.SEGNO [CH1] Currently running program segment number D0042 CH2RUN.PTNO [CH2] Currently running program pattern number D0043 CH2RUN.SEGNO [CH2] Currently running program segment number D0044 CH1NOW.PT.RPT [CH1] Count of current Repeat operation at running pattern...
Seite 31
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 D0112 CH1.FUZZY [CH1] FUZZY Function (0:0FF, 1:ON) D0113 CH2.FUZZY [CH2] FUZZY Function (0:0FF, 1:ON) D0121 KEYLOCK...
Seite 32
SAMWONTECH █ FIX Operation & Function setting D-Register D-Reg. 기 호 내 용 D0104 CH1FIX.TSP [CH1] Set Point on FIX operation D0105 CH2FIX.TSP [CH2] Set Point on FIX operation D0110 CH1.SLOPE [CH1] UP/DOWN Setting the slope D0111 CH2.SLOPE [CH2] UP/DOWN Setting the slope D0114 CH1TIME.OP [CH1] TIME OPERATION (0:UNUSE, 1:USE)
Seite 33
SAMWONTECH 7.3 RESERVATION Group RESERVATION TEMP2520 hours of group identification, and book set, PROGRAM driver's start time and end time of operation consists of related D-Register. TIME setting and information █ D-Register D-Reg. Symbol Description Read Write D0202 NOW.YEAR Current YEAR installed in TEMP2520 ○...
Seite 34
SAMWONTECH █ PROGRAM Start time and end time running D-Reg. Symbol Description D0260 CH1_TIME_VALID [CH1] Show start time and end time (0: Normal, 1:---.-) D0261 CH1_START_YEAR [CH1] Setting start time (Year) D0262 CH1_START_MON [CH1] Setting start time (Month) D0263 CH1_START_DAY [CH1] Setting start time (Day) D0264 CH1_START_HOUR...
Seite 35
SAMWONTECH 7.4 ON/OFF SIGNAL Group This setting parameter D-register group is used to establish 6 ON/OFF SIGNALs for [CH1] and 6 ON/OFF SIGNALs for [CH2]. █ [CH1] ON/OFF SIGNAL setting D-Register D-Reg. Symbol Description D0301 T1.LSP [CH1] Low SP for ON/OFF SIGNAL T1. D0302 T1.MSP [CH1] Middle SP for ON/OFF SIGNAL T1.
Seite 36
SAMWONTECH 7.5 INNER SIGNAL Group This setting parameter D-register group is used to establish 8 INNER SIGNALs for [CH1] and 8 INNER SIGNALs for [CH2]. █ [CH1] INNER SIGNAL setting D-Register D-Reg. Symbol Descriptions [CH1] Object Type of Target of INNER SIGNAL1. D0401 IS1.TYPE (0:SP, 1:PV, 2:TSP)
Seite 37
SAMWONTECH 7.6 ALARM SIGNAL Group This setting parameter D-register group is used to establish 4 ALARM SIGNALs for [CH1] and 4 ALARM SIGNALs for [CH2]. █ [CH1] ALARM signal setting D-Register D-Reg. Symbol Descriptions [CH1] Condition of ALARM Operation. D0501 CH1ALM.OP (0:RUN, 1:ALWAYS) D0505...
Seite 38
SAMWONTECH 7.7 SEGMENT ALARM SIGNAL Group This setting parameter D-register group is used to establish 8 SEGMENT ALARM SIGNALs for [CH1] and 8 SEGMENT ALARM SIGNALs for [CH2]. █ [CH1] SEGMENT ALARM signal setting D-Register D-Reg. Symbol Descriptions D0601 CH1SA1.TYPE [CH1] Type of SEGMENT ALARM signal 1.
Seite 39
SAMWONTECH 7.8 TIME SIGNAL Group This setting parameter D-register group is used to establish 19 TIME SIGNALs. █ TIME SIGNAL setting D-Register D-Reg. Symbol Descriptions D0701 TS2DYTM_H DELAY TIME (HOUR) of generating TIME SIGNAL 2. D0702 TS2DYTM_L DELAY TIME (MIN. & SEC.) of generating TIME SIGNAL 2. D0703 TS2KPTM_H OPER.TIME (HOUR) to keep generating TIME SIGNAL 2.
Seite 40
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 COM2.PROTOCOL [COM2] Communication Protocol information D0802 COM2.BPS [COM2] Communication speed (Baud Rate) information. D0803 COM2.PARITY [COM2] Parity information. D0804 COM2.STOP.BIT [COM2] Stop Bit information.
Seite 41
SAMWONTECH 7.10 PICTURE Group PICTURE group consists of setting parameter D-Register for User Screen viewer. █ PICTURE setting D-Register D-Reg. Symbol Descriptions D0901 VIEW.ROTATE Setting for using User Screen viewer. D0902 R.ST_TIME START TIME by no key input to activate User Screen Viewer D0903 R.INT_TIME INTERVAL TIME to display next image.
Seite 42
SAMWONTECH 7.11 PID Group This setting parameter D-register group is used to establish 6 PID GROUP for [CH1] and 6 PID GROUP for [CH2]. █ PID setting D-Register D-Reg. Symbol Descriptions D1001 CH1.RP1 D1002 CH1.RP2 [CH1] Reference Point 1 (T1) to define PID ZONE. D1003 CH1.RP3 D1004...
Seite 43
SAMWONTECH █ [CH1] Heating(Normal) PID setting D-Register D-Reg. Symbol Descriptions D1101 CH1.1_P [CH1] Proportional band of PID1 D1102 CH1.1_I [CH1] Integral time of PID1 D1103 CH1.1_D [CH1] Differential time of PID1 D1104 CH1.1_OH [CH1] Control Output High limit of PID1 D1105 CH1.1_OL [CH1] Control Output Low limit of PID1...
Seite 44
SAMWONTECH █ [CH1] Cooling PID setting D-Register D-Reg. Symbol Descriptions D1101 CH1.1_CP [CH1] Proportional band of PID1 D1102 CH1.1_CI [CH1] Integral time of PID1 D1103 CH1.1_CD [CH1] Differential time of PID1 D1141 CH1.6_CP [CH1] Proportional band of PID6 D1142 CH1.6_CI [CH1] Integral time of PID6 D1143 CH1.6_CD...
Seite 45
SAMWONTECH 7.12 INPUT Group This INPUT group is used for setting parameter D-Register for sensor and its bias. █ [CH1] INPUT setting D-Register D-Reg. Symbol Descriptions [CH1] Select the sensor group. D1201 CH1.SENGP (0:T/C, 1:RTD, 2:DCV) D1202 CH1.SENTP [CH1] Sets the type of sensor. D1203 CH1.UNIT [CH1] Sets the sensor unit.
Seite 46
SAMWONTECH 7.13 OUTPUT Group This INPUT group is used for setting parameter D-Register for control output and retransmission. █ [Common] Control output and retransmission setting D-Register D-Reg. Symbol Descriptions D1301~ D1304 OUT1.TYPE~ OUT4.TYPE Setting the ouput terminal of OUT1~OUT4 D1341~D1344 OUT1.MODE~OUT4.MODE Setting the output type of OUT1~OUT4(0:SSR, 1:SCR) █...
Seite 47
SAMWONTECH 7.14 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. █ [CH1] DO CONFIG setting and information D-Register D-Reg.
Seite 48
SAMWONTECH █ [CH2] DO CONFIG setting and information D-Register D-Reg. Symbol Descriptions D1409~D1416 CH2IS9.RLY~CH2IS16.RLY [CH2] RELAY No.on I/O for INNER SIGNAL. D1425~D1432 CH2TS1.RLY~CH2TS8.RLY [CH2] RELAY No.on I/O for TIME SIGNAL. D1437~D1440 CH2ALM5.RLY~CH2ALM8.RLY [CH2] RELAY No.on I/O ALARM SIGNAL. D1445~D1448 CH2SA1.RLY~CH2SA4.RLY [CH2] RELAY No.on I/O SEGMENT ALARM SIGNAL.
Seite 49
SAMWONTECH 7.15 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 D1601 DISP.METHOD DISPLAY METHOD for DI ERROR. (0:TEXT, 1:PICTURE) D1602 BUZ.TIME Sets time for DI Error buzzer. DETECT TIME to recognize DI ERROR from actual D1603 DIDEC.TIME...
Seite 50
SAMWONTECH 7.16 INITIAL Group INITIAL group consists of setting parameter D-Register for system initial configuration. █ INITIAL setting D-Register D-Reg. Symbol Descriptions D1901 LANGUAGE Language for using TEMP2500. (0:ENG, 1:KOR, 2:CHN) DISPLAY MODE for ‘Initial Logo screen’ when PWR ON. D1902 DISP.MODE (0:TEXT, 1:PICTURE)
Seite 51
SAMWONTECH 7.17 PROGRAM PATTERN Group and Setting 7.17.1 PROGRAM 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 Range Description D2101 COM_PTNO...
Seite 52
SAMWONTECH PROGRAM and its REPEAT operation setting █ D-Register D-Reg. Symbol Descriptions D2145 START.CODE START CODE for operation (0:TPV, 1:SPV, 2:SSP) D2146 CH1START.SP [CH1] START SSP D2147 CH2START.SP [CH2] START SSP D2150 PT.RPT Count number for PATTERN REPEAT (0:Infinitely, 1 ~ 999) D2151 PT.EMOD PATTERN END MODE (0:RESET, 1:SEG HOLD, 2:LINK RUN )
Seite 53
SAMWONTECH 7.17.2 How to READ program PATTERN ▶ Below describes process step to read programmed PATTERN profile in TEMP2520. ① Write PATTERN number to read profile in D2101 Write SEGMENT number to read profile in D2102 ③ Write READ TRIGGER('2') in D2107 ④...
Seite 54
SAMWONTECH 7.17.3 How to WRITE program PATTERN ▶ Below describes process step to write programming PATTERN profile in TEMP2520. ① Write PATTERN number to program in D2101 ② Write SEGMENT number to program in D2102 ③ Write profile(TSP of process time etc.)in D2126~D2141 ④...
Seite 55
SAMWONTECH ▶ Below describes process step to write program in D2145~D2167. ① Write PATTERN number to program in D2101 ② Write '0' of SEGMENT number to D2102 ③ Write profile(TSP of process time etc.)in D2145~D2467 ④ Write WRITE TRIGGER('3') in D2107 ⑤...
Seite 56
SAMWONTECH 7.17.4 FILE EDIT (PATTERN COPY / DELETE) ▶ Below describes step to copy pattern. ① Write SOURCE PATTERN number to copy in D2101 ② Write TARGET PATTERN number to paste in D2103~D2104 ③ Write PT COPY TRIGGER('4') in D2107 ④...
Seite 57
SAMWONTECH 7.18 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 D2201 NPT1 The number of programmed SEGMENT in PATTERN no.1 D2280 NPT80 The number of programmed SEGMENT in PATTERN no.80 7.19 FILE FILE group consists of profile information of programmed pattern parameter D-Register.
Seite 58
SAMWONTECH D-Register 0000 ~ 0599 : Read Only PROCESS FUNCTION RESERVATION ON/OFF SIGNAL INNER SIGNAL ALARM SIGNAL D-Reg. CH1SET.PTNO CH1RESERVE CH1.NPV CH2SET.PTNO CH2RESERVE T1.LSP IS1.TYPE CH1ALM.OP CH2.NPV CH1COM.OPMODE NOW.YEAR T1.MSP IS1.BAND CH2ALM.OP CH1.NSP CH2COM.OPMODE NOW.MONTH T1.HSP IS1.RH CH2.NSP CH1FIX.TSP NOW.DAY T1.HDV IS1.RL CH1.MVOUT...
Seite 59
SAMWONTECH PROCESS FUNCTION RESERVATION ON/OFF SIGNAL INNER SIGNAL ALARM SIGNAL D-Reg. CH2NOW.SEG.RPT PV.FONT T9.LSP IS9.BAND ALM7.L_POINT CH2TOTAL.SEG.RPT BUZ.ONOFF T9.MSP IS9.RH ALM7.HYS CH1NOW.SEGTM_H LIGHT.OFFTM T9.HSP IS9.RL ALM7.DYT CH1NOW.SEGTM_L CH.ROT.TIME T9.HDV IS9.DYT CH1TOTAL.SEGTM_H T9.LDV ALM8.TYPE CH1TOTAL.SEGTM_L IS10.TYPE ALM8.POINT CH2NOW.SEGTM_H IS10.BAND ALM8.H_POINT CH2NOW.SEGTM_L T10.LSP IS10.RH ALM8.L_POINT...
Seite 72
SAMWONTECH CO.,LTD. Please contact our Sales Department for Product 192, Yakdae-dong, Wonmi-gu, Bucheon Inquiry and Technical Consultant. City,Gyeonggi-do 202-703, Bucheon TechnoPark TEL : 032-326-9120 FAX : 032-326-9119 http://www.samwontech.com E-mail:webmaster@samwontech.com This Manual may be changed without prior notice. 2nd Edition issued on Apr. 2014 This Manual is not allowed to copy, edit whole or partial in any type without written notice from SAMWONTECH.