background image

 

I-87004W User Manual, v 1.0.1, Aug 2017                    E-mail: [email protected] 

Copyright ©  2017 ICP DAS Co., Ltd. All Rights Reserved.       

19 

Chapter 3.   Using DS18B20 

Temperature Sensor 

The I-87004W provides four ports and up to 20 DS18B20 sensors 

can be connected to each port.    Each DS18B20 has a unique 

64-bit serial code, which can be represented by 16 characters in 

hexadecimal format.    The user must know the serial code of each 

DS18B20 sensor and assign unique channel index to each 

DS18B20 when using the I-87004W to read temperature data from 

DS18B20 sensors. 

 

When the I-87004W 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.   

The user has to check the not assigned list and assign channel 

index for all members in the not assigned list.    This needs to be 

done only once, since all of the data will be saved to the 

non-volatile memory. 

 

When a DS18B20 sensor is broken and is replaced by a new one, 

its channel index should be removed first.    Then, send command 

to I-87004W to rescan DS18B20 on the port.    The new DS18B20 

will be found and put to the not assigned list.    The user can 

reassign the previous channel index to the new DS18B20. 

 

Содержание I-87004W

Страница 1: ...I 87004W User Manual v 1 0 1 Aug 2017 E mail service icpdas com Copyright 2017 ICP DAS Co Ltd All Rights Reserved 1 I 87004W User Manual Version 1 0 1 August 2017...

Страница 2: ...CP 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 IC...

Страница 3: ...ts Reserved 3 Table of Contents Table of Contents 3 Chapter 1 Hardware 4 1 1 Introduction 4 1 2 Features 6 1 3 Specifications 7 1 4 Pin Assignment 8 1 5 Wiring 9 1 6 Block Diagram 10 1 7 Dimensions 11...

Страница 4: ...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 125 C Up to 20 DS...

Страница 5: ...W User Manual v 1 0 1 Aug 2017 E mail service icpdas com Copyright 2017 ICP DAS Co Ltd All Rights Reserved 5 Applications Temperature Measurement Environment Monitoring Tunnel Monitoring Building Moni...

Страница 6: ...I 87004W User Manual v 1 0 1 Aug 2017 E mail service icpdas com Copyright 2017 ICP DAS Co Ltd All Rights Reserved 6 1 2 Features...

Страница 7: ...I 87004W User Manual v 1 0 1 Aug 2017 E mail service icpdas com Copyright 2017 ICP DAS Co Ltd All Rights Reserved 7 1 3 Specifications...

Страница 8: ...I 87004W User Manual v1 0 1 Aug 2017 Copyright 2016 ICP DAS Co Ltd All Rights Reserved E mail service icpdas com 8 1 4 Pin Assignment...

Страница 9: ...I 87004W User Manual v 1 0 1 Aug 2017 E mail service icpdas com Copyright 2017 ICP DAS Co Ltd All Rights Reserved 9 1 5 Wiring...

Страница 10: ...I 87004W User Manual v 1 0 1 Aug 2017 E mail service icpdas com Copyright 2017 ICP DAS Co Ltd All Rights Reserved 10 1 6 Block Diagram...

Страница 11: ...I 87004W User Manual v 1 0 1 Aug 2017 E mail service icpdas com Copyright 2017 ICP DAS Co Ltd All Rights Reserved 11 1 7 Dimensions Dimensions Units mm...

Страница 12: ...des the DCON Utility Pro program that can configure and test I 87004W without understanding any DCON command Users can follow below steps to configure I 87004W and read temperature readings from I 870...

Страница 13: ...FTP http ftp icpdas com tw pub cd winpac napdos wp 8x4x_ce50 micro_sd dcon_utility_pro For ICP DAS CE6 platform PAC CD CD XPAC XPAC ATOM CE6 PC_Tools DCON_Utility_Pro FTP http ftp icpdas com tw pub c...

Страница 14: ...E mail service icpdas com Copyright 2017 ICP DAS Co Ltd All Rights Reserved 14 Step 2 Search and find the I 87004W module Select the correct COM Port and search Find the I 87004W module click the mod...

Страница 15: ...87004W using DCON Utility Pro To read temperature each sensor must be assigned a channel index The easiest way is to select Temperature tab and select Assign all new sensor as default Then you can rea...

Страница 16: ...vice icpdas com Copyright 2017 ICP DAS Co Ltd All Rights Reserved 16 Step 4 Manual update assign and remove sensor Select Update new sensor to manually assign sensor Select Update assigned sensor then...

Страница 17: ...the temperature readings of all sensors will be changed to 999 99 Step 5 Save the Assigned Sensor to a csv file To ease checking comparing and re assigning sensors DCON Utility Pro provides the Expor...

Страница 18: ...das com Copyright 2017 ICP DAS Co Ltd All Rights Reserved 18 Use DCON Utility Pro to save assigned sensors to a file User can use the information saved in the file to check compare and re assign senso...

Страница 19: ...When the I 87004W 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 DS18...

Страница 20: ...Followings are the procedure to configure the I 87004W 1 Refer to Chapter 2 and go through steps 1 and 2 2 Select Temperature tab 3 Select Port_0 4 Select Update new sensor and you will see the undef...

Страница 21: ...assigned with new index 8 Select Update assign sensor and it will show the list of assigned sensors We can use channel index 0 to read temperature at location A channel index 1 to read temperature at...

Страница 22: ...If the sensor at location B is broken and to be replaced by a new sensor then do the followings 1 Select Assigned_Sensor_1_460008025AC79710 2 Select Remove 3 Disconnect the broken sensor from the port...

Страница 23: ...d 23 6 Select Undefined_Sensor_0_4A0008025ABFA110 to assign channel index 7 Set the new index and click on the Set button 8 Select Update assign sensor and it will show the updated list of assigned se...

Страница 24: ...NIT short to GND AA1 else AAM read module name AAP Read Modbus RTU DCON protocol response AA0 DCON AA1 Modbus RTU AAPN Set Modbus RTU DCON protocol N 0 DCON 1 Modbus RTU AA2 read configuration AA5 rea...

Страница 25: ...er 0 3 SS index of the sensor in the new list in hex 00 13 II channel index of the sensor in a port to be assigned in hex 00 13 AACH Clear all high latched temperature readings to the current values A...

Страница 26: ...rt number 0 3 response AANN NN in hex 00 13 AANSNP Read number of not assigned sensors of a port P port number 0 3 response AANN NN in hex 00 13 AANSRP Read number of removed sensors of a port P port...

Страница 27: ...00 13 response sensor reading in 0 01 C AARMPII Remove a sensor from a port P port number 0 3 II index of the sensor in a port to be removed in hex 00 13 AARSP Rescan sensors connected to a port P por...

Страница 28: ...cter serial code FFFFFFFFFFFFFFFF for no sensor clear host watchdog timeout counter AA0 read host watchdog status AA1 clear host watchdog timeout status AA2 read host watchdog enable disable status an...

Страница 29: ...te Setting CC Bits 5 0 Baud rate 0x03 0x0A Code 0x03 0x04 0x05 0x06 Baud 1200 2400 4800 9600 Code 0x07 0x08 0x09 0x0A Baud 19200 38400 57600 115200 Bits 7 6 00 no parity 1 stop bit 01 no parity 2 stop...

Отзывы: