
サーモコン
HEC002-A
THERMO-CON
Model No.
HEC001 series
HEC003 series
HEC012 series
HEC002 series
HEC006 series
Keep available whenever necessary.
A_HEC-OM-J017
Rev.May.2010
© 2006 SMC CORPORATION All Rights Reserved
This manual is copyrighted and all rights are reserved by SMC
Corporation, and may not, in whole or in part, be copied,
photocopied or translated without prior written consent of SMC.

The series name is added to the cover.The product photography of the
cover is deleted.

Preface
Thank you very much for purchasing SMC Thermo-con.
This manual contains description for communication of this product for your full benefit from this product.
Read the operation manual carefully before use of this product, and understand the outline of the
product and safety instructions well. Instructions in the categories, “Danger”, “Warning” and “Caution”,
are important for safety and must be duly followed.
Please contact the following for any question and unclear points regarding the Thermo-con.
SMC Corporation R&D Center
Product Development Division-6
Address: 4-2-2, KINUNODAI,TSUKUBAMIRAI-CITY , IBARAKI-KEN 300-2493, JAPAN
Phone:+81-297-52-6666
Fax:+81-297-20-5007
E-mail:kaihatsu_6_g3@smcjpn.co.jp
Notice: The content of this manual can be revised without a previous notice.

CONTENTS
HEC iii
CONTENTS
Pages
1 Preparation for Communication ------------------------------------------------- 1-1
2 Specifications of Communication Method ----------------------------------- 2-1
3 Communication Format ------------------------------------------------------------- 3-1
3.1 Control code used for communication -------------------------------------------------------------- 3-1
3.2 Command code list --------------------------------------------------------------------------------------- 3-1
3.3 Communication procedures and format ------------------------------------------------------------ 3-2
3.4 Calculation of checksum -------------------------------------------------------------------------------- 3-3
4 Details of Communication format ----------------------------------------------- 4-1
4.1 Temperature setting (without writing EEPROM) -------------------------------------------------- 4-1
4.2 Reading setting temperature --------------------------------------------------------------------------- 4-1
4.3 Reading internal sensor --------------------------------------------------------------------------------- 4-2
4.4 Reading external sensor -------------------------------------------------------------------------------- 4-3
4.5 Reading alarm status ------------------------------------------------------------------------------------ 4-3
4.6 Reading temperature average data ------------------------------------------------------------------ 4-5
4.7 Offset setting (without writing EEPROM) ----------------------------------------------------------- 4-5
4.8 Reading offset --------------------------------------------------------------------------------------------- 4-5
4.9 Temperature setting (with writing EEPROM) ------------------------------------------------------ 4-6
4.10 Offset setting (with writing EEPROM) --------------------------------------------------------------- 4-7
5 Troubleshooting ----------------------------------------------------------------------- 5-1
6 Communication Format and
Examples of Answers from Thermo-con -------------------------------- 6-1

Preparation for Communication
HEC 1-1
1 Preparation for Communication
Make preparation for using communication facility as follows.
1) Turn off the power switch of Thermo-con.
2) Connect communication cable to communication connector (RS-485 of RS-232C) of Thermo-con.
・Use twist pair shield cable as communication cable.
・Connect the host and thermo-con with the cross cable for RS-232C and the straight cable for RS-485.
・Connect shielded cable of communication cable to communication connector and drop it to FG(flame
ground).
・Connection drawing for communication is shown in the Figures 1-1 and 1-2.
・Length of communication cable for RS-485 shall be limited to around 500[m] in total, and that for RS-
232C shall be 15[m].
・If communication cable for RS-485 is longer, connect terminating resistance (220Ω,1/2w) to each +
and - terminal of the host computer and the farthest Thermo-con.
3) Turn on the power switch of Thermo-con.
4) Select communication types for all Thermo-cons. See the operation manual of the details.
5) That’s all for preparation of communication. Then if a communication command from the host
computer is given, each Thermo-con will reply it.
Figure1-2 Communication Connection (RS-232C)
Host Computer
RS-232C
Symbol
FG
RD
SD
SG
Thermo-con
RS-232C
RS
CS
Short
Pin No.
Connector
shell
2
3
5
Symbol
FG
RD
SD
SG
Figure1-1 Communication Connection (RS-485)
Host Computer
RS-485
Thermo-con No.1
RS-485
Thermo-con No.2
RS-485
Thermo-con No.3
RS-485
Internal connection
Terminating
resistance
220Ω1/2W
Terminating
resistance
220Ω1/2W
Internal connection Internal connection
Pin No.
Connector
shell
1
2
5
FG
+
-
SG
SymbolPin No.
Connector
shell
1
2
5
FG
+
-
SG
SymbolPin No.
Connector
shell
1
2
5
FG
+
-
SG
Symbol
Pin No.
Connector
shell
1
2
5
FG
+
-
SG
Symbol Pin No.
Connector
shell
1
2
5
FG
+
-
SG
Symbol Pin No.
Connector
shell
1
2
5
FG
+
-
SG
Symbol
Symbol
FG
+
-
SG

