1th Edition of TEMI2000_Sseies IM : Dec. 15. 2008 Page 1 / 1
SAMWONTECH
1. Safety Precautions
Thank you for purchasing TEMP2500, programmable controller.
This Communcation Manual describes communication of the TEMP2500 controller.
SAFETY SYMBOL MARK음
음
(A) Symbolizes ‘Caution’ and ‘Warning’. The information with this symbol is especially
(B) Symbolizes ‘Protective Earth (PE) Terminal.’
(C) Symbolizes ‘Supplementary Explanation.’
(D) Symbolizes ‘Reference.’
☞ This symbol indicates further information and page to refer.
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.
(2) Communication Manual : This symbol indicates potential hazard that may cause personal
This symbol indicates that the terminal must be connected to the Ground prior to
operating.
The information with this symbol describes additional explanation for features.
injury by electrical shock.
음Precautionary Remarks on this Communication Manual음
(A) This manual should be passed on the End- User and kept at a suitable place for easy review in
time.
(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.
(D) Unauthorized duplication and modification of this Communication Manual are strongly
prohibited.
(E) The contents of this manual may be modified without prior notice.
(F) If any errors or omissions in this manual should come to the attention of the user, feel free
to contact our sales representatives or our sales office.
1th Edition of TEMP2000_Series IM : Dec. 15. 2008 Page 1 / 63
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.
(C) When using additional safety circuit or part such as Noise Filter to protect this product and
relevant system, it is strongly required to install that to outside of this product.
Additional installation and modification inside of this product are prohibited.
(D) Do not try to disassemble, repair, or modify the product. It may become the cause of a trouble
such as malfunction, electric shock, fire.
(E) Contact our sales dept. for part replacement or consumables.
(F) Keep the product away from water inflowing. This may become a critical cause of trouble.
(G) External shock on the product may lead to damage and malfunction.
음 Limitation of Liability음
(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.
음 Warranty Policy음
(A) Warranty term of this TEMP2500 is one year after delivery to the first purchaser for being
free of defects in materials and faulty workmanship under the condition that the product has
been applied according to this manual.
(B) The repairing cost will be charged for defective product out of warranty period. This charge
will be the actual cost estimated by SAMWONTECH.
(C) Repairing cost may be charged even if within warranty period for following cases.
(1) Damage due to USER FAULT (Ex.: Product initialization by password loss).
(2) Damage due to natural disaster (Ex.: fire, flood).
(3) Damage due to additional removal and re-installation after the first one.
(4) Damage due to unauthorized disassembles, modification and alternation.
(5) Damage due to unexpected power failure caused unstable power supply.
(6) Others
(D) If any A/S is required, feel free to contact our sales office or a representative.
1th Edition of TEMP2000_Series IM : Dec. 15. 2008 Page 2 / 63
SAMWONTECH
2. Communication Specification
The TEMP2500 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 TEMP2500.
- RS485 interface supports to connect upper level network system with up to 31 slave TEMP2500 controller.
█ Parameters for communication setting
Parameter Range Description
PCLINK Default protocol
PROTOCOL
SPEED (BPS)
PARITY
STOP BIT
DATA LENGTH
ADDRESS 1~99 Address
RESPONSE TIME 0~10 RESPONSE TIME(=PROCESS TIME+SPONSE TIME*10msec)
1th Edition of TEMP2000_Series IM : Dec. 15. 2008 Page 3 / 63
SAMWONTECH
3. Communication setting
TEMP2500 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.
▶ It is recommended to use tool like tweezers for setting socket to pin-header correctly.
☞ Make sure setup completed correctly.
Control Unit
BACK COVER
ⓑ Pull down
[Figure-1] Control Unit
[Figure-2] Communication Interface setting
▶ Do not disassemble Power board from Control Unit case during setting comm. interface.
▶ It is recommended to use tool like tweezers for setting comm. interface.
▶ Make sure setup completed correctly.
ⓐ Push
Socket
Pin-Header
RS232C
Power board
RS485
1th Edition of TEMP2000_Series IM : Dec. 15. 2008 Page 4 / 63
SAMWONTECH
4. Wiring for Communication
Connector wiring between TEMP2500 and network system depends on communication interface setting
(RS232C/RS485)
█ Modular Connector Pin-Mapping for COM2 port
6
5
4
3
2
1
6
5
4
3
2
1
█ Description of Modular Connector Pin-Mapping for COM2 port
PIN no.
1 Transmit Data TxD Receive/Transmit Data - RTX2 Receive Data RxD Receive/Transmit Data + RTX+
3 Signal Ground SG Signal Ground SG
4 - - - 5 - - - 6 - - - -
.
RS232C
SG
RxD
TxD
RS485
SG
RTX+
RTX-
RS232C RS485
Signal Symbol Signal Symbol
1th Edition of TEMP2000_Series IM : Dec. 15. 2008 Page 5 / 63
SAMWONTECH
Tx
R
x
SG
SHI
R
T
RTS
CTS
SG
RTX
RTX
SG
RTX
RTX
SG
█ 6 Pin connector wiring for RS232C interface
█
TEMP2500(COM2)
D
①
D
②
③
Shielded Cable
6 Pin connector wiring for RS485 interface
TEMP2500(COM2)
-
①
+
②
③
Shielded Cable
Up to 31 slave TEMP2500 controllers can be connected to a master device by multi-drop networking.
☞
☞ Make sure to install 200Ω(1/4W) resistor on Last Leg at both end of terminal Slave and Master(PC, PLC).
TEMP2500(COM2)
-
①
+
②
③
Master Station
D
②
D
③
⑦
⑧
⑤
○
ELD
Master Station
RTX-
RTX+
SG
1th Edition of TEMP2000_Series IM : Dec. 15. 2008 Page 6 / 63
SAMWONTECH
5. Communication Command
5.1 The Frame Structure of standard protocol
The frame structure of protocol transmitting upper-level network system to TEMP2500
① ② ③ ④ ⑤ ⑥ ⑦ ⑧
STX Address Command , Data SUM CR LF
① Protocol Header
The beginning of communication command with STX (Start of Text), ASCII string with 0x02.
② Slave TEMP2500 Address
Slave unit address of TEMP2500.
③ Command
Function Command for communication. (Refer to 5.2 ~ 5.10).
④ Delimiter
Symbolize to separate Command and Data by Comma. (',')
⑤ Data
Formal text strings regulated by communication command rule.
⑥ Check Sum
-‘SUM' protocol is a more sophisticated one which includes Check Sum as an error check.
- Check Sum is calculated as following.
1) Add the ASCII code of characters from the character next to STX one by one up to the character prior to SUM
2) Represent the lowest one byte of the sum as a hexadecimal notation (2 characters).
⑦, ⑧ Protocol Tail
ASCII code to close communication command by indicating CR(0xOD) and LF(0xOA).
1th Edition of TEMP2000_Series IM : Dec. 15. 2008 Page 7 / 63
SAMWONTECH
█ Example for SUM
Example
◈
To read the consecutively D-Register from D0001 (NPV) to D0005 (MVOUT)
0 NUL DLE SPACE 0 @ P ` p
1 SOH DC1 ! 1 A Q a q
2 STX DC2 “ 2 B R b r
3 ETX DC3 # 3 C S c s
4 EOT DC4 $ 4 D T d t
5 ENQ NAK % 5 E U e u
6 ACK SYN & 6 F V f v
7 BEL ETB ‘ 7 G W g w
8 BS CAN ( 8 H X h x
9 HT EM ) 9 I Y i y
A LF SUB * : J Z j z
B VT ESC + ; K [ k {
C FF FS , < L ¥ l |
D CR GS - = M ] m }
E SO RS . > N ^ n ~
F SI US / ? O _ o DEL
+
0 1 2 3 4 5 6 7
2C8
1th Edition of TEMP2000_Series IM : Dec. 15. 2008 Page 8 / 63
SAMWONTECH
5.2 Type of Communication Command
Two types of commands are provided on TEMP2500. 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 TEMP2500.
▣ Reference Command
Command Description
AMI Displays model name and Version-Revision of TEMP2500
▣ Read/Write Command
Command Description
RSD Read data in consecutive D-Register in sequence (Read)
RRD Read data in arbitrary single D-Register (Read)
WSD Write data in consecutive D-Register in sequence (Write)
WRD Write data in arbitrary single D-Register (Write)
STD Register arbitrary single address to monitor (D-Register Monitoring Set)
CLD Read data in address registered by STD command(D-Register Monitoring Call)
☞ Each Command can read or write up to 64 D-Register and all of the SED/CLD data will be reset by power OFF,
so the data should be registered again.
1th Edition of TEMP2000_Series IM : Dec. 15. 2008 Page 9 / 63
SAMWONTECH
5.3 ERROR Response
When an Error occurs during communication, TEMP2500 transmits a frame as following.