Table of Contents

Advertisement

Quick Links

Warranty
All products manufactured by ICP DAS are under
warranty regarding defective materials for a period of one
year from the date of delivery to the original purchaser.
Warning
ICP DAS assumes no liability for damages resulting
from the use of this product. ICP DAS reserves the right
to change this manual at any time without notification.
The information furnished by ICP DAS is believed to be
accurate and reliable. However, no responsibility is
assumed by ICP DAS for its use, or for any infringements
of patents or other rights of third parties resulting from its
use.
Copyright
Copyright 1999 - 2012 ICP DAS. All rights reserved.
Trademark
The names used for identification only may be
registered trademarks of their respective companies.
tM-TH8 User Manual, Rev: A1.1 7MH-018-A11
tM-TH8
User Manual
Date: 2018/8/15
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the tM-TH8 and is the answer not in the manual?

Questions and answers

Summary of Contents for ICP DAS USA tM-TH8

  • Page 1 Copyright Copyright 1999 - 2012 ICP DAS. All rights reserved. Trademark The names used for identification only may be registered trademarks of their respective companies. Date: 2018/8/15 tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 2: Table Of Contents

    1.1 More Information ............... 7 1.2 Terminal Assignment ............8 1.3 Specifications ..............9 1.4 Block Diagrams ..............10 1.4.1 Block Diagram for the tM-TH8 ......10 1.5 Dimensions ............... 11 1.6 Wiring ................12 1.6.1 tM-TH8 Wiring ............12 1.6.2 Wiring Recommendations ........
  • Page 3 3.6.1 Sub-function 00 (0x00) Read module name ..115 3.6.2 Sub-function 04 (0x04) Set module address ..116 3.6.3 Sub-function 05 (0x05) Read communication settings ................117 3.6.4 Sub-function 06 (0x06) Set communication settings ..................119 tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 4 A. Appendix ................134 A.1 INIT Mode ..............134 A.2 Dual Watchdog Operation ..........136 A.3 Frame Ground ............... 137 A.4 Reset Status ..............138 A.5 Thermistor ..............139 A.6 Resistance Measurement ..........140 tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 5: Introduction

    The INIT switch allows easier access to INIT mode. Please refer to Sections A.1 and A.3 for more details. The features of the tM-TH8 module are as follows: 1. 24-bit sigma-delta ADC to provide excellent accuracy 2. Direct thermistor connection 3.
  • Page 6 9. YSI B Mix, 6000 Ohms at 25°C 10. YSI B Mix, 10000 Ohms at 25°C 11. YSI H Mix, 10000 Ohms at 25°C 12. YSI H Mix, 30000 Ohms at 25°C 13. User-defined tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 7: More Information

    Section A.4 Reset Status for details. A brief introduction to thermistor is described in  Section A.5 Thermistor. The module tM-TH8 can be used in resistance  measurement. Please refer to Section A.6 Resistance Measurement for details,...
  • Page 8: Terminal Assignment

    1.2 Terminal Assignment tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 9: Specifications

    -25°C to +75°C Storage Temperature -30°C to +75°C Humidity 10 ~ 95% RH, non-condensing Note: A warm up period of 30 minutes is recommended in order to achieve the complete performance results described in the specifications. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 10: Block Diagrams

    1.4 Block Diagrams 1.4.1 Block Diagram for the tM-TH8 tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 11: Dimensions

    1.5 Dimensions tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 12: Wiring

     Use a crimp terminal for wiring.  Avoid high-voltage cables and power equipment as  much as possible. For RS-485 communication, use insulated and  twisted pair 24 AWG wire, e.g. Belden 9841. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 13: Quick Start

    1.7 Quick Start Please refer to the Quick Start Guide for tM-TH8. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 14: Default Settings

    1.8 Default Settings Default settings for the tM-TH8 are as follows: ▫ Protocol: Modbus RTU ▫ Module Address: 01 ▫ Thermistor Type: Type 60, PreCon Type III, -30°F to 240°F ▫ Baud Rate: 9600 bps ▫ Temperature Scale: Celsius (the tM-TH8 also supports Fahrenheit scale) tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 15: Calibration

    7. Repeat steps 2 to 6 three times. Notes: 1. Calibration resistors are shown below. 2. The tM-TH8 modules must be switched to the DCON protocol mode before calibrating. Refer to Sections 1.12.1 and 3.6.4 for details of the switching protocol.
  • Page 16: Configuration Tables

    0: eight data bits, no parity, and one stop bit 1: eight data bits, no parity, and two stop bit 2: eight data bits, even parity, and one stop bit 3: eight data bits, odd parity, and one stop bit tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 17 -50 °C ~ 150 °C User-defined -50 °C ~ 150 °C User-defined -50 °C ~ 150 °C User-defined -50 °C ~ 150 °C Note: Please refer to Section 1.11 for details of user- defined types. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 18 Data Format Setting (FF) Description Data format 00: Engineering unit 01: % of FSR (full scale range) 10: 2’s complement hexadecimal 11: Ohms Checksum setting 0: Disabled 1: Enabled Reserved Note: The reserved bits should be zero. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 19 7FFF D556 -50 ~ 150°C Ohms +000041.8 +151000.0 Engineering unit +150.00 -040.00 YSI B Mix % of FSR +100.00 -026.67 3000 @ 25°C 2’s comp HEX 7FFF DDDE -40 ~ 150°C Ohms +000055.6 +101000.0 tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 20 Ohms +000000.0 +000000.0 Note: 1. For user-defined types, if the resistance is larger than 204800 ohms, then it is treated as under range 2. Refer to Section 1.11 for more information regarding user-defined types. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 21 % of FSR +999.99 -999.99 2’s Complement HEX 7FFF 8000 Thermistor Over Range/Under Range Reading for the tM-TH8 with Modbus protocol Over Range Under Range Engineering Unit 32767 -32768 2’s Complement HEX 7FFF 8000 tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 22: User-Defined Types

    Steinhart Coefficients. The error of the equation is less than +/- 0.01°C in a 100°C span. The tM-TH8 supports user-defined types by specifying the Steinhart coefficients using the @AASxTttC(data) command, see Section 2.33. The data sent is a 32-bit hexadecimal value in...
  • Page 23 (http://www.icpdas.com), can assist with the calculation of the Steinhart Coefficients and the conversion to IEEE-754 format. Documentation for the DCON Utility can be found in the ”Getting Started For I-7000 Series Modules” manual. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 24: Tm-Th8 Notes

    To switch to the Modbus RTU protocol: 1. Sends the $AAPN command and set N to a value of 1. Note that for the tM-TH8, the slide switch of the module should be set to the INIT position, see the figure on the next page.
  • Page 25: Init Mode

    When the module is powered on, with the slide switch set to the INIT position as shown in the figure below for the tM-TH8, the module is in INIT mode, (see Section A.1 for details), and the communication settings are as follows: 1.
  • Page 26: Mounting

    The three new DIN rail models are as follows. Part number Max. number of modules Dimensions DRS-360 360mm x 35mm tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 27 240mm x 35mm Part number Max. number of modules Dimensions DRS-125 125mm x 35mm Note: It is recommended that a 16 – 14 AWG wire is used to connect the DIN rail to the earth ground. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 28: Technical Support

    1.14 Technical Support Should you encounter any problems while using the tM-TH8 module, and are unable to find the help you need in this manual or on our website, please contact ICP DAS Product Support. Email: service@icpdas.com Website: http://www.icpdas.com.tw/contact_us/contact_us.html When requesting technical support, be prepared to provide the following information about your system: 1.
  • Page 29: Dcon Protocol

    [CHKSUM] CR Character Address CHKSUM A 2-character checksum which is present when the checksum setting is enabled. See Sections 1.10 (Data Format Setting) and 2.1 for details. End of command character, carriage return (0x0D) tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 30 1. Sum of the string = “!”+”0”+”1”+”2”+”0”+”0”+”6”+”0”+”0” = 21h+30h+31h+32h+30h+30h+36h+30h+30h = 1AAh 2. Therefore the checksum is AAh, and so CHKSUM = “AA” 3. The response string with the checksum = !01200600AA(CR) Note: All characters should be in upper case. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 31 Enables/Disables calibration 2.22 ~AAI Soft INIT 2.23 ~AAO(Name) Sets the module name 2.24 ~AARD !AAVV Reads the response delay time 2.25 ~AARDVV Sets the response delay time 2.26 ~AATnn Sets the soft INIT timeout tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 32 Host is OK 2.35 ~AA0 !AASS Reads the host watchdog status 2.36 ~AA1 Resets the host watchdog status Reads the host watchdog 2.37 ~AA2 !AAETT timeout settings Sets the host watchdog timeout 2.38 ~AA3ETT settings tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 33: Aannttccff

    $AA7CiRrr command to set the type of each channel, see Section 2.10 for details. New Baud Rate code, see Section 1.10 for details. For the tM-TH8, the slide switch must be moved to the INIT position in order to change Baud Rates. See Section A.1 for details.
  • Page 34 Sets the data format of module 02 to be 3 (Ohms). The module returns a valid response. Command: %0101200A00 Response: ?01 Changes the Baud Rate of module 01 to 115200bps. The module returns an invalid command, because it is not in INIT* mode. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 35 Changes to the Baud Rate and checksum settings take effect on the next power-on reset. 2. For the tM-TH8, changing the Baud Rate and checksum settings can be achieved by software only and is performed by using the following commands: I.
  • Page 36 Delimiter character for an invalid command (Data) Data from all analog input channels, see Section 1.10 for the data format. For the tM-TH8, data from disabled channels is filled with space characters. Address of the responding module (00 to FF)
  • Page 37 Reads module 03 and the data is under range. Command: #04 Response: >+025.12+054.12+150.12 Reads module 04, an I-7033, and receives the data from 3 channels. Related Commands: Section 2.1 %AANNTTCCFF, Section 2.6 $AA2 Related Topics: Section 1.10 Configuration Tables tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 38: Aan

    Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 39 Command: #029 Response: ?02 Reads data from channel 9 of module 02. An error is returned because channel 9 is invalid. Related Commands: Section 2.1 %AANNTTCCFF, Section 2.6 $AA2 Related Topics: Section 1.10 Configuration Tables tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 40: Aa0

    Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 41 Related Commands: Section 2.5 $AA1, Section 2.21 ~AAEV Related Topics: Section 1.9 Calibration Notes: The “enable calibration” command, ~AAEV, must be sent before this command is used, see Section 1.9 for details. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 42: Aa1

    Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 43 Related Commands: Section 2.4 $AA0, Section 2.21 ~AAEV Related Topics: Section 1.9 Calibration Notes: The “enable calibration” command, ~AAEV, must be sent before this command is used, see Section 1.9 for details. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 44: Aa2

    Section 1.10 for details. There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 45 Examples: Command: $012 Response: !01200600 Reads the configuration of module 01. Command: $022 Response: !02230602 Reads the configuration of module 02. Related Commands: Section 2.1 %AANNTTCCFF Related Topics: Section 1.10 Configuration Tables tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 46: Aa5

    $AA5 command was sent. There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 47 Command: $015 Response: !010 Reads the reset status of module 01. The response shows that there has been no module reset since the last $AA5 command was sent. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 48: Aa5Vv

    Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 49 3A, which denotes that channels 1, 3, 4, and 5 are enabled and all other channels are disabled. Related Commands: Section 2.9 $AA6 Notes: It is recommended that only the channels to be used are enabled. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 50: Aa6

    0 denotes that the channel is disabled. There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 51 Reads the channel status of module 01 and returns a response of 3A, which denotes that channels 1, 3, 4, and 5 are enabled and all other channels are disabled. Related Commands: Section 2.8 $AA5VV tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 52: Aa7Cirrr

    Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 53 Sets the type code for channel 1 of module 03 to be 30. The module returns an invalid response because the type code is invalid. Related Commands: Section 2.11 $AA8Ci Related Topics: Section 1.10 Configuration Tables tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 54: Aa8Ci

    Refer to the Temperature Sensor Type Setting table in Section 1.10. There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 55 Examples: Command: $018C0 Response: !01C0R70 Reads the input range of channel 0 of module 01 and returns 70. Related Commands: Section 2.10 $AA7CiRrr Related Topics: Section 1.10 Configuration Tables tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 56: Aab

    0 it denotes that the channel is disabled or normal. There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 57 Examples: Command: $01B Response: !0101 Diagnoses the analog inputs of module 01. The module returns a valid response denoting that channel 1 is in either over-range, under-range or wire opening condition. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 58: Aaf

    Response: !01A2.0 Reads the firmware version of module 01, and shows that it is version A2.0. Command: $02F Response: !02B1.1 Reads the firmware version of module 02, and shows that it is version B1.1. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 59: Aai

    1: The INIT switch is moved to the Normal position There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 60 Examples: Command: $01I Response: !010 Reads the INIT status of module 01. The response shows that the INIT switch is moved to the INIT position. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 61: Aam

    Examples: Command: $01M Response: !01tTH8 Reads the module name of module 01 and returns the name “tTH8”. Related Commands: Section 2.23 ~AAO(Name) tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 62: Aap

    3: the protocol set in EEPROM is Modbus ASCII There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 63 10 meaning that it supports the DCON, Modbus RTU and Modbus ASCII protocols and the protocol that will be used at the next power on reset is DCON. Related Commands: Section 2.17 $AAPN tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 64: Aapn

    1: Modbus RTU protocol 3: Modbus ASCII protocol Before using this command, the slide switch must be in the INIT position for tM-TH8, see Section A.1 for details. The new protocol is saved in the EEPROM and will be effective after the next power on reset.
  • Page 65 INIT mode. Command: $01P1 Response: !01 Sets the communication protocol of module 01 to Modbus RTU and returns a valid response. Related Commands: Section 2.16 $AAP Related Topics: Section A.1 INIT Mode tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 66: Aas1

    Examples: Command: $01S1 Response: !01 Sends the command to reload the factory default calibration parameters for module 01 and returns a valid response. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 67 Related Topics: Section 1.9 Calibration tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 68: Aad

    0: the temperature scale is Celsius. 1: the temperature scale is Fahrenheit. There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 69 Reads the temperature scale of module 01 and returns Celsius. Command: ~02D Response: !021 Reads the temperature scale of module 02 and returns Fahrenheit. Related Commands: Section 2.20 ~AADT Notes: The default temperature scale is Celsius. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 70: Aadt

    Delimiter character for an invalid command Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 71 Sets the temperature scale of module 02 to Fahrenheit, and returns a valid response. Related Commands: Section 2.19 ~AAD Notes: 1. The default temperature scale is Celsius. 2. The commands affected are #AA, #AAN, and @AARTTttR(Data). tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 72: Aaev

    Delimiter character for an invalid command Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 73 Command: $010 Response: !01 Sends the command to perform a span calibration on module 01 and returns a valid response. Related Commands: Section 2.4 $AA0, Section 2.5 $AA1 Related Topics: Section 1.9 Calibration tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 74: Aai (Soft Init Command)

    Examples: Command: ~01I Response: !01 Sets the soft INIT of module 01 and returns a valid response. Related Commands: Section 2.1 %AANNTTCCFF, Section 2.26 ~AATnn tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 75 Related Topics: Section A.1 INIT* Pin Operation Notes: The ~AATnn command should be sent prior to sending this command, see Section 2.26 for details. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 76: Aao(Name)

    Delimiter character for an invalid command Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 77 Sets the name of module 01 to be “7005N” and returns a valid response. Command: $01M Response: !017005N Reads the name of module 01 and returns the name “7005N”. Related Commands: Section 2.15 $AAM tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 78: Aard

    01 denotes 1ms and 1E denotes 30ms. The max allowable value is 30 (1Eh). There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 79 Examples: Command: ~01RD Response: !0102 Reads the response delay time value of module 01 and returns 02, which denotes that the response delay time value is 2ms. Related Commands: Section 2.25 ~AARDVV tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 80: Aardvv

    Delimiter character for an invalid command Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 81 Command: ~01RD Response: !0106 Reads the response delay time value of module 01. The module returns 06, which denotes that the response delay time value is 6ms. Related Commands: Section 2.24 ~AARD tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 82: Aatnn

    INIT timeout. If the soft INIT timeout is 0, then the Baud Rate and checksum settings cannot be changed using software only. The power-on reset value of the soft INIT timeout is 0. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 83 Sets the soft INIT of module 01 and returns a valid response. Command: %0101000700 Response: !01 Changes the Baud Rate of module 01 to 19200 without first altering INIT * status. The module returns a valid response. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 84 Related Topics: Section A.1 INIT* Pin Operation Notes: It is recommended that the soft INIT timeout value is reset to 0 once any changes to the Baud Rate and checksum settings have been completed. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 85: Aaa2Citoo

    Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 86 Sets the temperature offset of channel 2 to 1.0, and the module returns a valid response. Command: @01A2C5TF0 Response: !01 Sets the temperature offset of channel 5 to -1.6, and the module returns a valid response. Related Commands: Section 2.28 @AAA3Ci tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 87: Aaa3Ci

    01 for 0.1, 02 for 0.2, FF for -0.1, FE for -0.2, etc. There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 88 Reads the temperature offset of channel 2, and the module returns a value of 1.0. Command: @01A3C5 Response: !01F0 Reads the temperature offset of channel 5, and the module returns a value of -1.6. Related Commands: Section 2.27 @AAA2CiToo tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 89: Aaa6Cirrr

    Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 90 Sets the resistance offset of channel 2 to 1.0, and the module returns a valid response. Command: @01A6C5TF0 Response: !01 Sets the resistance offset of channel 5 to 24.0, and the module returns a valid response. Related Commands: Section 2.30 @AAA7Ci tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 91: Aaa7Ci

    FF for 25.5 ohms, FE for 25.4 ohms, etc. There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 92 Reads the resistance offset of channel 2, and the module returns a value of 1.0. Command: @01A7C5 Response: !01F0 Reads the resistance offset of channel 5, and the module returns a value of 24.0. Related Commands: Section 2.29 @AAA6CiRrr tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 93: Aagxttt

    Steinhart coefficient in IEEE-754 format. See Section 1.11 for details. There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 94 Reads the C coefficient of type 70 of module 01 and returns a value of 33BC73A5, which is equivalent to 8.775468x10 Related Commands: Section 2.32 @AARTTttR(data), Section 2.33 @AASxTttC(data) Related Topics: Section 1.11 User-defined Types, Section A.5 Thermistor tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 95: Aarttttr(Data)

    Address of the responding module (00 to FF) (Data) The (Data) consists of a +/- sign, three digits, decimal point and two additional digits to represent the temperature associated with the input resistance. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 96 @AAGxTtt, Section 2.33 @AASxTttC(data) Related Topics: Section A.6 Thermistor Notes: The temperature scale is set using the ~AADT command and can be read using the ~AAD command. See Sections 2.19 and 2.20 for details. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 97: Aasxtttc(Data)

    Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 98 Section 1.11 User-defined Types, Section A.5 Thermistor Notes: If the resistance versus temperature data table of the thermistor is available, it is suggested that the @AARTTttR(data) command be used to verify the accuracy of the user-defined type. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 99 Examples: Command: ~** No response Sends a “Host OK” command to all modules. Related Commands: Section 2.35 ~AA0, Section 2.36 ~AA1, Section 2.37 ~AA2, Section 2.38 ~AA3EVV Related Topics: Section A.2 Dual Watchdog Operation tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 100: Aa0

    Bit 2: 1 indicates that a host watchdog timeout has occurred, and 0 indicates that no host watchdog timeout has occurred. The host watchdog status is stored in EEPROM and can only be reset by using the ~AA1 command. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 101 Reads the host watchdog status of module 02 and returns 04, meaning that a host watchdog timeout has occurred. Related Commands: Section 2.34 ~**, Section 2.36 ~AA1, Section 2.37 ~AA2, Sec 2.38 ~AA3EVV Related Topics: Section A.2 Dual Watchdog Operation tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 102: Aa1

    Delimiter character for an invalid command Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 103 Reads the host watchdog status of module 01 and shows that no host watchdog timeout has occurred. Related Commands: Section 2.34 ~**, Section 2.35 ~AA0, Section 2.37~AA2, Section 2.38~AA3EVV Related Topics: Section A.2 Dual Watchdog Operation tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 104: Aa2

    01 denotes 0.1 seconds and FF denotes 25.5 seconds. There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 105 01 and returns FF, which denotes that the host watchdog is enabled and the host watchdog timeout value is 25.5 seconds. Related Commands: Section 2.34 ~**, Section 2.35 ~AA0, Section 2.36 ~AA1, Section 2.38 ~AA3EVV Related Topics: Section A.2 Dual Watchdog Operation tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 106: Aa3Evv

    Delimiter character for an invalid command Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 107 Section 2.37 ~AA2, Section Related Topics: Section A.2 Dual Watchdog Operation Notes: When a host watchdog timeout occurs, the host watchdog is disabled. The ~AA3EVV command should be sent again to reenable the host watchdog. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 108: Modbus Rtu Protocol

    You can also visit http://www.modbus.org to find more valuable information. The tM-TH8 supports the Modbus RTU and Modbus ASCII protocols. The communication Baud Rates range from 1200bps to 115200bps. The following Modbus functions are supported by the tM-TH8. Function Code...
  • Page 109: 0X01) Read Coil Registers

    OFF. Error Response Address 1 Byte 1 to 247 Function code 1 Byte 0x81 Exception code 1 Byte 02: starting channel out of range 03: out of range, incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 110: 0X02) Read Input Status

    1 to 247 Function code 1 Byte 0x82 Exception code 1 Byte 02: starting channel out of range 03: (starting channel + number of input channels) out of range, incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 111: 0X04) Read Input Channels

    1 to 247 Function code 1 Byte 0x84 Exception code 1 Byte 02: starting channel out of range 03: (starting channel + number of input channels) out of range, incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 112: 0X05) Write Single Coil Register

    04 ~ 05 Data 2 Bytes FF00h for ON and 0000h for OFF. Error Response Address 1 Byte 1 to 247 Function code 1 Byte 0x85 Exception code 1 Byte 02: channel out of range tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 113: 0X0F) Write Multiple Coil Registers

    (N) Error Response Address 1 Byte 1 to 247 Function code 1 Byte 0x8F Exception code 1 Byte 02: starting channel out of range 03: out of range, incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 114: 0X46) Read/Write Module Settings

    If the module does not support the sub-function code specified in the message, then it responds as follows. Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0xC6 02 Exception code 1 Byte 02: invalid sub-function code tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 115: Sub-Function 00 (0X00) Read Module Name

    1 to 247 Function code 1 Byte 0x46 Sub function code 1 Byte 0x00 03 ~ 06 Module name 4 Bytes 0x07 0x00 0x80 0x03 for tM-TH8 Error Response Address 1 Byte 1 to 247 Function code 1 Byte 0xC6...
  • Page 116: Sub-Function 04 (0X04) Set Module Address

    Error Response Address 1 Byte 1 to 247 Function code 1 Byte 0xC6 Exception code 1 Byte 03: new address out of range, reserved bytes should be filled with zero, incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 117: Sub-Function 05 (0X05) Read Communication Settings

    09 ~ 10 Reserved 2 Bytes 0x00 0x00 Note: This information is the data saved in the EEPROM and will be used for the next power-on reset. It is not the currently used settings. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 118 Error Response Address 1 Byte 1 to 247 Function code 1 Byte 0xC6 Exception code 1 Byte 03: reserved byte should be filled with zero, incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 119: Sub-Function 06 (0X06) Set Communication Settings

    Reserved 1 Byte 0x00 0x00 0x00 Data format 1 Byte 0x00: OK, others: error Reserved 1 Byte 0x00 Mode 1 Byte 0x00: OK, others: error 09 ~ 10 Reserved 2 Bytes 0x00 0x00 tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 120 1 Byte 1 to 247 Function code 1 Byte 0xC6 Exception code 1 Byte 03: Baud Rate or mode out of range, reserved bytes should be filled with zero, incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 121: Sub-Function 07 (0X07) Read Type Code

    Error Response Address 1 Byte 1 to 247 Function code 1 Byte 0xC6 Exception code 1 Byte 03: reserved bytes should be filled with zero, channel out of range, incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 122: Sub-Function 08 (0X08) Set Type Code

    1 to 247 Function code 1 Byte 0xC6 Exception code 1 Byte 03: type code out of range, channel out of range, reserved bytes should be filled with zero, incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 123: Sub-Function 32 (0X20) Read Firmware Version

    1 Byte 0x00 ~ 0xFF Build version 1 Byte 0x00 ~ 0xFF Error Response Address 1 Byte 1 to 247 Function code 1 Byte 0xC6 Exception code 1 Byte 03: incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 124: Sub-Function 37 (0X25) Read Channel

    0 denotes that the channel is disabled. Error Response Address 1 Byte 1 to 247 Function code 1 Byte 0xC6 Exception code 1 Byte 03: incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 125: Sub-Function 38 (0X26) Set Channel Enable/Disable

    1 Byte 0: OK setting others: error. Error Response Address 1 Byte 1 to 247 Function code 1 Byte 0xC6 Exception code 1 Byte 03: enable/disable setting out of range, incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 126: Sub-Function 41 (0X29) Read Miscellaneous

    Sub function code 1 Byte 0x29 Miscellaneous 1 Byte 0, not used for tM-TH8 settings Error Response Address 1 Byte 1 to 247 Function code 1 Byte 0xC6 Exception code 1 Byte 03: incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 127: Sub-Function 42 (0X2A) Write Miscellaneous

    0: OK settings others: error Error Response Address 1 Byte 1 to 247 Function code 1 Byte 0xC6 Exception code 1 Byte 03: reserved bits should be filled with zero, incorrect number of bytes received tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 128: Modbus Address Mappings

    40385 ~ Resistance offset of channel 0 to 7 in 40392 0.1 ohms, valid range: 0 ~ 255 40449 ~ Temperature offset of channel 0 to 7 40456 in 0.1°C/°F, valid range: -128 ~ 127 tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 129 Steinhart Coefficient A of type code 40784 70 to 77 40801 ~ Steinhart Coefficient B of type code 40816 70 to 77 40833 ~ Steinhart Coefficient C of type code 40848 70 to 77 tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 130: Modbus Engineering Data Format Table

    -5000 15000 User-defined -5000 15000 User-defined -5000 15000 User-defined -5000 15000 The under range value is –32768 and the over range value is +32767. For the hex data format, please refer to Section 1.10. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 131: Troubleshooting

    If you are having difficulty using the tM series module, here are some suggestions that may help. If you cannot find the answers you need in these guides, contact ICP DAS Product Support. Contact information is located in Section 1.14. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 132: Communicating With The Module

    For I-7000 Series Modules” manual. Set the module to “INIT mode” and communicate with  the module using the following settings: address 00, Baud Rate 9600bps and no checksum. See Section A.1 for details. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 133: Reading Data

    Ensure that the type code and data format settings are  correct. For the tM-TH8, the type code is set by using the $AA7CiRrr command, see Section 2.10 for details. The data format is set by using the %AANNTTCCFF command.
  • Page 134: Appendix

    There are commands that require the module to be in INIT mode. They are: 1. %AANNTTCCFF when changing Baud Rate and checksum settings. See Section 2.1 for details. 2. $AAPN, see Section 2.17 for details. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 135 The tM modules have the INIT switch located on the right side of the module allow easier access to INIT mode. For these modules, INIT mode is accessed by sliding the INIT switch to the Init position as shown below. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 136: Dual Watchdog Operation

    For more information regarding the Dual Watchdog, please refer to Chapter 5 of the “Getting Started For I-7000 Series Modules” manual that can be downloaded from the ICP DAS website http://www.icpdas.com. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 137: Frame Ground

    There is a screw at one end and a ring terminal is included as shown in the figure below. Refer to Section 1.13.1 for more information about the new DIN rail models. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 138: Reset Status

    $AA5 command is sent, it means the module has been reset and the digital output value had been changed to the power-on value. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 139: Thermistor

    No compensation for ambient temperature is needed. They are one of the most accurate types of temperature sensors. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...
  • Page 140: Resistance Measurement

    Chapter 2 of the “Getting Started For I-7000 Series Modules” manual that can be downloaded from the ICP DAS website http://www.icpdas.com. The maximum resistance that can be measured by tM-TH8 is 204800 ohms. tM-TH8 User Manual, Rev: A1.1 7MH-018-A11...

Table of Contents