Specifications of Communication Method
HEC 2-1
2 Specifications of Communication Method
・Standards・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・Circuit type・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・Communication type・・・・・・・・・・・・・・・・・・・・・・・・・・・
・Communication speed・・・・・・・・・・・・・・・・・・・・・・・・・・
・Character code・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・Parity・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・Start bit・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・Data length・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・Stop bit・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・Block check・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
RS-485 or RS-232C
Half duplex
Asynchronous
Changeable, 600,1200,2400,4800,9600,19200 bps
ASCII
Select, Nil, even number, odd number
1bit
Select 7 bit or 8 bit.
Select 1 bit or 2 bit.
Sum check
Note: Values underlined indicate default values at all reset.
It is set to these values when delivered.

Communication Format
HEC 3-1
3 Communication Format
3.1 Control code used for communication
3.2 Command code list
Set temperature (without writing EEPROM) and read
Read temperature average data
(It is same as reading external sensor in this model.)
Set offset (without writing EEPROM) and read
Set temperature (with writing EEPROM)
Set offset (with writing EEPROM)
・ ”H” of ASCII code indicates hexa code.

3.3 Communication procedures and format
The host computer has the initiative of sequence. Sequence always starts from the host computer
and each Thermo-con replies it.
If communication data is processed normally, the Thermo-con returns specified response and if
processing communication data is failed, no response is returned.
When no response is returned to the host computer from the Thermo-con even if waiting for 3 sec.,
resend the data. The Thermo-con returns response after waiting for 50 msec.
For communication of plural number of communication data, wait until the return message is
received from the thermo-con to send the next communication data. It sometimes cannot return the
messages properly when the communication data is received successively.
Selection of Unit Specification
・There are two cases in communication format, which are specifying unit No. and not.
・When one Thermo-con is used, select “without secifying unit” and when two or more
Thermo-cons are used, select “ with specifying unit”.
・When several Thermo-con are used with without specified unit No.,correct control is not
realized due to data conflict.
・In the case of use with specified unit No.,ensure to coincide communication No. and each
Thermo-con unit No.
(1) Setting Change
Host →
10
1 100 10-1
10
-2
(H) (L)
← Thermo-con
10
1
10
0 10-1
10-2 (H) (L)
← Thermo-con
(2) Confirming and reading
Host →
10
1
10
0 10-1
10-2 (H) (L)
Host →

Communication Format
HEC 3-3
<Specifying unit>
Host →
10
1
10
0 10-1
10-2 (H) (L)
Host →
・COM indicates communication command.
・UT indicates unit No. of each Thermo-con. Unit No. is the No. to identify each Thermo-cons when
2 or more Thermo-cons are linked by communication. Set this No. with second mode of Thermocon within O-F. (UT is the code adding 30H to unit No.. 30H---3FH.)
・As for symbols at communication, minus is indicated by “-“ (2DH by ASCII code) and plus is
indicated by “0” (30H by ASCII code).
・In case of setting temperature and offset with communication, data out of set range isn’t
memorised. (If communication format is correct, ACK returns.)
・When writing in EEPROM is specified, changed data is memorized in EEPROM each time. Since
writing life of EEPROM is (approx. 1 million times), EEPROM is changed only when data is changed.
3.4 Calculation of Check Sum
Calculation range ---------------- From the second byte to ETX
when there is no ETX, add before check sum.
Calculating method---------------Take out the lower 1 byte of the total.
eg.) Set temperature to 30 deg.C (without unit specified)
STX 31H 33H 30H 30H 30H ETX 3FH 34H CR
Total F4H
eg.) Read Thermo-con internal sensor of unit No.2
SOH 32H 05H 32H 36H 39H CR
Total 69H
Note) Check sum is not ASCII code.
Data of UT and Check Sum

Details of Communication Format
HEC 4-1
4 Details of Communication Format
4-1 Temperature setting (without writing EEPROM)
The host computer sets temperature of each Thermo-con. In this command, temperature setting data is
not written in EEPROM. This data is invalidated by turning off power.
The setting range is from 10.0 to 60.0 deg.C. As 0.1 deg.C is the minimum unit, the number in the
hundredths place (10-2) should always be 0 (=30H). (When the value at every 0.01deg.C is input, it is
rounded off.)
Host →
10
1
10
0 10-1
10
-2
(H) (L)
← Thermo-con
10
1
10
0 10-1
10
-2
(H) (L)
← Thermo-con
4-2 Reading setting temperature
As 0.1 deg.C is the minimum unit, the number in the hundredths place (10-2) is always 0 (=30H).
Host →
10
1 100 10-1 10-2
(H) (L)
Host →

Details of Communication Format
HEC
10
1 100 10-1 10-2
(H) (L)
Host →
4-3 Reading internal sensor
As the minimum unit is 0.01 deg.C, the value in the hundredths place can be read.
Host →
10
1
10
0 10-1 10-2
(H) (L)
Host →
Note)2DH is entered in 101 digit “-“ is attached to temperature data.
<Specifying unit>
Host →
10
1
10
0 10-1
10
-2
(H) (L)
Host →
Note)2DH is entered in101 digit “-“ is attached to temperature data.

Details of Communication Format
HEC 4-3
4-4 Reading external sensor
As the minimum unit is 0.01 deg.C, the value in the hundredths place can be read.
Host →
10
1 100 10-1
10
-2
(H) (L)
Host →
Note)2DH is entered in 101 digit “-“ is attached to temperature data.
<Specifying unit>
Host →
10
1
10
0 10-1
10
-2
(H) (L)
Host →
Note)2DH is entered in 101 digit “-“ is attached to temperature data.
4-5 Reading alarm status
Host →

Details of Communication Format
HEC
Data (D2, D2, D3) changes following bit line to ASCII code. (1 is for ON, 0 is for OFF)
High temp. cut off alarm ERR12
Low temp. cut off alarm ERR13
Unused
Output failure alarm ERR15
Upper temperature limit alarm WRN
Lower temperature limit alarm WRN
Thermostat alarm ERR14
DC power supply failure alarm ERR11
External sensor failure alarm ERR18
Internal sensor failure alarm ERR17
During Auto tuning or auto tuning warning ERR19
Flow switch alarm ERR16 or level switch alarm ERR20
When some alarms/warnings go off at the same time, D1 to D3 reaches the added value.
Ex. When the “Upper temperature limit alarm” and the “DC power voltage alarm” go off simultaneously,
D2 will be 23X1+22X0+21X0+20X1=9(=39H).

Details of Communication Format
HEC 4-5
4-6 Reading temperature average data
Note) For this product, the average temperature data, Tm, indicates the temperature of the external
sensor. Refer to “4-4 Reading external sensor” for the format.
4-7 Offset setting (without writing EEPROM)
Set offset of each Thermo-con from host. In this command, offset data loses effect with furning power to
OFF because it isn’t memorized into EEPROM.
It can be set at a minimum of every 0.01 deg.C.
Host →
Symbol 10
0 10-1 10-2
(H) (L)
← Thermo-con
Note)As for symbols, minus is indicated by “-“(=2DH) and plus is indicated by “0”(=30H).
<Specifying unit>
Host →
Symbol 10
0 10-1 10-2
(H) (L)
← Thermo-con
Note)As for symbols, minus is indicated by “-“(=2DH) and plus is indicated by “0”(=30H).
4-8 Reading offset
As the minimum unit is 0.01 deg.C, the value in the hundredths place can be read.
Host →
Symbol 10
0 10-1 10-2
(H) (L)
Host →
Note) As for symbols, minus is indicated by “-“(=2DH) and plus is indicated by “0”(=30H).

Details of Communication Format
HEC
Symbol 10
0 10-1 10-2
(H) (L)
Host →
Note) As for symbols, minus is indicated by “-“(=2DH) and plus is indicated by “0”(=30H).
4-9 Temperature setting (with writing EEPROM)
The host computer sets temperature of each Thermo-con. In this command, temperature setting data is
written in EEPROM.
The setting range is from 10.0 to 60.0 deg.C. As 0.1 deg.C is the minimum unit, the number in the
hundredths place (10-2) should always be 0 (=30H). (When the value at every 0.01deg.C is input, it is
rounded off.)
Host →
10
1
10
0 10-1
10
-2
(H) (L)
← Thermo-con
10
1
10
0 10-1
10
-2
(H) (L)
← Thermo-con

