SMC Networks HECR Series Communications Manual

SMC Networks HECR Series Communications Manual

Thermo-con/ rack mount type
Hide thumbs Also See for HECR Series:

Advertisement

Quick Links

Thermo-con/ Rack Mount Type
Keep available whenever necessary.
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.
Serial Communication
Manual
PRODUCT NAME
MODEL / Series / Product Number
HECR series
HEC-OM-S008-1.3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HECR Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for SMC Networks HECR Series

  • Page 1 PRODUCT NAME Thermo-con/ Rack Mount Type MODEL / Series / Product Number HECR series Keep available whenever necessary. 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.
  • Page 3: Record Of Changes

    History Version Cover Contents Chap.1 Chap.2 Chap.3 Chap.4 Chap.5 Chap.6 Preface Record of Changes Version Contents Date First edition Aug.2014 Cover: Change Model No, Add picture Jun.2015 4.10, 5.11:Change Communication Format and Examples of Answers from May.2017 Thermo-con 5.10.3: Change values in the Explanation Aug.2023...
  • Page 4 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.
  • Page 5 CONTENTS Preparation for Communication ....................1-1 Specifications of Communication Method .................. 2-1 Communication Format (same as current HEC series) .............. 3-1 Control code used for communication ................. 3-1 Command code list ......................3-1 Communication procedures and format ................3-2 Calculation of Check Sum ....................3-4 Details of Communication Format ....................
  • Page 7 Preparation for Communication 1 Preparation for Communication Make preparation for using communication facility as follows. Turn off the power switch of Thermo-con. Connect communication cable to communication connector (RS-485 or RS-232C) of Thermo-con. ・Use twist pair shield cable as communication cable. ・Connect the host and thermo-con with the straight cable for RS-485 and the cross cable for RS-232C .
  • Page 9 Specifications of Communication Method 2 Specifications of Communication Method ・Standards ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ Select RS-485 or RS-232C ・Circuit type ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ Half duplex ・Communication type ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ Asynchronous ・Communication speed ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ Changeable, 600,1200,2400,4800,9600,19200 bps ・Character code ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ ASCII ・Parity ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ Select, Nil, even number, odd number ・Start bit ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・...
  • Page 11: Command Code List

    Communication Format 3 Communication Format (same as current HEC series) 3.1 Control code used for communication ・”H” of ASCII code indicates hexa code. Control code ASCII code 3.2 Command code list Command code (COM) Contents Set temperature (without writing FRAM) and read Read internal sensor Read external sensor Read alarm status...
  • Page 12: Communication Format

    Communication Format 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.
  • Page 13 Communication Format (2) Confirming and reading Host → Check sum ← Thermo-con Data Check sum Host → (Possible to omit) <Specifying unit> Host → Check sum ← Thermo-con Data Check sum Host → (Possible to omit) ・COM indicates communication command. ・UT indicates unit No.
  • Page 14 Communication Format 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...
  • Page 15 Details of Communication Format 4 Details of Communication Format 4.1 Temperature setting (without writing FRAM) The host computer sets temperature of each Thermo-con. In this command, temperature setting data is not written in FRAM. This data is invalidated by turning off power. The setting range is from 10.0 to 60.0 deg.C.
  • Page 16 Details of Communication Format <Specifying unit> Host → Check sum ← Thermo-con Setting data Check sum Host → (Possible to omit) 4.3 Reading internal sensor As the minimum unit is 0.01 deg.C, the value in the hundredths place can be read. Host →...
  • Page 17 Details of Communication Format 4.4 Reading external sensor As the minimum unit is 0.01 deg.C, the value in the hundredths place can be read. Host → Check sum ← Thermo-con External sensor Check sum Host → (Possible to omit) digit “-“ is attached to temperature data. Note) 2DH is entered in 10 <Specifying unit>...
  • Page 18 Details of Communication Format <Specifying unit> Host → Check sum ← Thermo-con Data Check sum Host → (Possible to omit) 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.
  • Page 19 Details of Communication Format 4.6 Offset setting (without writing FRAM) Set offset of each Thermo-con from host. In this command, offset data loses effect with turning power to OFF because it isn’t memorized into FRAM. It can be set at a minimum of every 0.01 deg.C. Host →...
  • Page 20 Details of Communication Format <Specifying unit> Host → Check sum ← Thermo-con Offset Check sum Symbol Host → (Possible to omit) Note) As for symbols, minus is indicated by “-“(=2DH) and plus is indicated by “0”(=30H). 4.8 Temperature setting (with writing FRAM) The host computer sets temperature of each Thermo-con.
  • Page 21 Details of Communication Format 4.9 Offset setting (with writing FRAM) Set offset of each Thermo-con from host. In this command, offset data is memorized into FRAM. It can be set at every minimum unit of +/-0.01 deg.C. Host → Offset Check sum Symbol ←...
  • Page 22 Details of Communication Format 4.10 Communication Format and Examples of Answers from Thermo-con Examples of commands and answers from the thermo-con (unit unspecified) Command Unit Host requirement Answer from thermo-con code Command Content specified (ASCII code) (ASCII code) ASCII Answer Reading setting temperature 05 31 33 31 0D 02 31 32 35 30 30 03 3F 38 0D...
  • Page 23: Precautions For Communication

    MODBUS communication function 5 MODBUS communication function MODBUS protocol is a communication protocol developed by Modicon. It is used to communicate with a PC or PLC. Register content is read and written by this communication protocol. This communication has the following features. •...
  • Page 24: Communication Specification

    MODBUS communication function 3) If necessary send a read request message to check if it was written correctly. Message to notify the completion of the process is returned when the action for the written request message is completed. Send a read request message to confirm if the setting was written as requested. 4) Setting limit of circulating fluid temperature When the circulating fluid set temperature is written by communication, the data is stored in FRAM.
  • Page 25 MODBUS communication function ◼ Product set up procedure The communication protocol is a command based protocol using the Modbus protocol. The communication will be available for sending the communication commands after setting up the product. Select communication protocol ・Select Set Mode Level 3 by pressing the "SEL" and "△" buttons, then select RS-485 or RS-232C.
  • Page 26: Communication Sequence

    MODBUS communication function 5.4 Communication sequence Starts with a request message from the customer’s system (host), and finishes with a response message from the product (slave). This product operates as a slave. It does not send any requests. Customer's system This product (host) (slave)
  • Page 27: Message Format

    MODBUS communication function 5.5 Message configuration 5.5.1 Message format The message configuration is shown below. This product communicates in ASCII mode. ASCII mode is used from Start to End. Start Slave Address Function Data ~ [CR] [LF] 1) Start The start of the message. [:] (3AH) 2) Slave Address (=Unit number) (01H to 0FH 3031 to 3046) This is a number to identify this product.
  • Page 28: Message Example

    MODBUS communication function 5.5.2 Message example The example shows communication with the conditions below. Slave Address (=Unit number):No.1 Read a data from register 0040H. (Read Internal sensor temperature.) ◼ Communication example The communication example is expressed in hexadecimal value with [ ].
  • Page 29 MODBUS communication function 5.6 Function codes The table berow function codes to read or write register. Code Name Function 03(03H) Read holding registers Reading multiple registers 06(06H) Preset single register Writing registers 16(10H) Preset multiple registers Writing multiple registers 23(17H) Read/write 4x registers Reading/writing multiple registers *1:Broadcast is not supported.
  • Page 30 MODBUS communication function 5.8 Explanation of function codes 5.8.1 Function code:03H Reading multiple registers Register data of assigned points from assigned address is read. ◼ Request message <Normal> (Master to Slave) Start Slave Address Function Data [CR] [LF] Read Address Quantity to Read ◼...
  • Page 31 MODBUS communication function 5.8.2 Function code:06H Writing registers Write data to assigned address. ◼ Request message <Normal> (Master to Slave) Start Slave Address Function Data [CR] [LF] Write Address Write Data ◼ Response message <Normal> (Slave to Master) Start Slave Address Function Data [CR]...
  • Page 32 MODBUS communication function 5.8.3 Function code:10H Writing multiple registers Register content of assigned points of assigned address is written. ◼ Request message <Normal> (Master to Slave) Start Slave Address Function Data [CR] [LF] Write Address Quantity to Write Write Data1 Write Data n Byte Count ◼...
  • Page 33 MODBUS communication function 5.8.4 Function code:17H Reading/writing multiple registers Register content of assigned points of assigned address is read. Write the register data from the specified address with specified points simultaneously. ◼ Request message <Normal> (Master to Slave) Start Slave Address Function Data [CR]...
  • Page 34: Negative Response

    MODBUS communication function 5.9 Negative response A negative response is returned when the following request message is received. When unspecified function code is used. An address out of range is specified. The data field is not normal. ◼ Negative response message (Slave to Master) Start Slave Address Function...
  • Page 35: Status Flag

    MODBUS communication function 5.10 Register Map Bit Format Address 0040h Internal sensor temperature -9.90 to 80.00 C = FC22H to 1F40H 0041h External sensor temperature -9.90 to 80.00 C = FC22H to 1F40H 0042h Average temperature -9.90 to 80.00 C = FC22H to 1F40H 0043h Status flag See chapter 5.10.1...
  • Page 36: Alarm Flag

    MODBUS communication function 5.10.2 Alarm flag Each type of alarm which occurs in the product is read with the following assignment. Name Alarm flag 1,2 Name Explanation Unused ERR01 System error 1 ERR02 System error 2 ERR03 Back-up data error 4-10 Unused ERR11 DC power supply failure...
  • Page 37 MODBUS communication function 5.10.3 Control operation mode The control operation mode is assigned as follows. Name Alarm flag 1 Name Explanation 000=Pump stop 001=Normal operation (Run) Operation mode 010=Auto tuning start 011=Learning control 100=External tune control 3-15 Unused The operation mode with Modbus communication is displayed as the figure on the right (Mode 0 = Operation stopped).
  • Page 38 MODBUS communication function 5.11 Communication Format and Examples of Answers from Thermo-con Examples of commands and answers from the thermo-con Slave Host requirement Answer from thermo-con Address Command Content address (Character) (Character) Reading internal Answer 0040 :01 03 0040 0001 BB [CR][LF] :01 03 02 09E1 10 [CR][LF] “25.29 deg.C.”...
  • Page 39: Troubleshooting

    Troubleshooting 6 Troubleshooting The table below shows the solutions for the problems. Problem Cause Solution Connect the host and the thermo-con with the following cables: A wrong connecting cable is used. A straight cable for RS-485 A cross cable for RS-232C Make the following settings of the host The settings of the host and and the thermo-con consistent:...
  • Page 41 Revision history Rev.1.3:Aug.2023 4-14-1, Sotokanda, Chiyoda-ku, Tokyo 101-0021 JAPAN Tel: + 81 3 5207 8249 Fax: +81 3 5298 5362 https://www.smcworld.com Note: Specifications are subject to change without prior notice and any obligation on the part of the manufacturer. © 2023 SMC Corporation All Rights Reserved...

Table of Contents