Advertisement

Quick Links

M-2004 and M-7004
User Manual
Version 1.0.2/ April 2020
M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020
E-mail: service@icpdas.com
1
Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.

Advertisement

Table of Contents
loading

Summary of Contents for ICP DAS USA M-2004

  • Page 1 M-2004 and M-7004 User Manual Version 1.0.2/ April 2020 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 2 Contact Us If you have any problems, please feel free to contact us. Email: service@icpdas.com M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 3: Table Of Contents

    Chapter 4. DCON Command Sets ........28 Chapter 5. Modbus Address Mappings ......34 Chapter 6. Troubleshooting ..........41 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 4: Chapter 1. Hardware

    Chapter 1. Hardware 1.1. Introduction The M-2004/M-7004 is a digital temperature sensor module that provides four ports for 2- or 3 wire DS18B20 digital temperature sensor input. The DS18B20 temperature sensor has a high accuracy of ±0.5°C when measuring temperatures between -10 and + 85°C, with a total measurement range of between -55 and...
  • Page 5 Applications Temperature Measurement  Environment Monitoring  Tunnel Monitoring  Building Monitoring  M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 6 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 7: Features

    1.2. Features M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 8: Specifications

    1.3. Specifications System Specifications M-2004 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 9 M-7004 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 10: Pin Assignment

    1.4. Pin Assignment M-2004 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 11 M-7004 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 12: Wiring

    1.5. Wiring M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 13: Block Diagram

    1.6. Block Diagram M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 14: Dimensions

    1.7. Dimensions Dimensions (Units: mm) M-2004 M-7004 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 15: Jumper Settings

    The settings for the JP1 jumper is as follows. Enable RS-485 bias. Disable RS-485 bias. (factory default) M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 16: Chapter 2. Quick Start

    M-2004/M-7004 and read temperature readings from M-2004/M-7004. Step 1: Install DCON Utility Pro on the host. Note: DCON Utility pro supports M-2004/M-7004 for version 2.0.0.7 and later. ICP DAS provides different versions of DCON Utility Pro for different platforms that can be used to configure and test I/O modules.
  • Page 17 For ICP DAS CE7 platform and ARM CPU PAC CD:\WinPAC_AM335x\Wp-5231\System_Disk\Tools \DCON_Utility_Pro http://ftp.icpdas.com.tw/pub/cd/winpac_am335x/wp-5231/syste m_disk/tools/dcon_utility_pro For ICP DAS WES platform PAC CD:\ XPAC\XPAC-Atom\tools\DCON_Utility_pro http://ftp.icpdas.com.tw/pub/cd/xpac-atom/tools/dcon_utility_pro/ M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 18 Step 2: Search and find the M-2004/M-7004 module Select the correct COM Port and search: Find the M-2004/M-7004 module, click the module name to enter configuration form M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 19 For the sensor which is not installed or not assigned, its temperature reading is -999.99 for DCON protocol and -32768 for Modbus RTU protocol as shown below. M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 20 Select “Update new sensor” to manually assign sensor Select “Update assigned sensor” then you can read temperature reported by the sensor: M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 21 Excel .csv file. Then use can have more convenience to check, compare or re-assign sensor in many sensors conditions. M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 22 User can use the information saved in the file to check, compare and re-assign sensors between software and the sensors located in the field. M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 23: Chapter 3. Using Ds18B20 Temperature Sensor

    DS18B20 when using the M-2004/M-7004 to read temperature data from DS18B20 sensors. When the M-2004/M-7004 is powered on, it scans all the DS18B20 sensors connected for each port. Each scanned DS18B20 is checked to see whether a channel index is assigned. If it is not assigned, then the DS18B20 is added to the not assigned list.
  • Page 24 Suppose that there are three DS18B20 sensors installed at location A, B, and C and they are connected to port 0 of an M-2004/M-7004. Followings are the procedure to configure the M-2004/M-7004. Refer to Chapter 2 and go through steps 1 and 2.
  • Page 25 B, and channel index 2 to read temperature at location C. Assigned channel index Serial Code Location 370008025B0C7010 EF0008025B23DE10 460008025AC79710 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 26 4. Connect the new sensor to the port. 5. Select “Update new sensor” and you will see the new sensor as undefined sensor. M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 27 8. Select “Update assign sensor” and it will show the updated list of assigned sensors. Assigned channel index Serial Code Location 370008025B0C7010 EF0008025B23DE10 4A0008025ABFA110 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 28: Chapter 4. Dcon Command Sets

    P: port number, 0 ~ 3 response > (sensor 0 reading in 0.01°C)(sensor 1 reading in 0.01°C)… (sensor last reading in 0.01°C) M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 29 Clear all low latched temperature readings of a port to the current values P: port number, 0 ~ 3 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 30 P: port number, 0 ~ 3 NN: sensor channel index in hex, 00 ~ 13 response > (sensor reading in 0.01°C) M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 31 NN: sensor index in the not assigned list in hex, 00 ~ 13 response !AA (16-character serial code), FFFFFFFFFFFFFFFF for no sensor M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 32 ~AARDVV set response delay time in ms, VV in hex format, 00 - 1E M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 33 10: even parity, 1 stop bit 11: odd parity, 1 stop bit Data Format Setting (FF) Bit 6 0: checksum disabled 1: checksum enabled M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 34: Chapter 5. Modbus Address Mappings

    30097 ~ Number of not assigned sensors of a port for 30100 port 0 to 3. 40097 ~ 40100 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 35 40400 30401 ~ Serial number of sensors of port 3, 4 registers 30480 for a sensor 40401 ~ 40480 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 36 2 40573 ~ Assign channel index to a new sensor in the 40592 new list of port 3 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 37 0.01°C 40693 ~ 40712 30713 ~ Low latched Temperature readings of port 2 in 30732 0.01°C 40713 ~ 40732 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 38 31233 ~ Serial number of removed sensors of port 0, 4 31312 registers for a sensor 41233 ~ 41312 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 39 Host watch dog timeout status, write 1 to clear host watch dog timeout status Only for Modbus RTU protocol M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 40 2 00525 ~ Write 1 to clear low latched temperature reading 00544 of a sensor of port 3 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
  • Page 41: Chapter 6. Troubleshooting

    If the RS-485 converter does not provide the bias, then you can refer to section 1.8 to open the cover to adjust the jumper to enable the RS-485 bias for M-7004. For M-2004, you can turn on the two B.R. switches to provide the RS-485 bias.
  • Page 42 Revision History Revision Date Changes Made 1.0.2 2020/4/1 Add section 1.8 and Chapter 6 M-2004 & M-7004 User Manual, v 1.0.2, Apr. 2020 E-mail: service@icpdas.com Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.

This manual is also suitable for:

M-7004

Table of Contents