Details of Communication Format
HEC 4-7
4-10 Offset setting (with writing EEPROM)
Set offset of each Thermo-con from host. In this command, offset data is memorized into EEPROM.
It can be set at every minimum unit of +/-0.01 deg.C.
Host →
Symbol 10
0
10
-1
10
-2
(H) (L)
← Thermo-con
Note)As for symbols, minus is indicated by “-“(=2DH) and plus is indicated by “0”(=30H).
<Specifying unit>
Host →
Symbol
100 10-1
10
-2
(H) (L)
← Thermo-con
Note) As for symbols, minus is indicated by “-“(=2DH) and plus is indicated by “0”(=30H).

Troubleshooting
HEC 5-1
5 Troubleshooting
The table below shows the solutions for the problems.
Communication cannot be
made.
A wrong connecting cable is used.
Connect the host and the thermocon with the following cables:
A cross cable for RS-232C
A straight cable for RS-485
The settings of the host and
thermo-con are not consistent with
each others.
Make the following settings of the
host and the thermo-con
consistent:
Unit Number, Baud Rate, Parity Bit,
Data Length, Stop Bit
The program is incorrect.
Ensure that the program is made
properly according to this operation
manual. (Control code, command
code, checksum, etc.)
The communication method is
incorrect.
Use the communication method
suitable for the specification of the
thermo-con (RS-485, RS-232C).
It is influenced by the noise from
outside.
Use a shield wire for the cable, and
ground the shield to the field
ground.
It is influenced by the reflected
wave.
Install a terminating resistance.
Temperature cannot be set.
Four digits are not input for the
Input four digits for the setting
temperature. As 0.1 deg.C is the
minimum indication unit, input 0
(=30H) in the hundredths place.
Value out of the setting range is
input.
Set it within the temperature setting
range (between 10.0 and 60.0
deg.C).
Communication cannot be
continued.
It exceeds the writable capacity of
EEPROM (approx. 1 million times).
The connecting cable comes off or
broken.
Check the connecting cable.
The thermo-con does not give
a correct answer.
The host sends more than one
communication data successively.
When sending communication
data, wait until an answer from the
thermo-con is received to send the
next data.

Communication Format and Examples of Answers from Thermo-con
HEC 6-1
6 Communication Format and Examples of Answers from Thermo-con
Examples of commands and answers from the thermo-con (unit unspecified)
Reading setting
temperature
02 31 32 35 30 30 03 3F 38
0D
Temperature setting
(without writing
EEPROM)
02 31 32 35 30 30 03 3F 38
0D
02 32 32 35 30 32 03 3F 3B
0D
02 33 33 30 30 32 03 3F 38
0D
02 34 30 38 30 03 3C 3C 0D
Reading offset
Offset setting (without
writing EEPROM)
05 36 33 36 0D
02 36 30 31 35 30 03 3F3C
0D
02 36 2D 31 35 32 03 3F 3B
0D
06 0D
Answer “-1.52
deg.C”
Set at +1.50
deg.C
Temperature setting
(with writing EEPROM)
02 37 32 35 30 30 03 3F3E
0D
Offset setting
(with writing EEPROM)
02 38 30 31 35 30 03 3F3E
0D
Examples of commands and answers from the thermo-con (unit specified)
Reading setting
temperature
01 32 02 31 32 35 30 30 03 32
3C 0D
Temperature setting
(without writing
EEPROM)
01 32 02 31 32 35 30 30 03
32 3C 0D
01 32 02 32 32 35 30 32 03 32
3F 0D
01 32 02 33 33 30 30 32 03 32
3C 0D
01 32 02 34 30 38 30 03 30 30
0D
Reading offset
Offset setting (without
writing EEPROM)
01 32 05 36 36 3D 0D
01 32 02 36 30 31 35 30 03
33 30 0D
01 32 02 36 2D 31 35 32 03 32
3F 0D
06 32 0D
Answer “-1.52
deg.C”
Set at +1.50
deg.C
Temperature setting
(with writing EEPROM)
01 3F 02 37 32 35 30 30 03
33 3F 0D
Offset setting
(with writing EEPROM)
01 3F 02 38 30 31 35 30 03
33 3F 0D