background image

A.7 Modbus communication examples

Reading relative humidity value

Device address used in the following examples is 240 (F0

hex

).

Measurement values returned by the device change depending on ambient

conditions and/or device settings. Your device might not return exactly the same
values.

Request

  Response

Bytes on the line
(hexadecimal)

Description

 

Bytes on the line
(hexadecimal)

Description

(silence for 3.5 bytes)

Start of Modbus RTU
frame

(silence for 3.5 bytes)

Start of Modbus RTU
frame

F0

hex

Device address

F0

hex

Device address

03

hex

Function (Read
Holding Registers)

03

hex

Function (Read
Holding Registers)

00

hex

Register address

04

hex

Number of data bytes

00

hex

7A

hex

Value of first register
(least significant
word)

00

hex

Number of 16-bit
registers to read (2)

E1

hex

02

hex

41

hex

Value of second
register (most
significant word)

D1

hex

Modbus RTU
checksum

F4

hex

2A

hex

62

hex

Modbus RTU
checksum

(silence for 3.5 bytes)

End of Modbus RTU
frame

05

hex

 

(silence for 3.5 bytes)

End of Modbus RTU
frame

Communication description

Register number 1 (1-based Modbus register number) = address 0000

hex

 (0-based address used

in actual communication).

Data format

Two 16-bit Modbus registers interpreted as IEEE 754 binary32 floating point
value, least significant word first.

Returned value

41F47AE1

hex

, which is binary32 representation of 30.56 (%RH).

HMM170 User Guide

M212259EN-D

44

Содержание HUMICAP HMM170

Страница 1: ...M212259EN D User Guide Vaisala HUMICAP â Humidity and Temperature Module HMM170 ...

Страница 2: ...hange without prior notice Local rules and regulations may vary and they shall take precedence over the information contained in this document Vaisala makes no representations on this document s compliance with the local rules and regulations applicable at any given time and hereby disclaims any and all responsibilities related thereto This document does not create any legally binding obligations ...

Страница 3: ...14 4 Installation 16 4 1 Installing module 16 4 2 Selecting probe mounting location and method 17 4 3 Installing probe 18 5 Operation 19 5 1 Using service port 19 5 1 1 Installing driver for the USB service cable 19 5 2 Modbus 20 5 3 Vaisala Insight software 20 5 3 1 Connecting to Insight software 20 5 3 2 Configuration options 21 5 3 3 Configuring condensation prevention 21 6 Maintenance 22 6 1 C...

Страница 4: ...t integer format 33 A 4 Modbus registers 34 A 4 1 Measurement data registers 34 A 4 2 Configuration registers 37 A 4 3 Status registers 40 A 4 4 Test value registers 42 A 5 Device identification objects 42 A 6 Exception responses 43 A 7 Modbus communication examples 44 Appendix B FCC Part 15 compliance statement 47 Maintenance and calibration services 49 Warranty 49 Technical support 49 Recycling ...

Страница 5: ...nent board 16 Figure 3 HMM170 probe installation through a wall 17 Figure 4 Connecting module to Insight 21 Figure 5 Temperature measurement accuracy over temperature range 27 Figure 6 HMM170 probe head dimensions 29 Figure 7 HMM170 component board dimensions 30 List of figures 3 ...

Страница 6: ...ications 29 Table 13 HMM170 accessories 30 Table 14 HMM170 spare parts 30 Table 15 Default Modbus communication settings 32 Table 16 Modbus function codes 32 Table 17 Interpretation of 16 bit signed integer values 33 Table 18 Floating point measurement data registers read only 34 Table 19 Integer measurement data registers read only 36 Table 20 Modbus configuration data registers writable 37 Table...

Страница 7: ...cal purge page 13 Cleaning probe page 22 HMM170 specifications page 26 Measurement data registers page 34 Status registers page 40 Modbus communication examples page 44 M212259EN C April 2020 Previous version Updated technical specification installation instructions and Modbus reference appendix HMM170 now supports 24 V AC supply voltage starting from serial number S1231134 M212259EN B October 201...

Страница 8: ...CAUTION Note highlights important information on using the product Tip gives information for using the product more efficiently Lists tools needed to perform the task Indicates that you need to take some notes during the task 1 4 Trademarks Vaisalaâ and HUMICAPâ are registered trademarks of Vaisala Oyj Modbusâ is a registered trademark of Schneider Automation Inc All other product or company names...

Страница 9: ...R2 sensor has improved corrosion resistance The sensor can tolerate typical chemicals such as cleaning agents used in climate chambers The automatic sensor chemical purge function keeps the sensor clean from typical chemical fumes and the additional probe warming function prevents condensation In case HMM170 gets in contact with water the automatic heating rapidly dries the sensor to enable fast a...

Страница 10: ...indicates directly whether there is a risk of free water formation The measurement is also independent of oil type and age In addition to water activity HMM170 can output ppm the average mass concentration of water in oil HUMICAPâ 180L2 sensor does not support probe heating or chemical purge HUMICAPâ 180VC A composite humidity sensor with catalytic surface for use in applications where the sensor ...

Страница 11: ... sensor HUMICAPâ 180L2 sensor Normal operation During heating During purge Absolute humidity 0 600 g m3 Absolute humidity at NTP 0 600 g m3 Dew frost point temperature 80 100 C Dew frost point temperature at 1 atm 80 100 C Dew point temperature 80 100 C Dew point temperature at 1 atm 80 100 C Dew point temperature difference 10 50 C Enthalpy 40 1500 kJ kg Mixing ratio 0 500 g kg Relative humidity ...

Страница 12: ... constant high humidity or rapid changes in humidity such as drying and test chambers combustion air and other humidifiers and meteorological measurements where measurement performance and chemical tolerance are essential Temperature measurement range 70 180 C 94 356 F Operating temperature range for probe 70 180 C 94 356 F Probe and sensor warming functions minimize condensation on probe Vapor an...

Страница 13: ...mation Accessories and spare parts page 30 2 7 LED indicator The LED indicator on the component board provides a visual indication of the status of HMM170 The alarm LED functionality is preset at the factory according to order form Table 6 LED indicator states LED color Meaning Not lit Module is powered off or LED functionality is disabled Green Module is powered on and ready for operation Green a...

Страница 14: ...re adequately protected against ESD for their intended use However it is possible to damage the product by delivering electrostatic discharges when touching removing or inserting any objects in the equipment housing To avoid delivering high static voltages to the product Handle ESD sensitive components on a properly grounded and protected ESD workbench or by grounding yourself to the equipment cha...

Страница 15: ...tional output parameters such as dew point are calculated from the readings measured by the sensors HUMICAP sensors with bonded temperature sensors are also known as composite sensors Probes with composite sensors can use the chemical purge function to maintain sensor performance They also implement condensation prevention functions that are a key element in achieving an excellent stability and go...

Страница 16: ... The output parameters become available again 4 minutes after warming is stopped Sensor warming is intended for improving the condensation tolerance of the probe in measurement environments that may occasionally cause condensation to form It is not intended for environments where continuous warming is needed Probe heating HMM170 supports probe heating Probe heating warms up the entire probe head i...

Страница 17: ... maintaining probe temperature above the dew point It will also heat the structure which may be undesirable Even if condensation prevention has been turned on probe heating is not active if supply voltage is below 18 V DC For example this is the case when HMM170 is connected to Insight software using the Vaisala USB cable 219690 More information Configuring condensation prevention page 21 Chapter ...

Страница 18: ...gized wires WARNING Electrostatic Discharge ESD can cause immediate or latent damage to electronic circuits Avoid touching exposed component contacts during installation and maintenance CAUTION 1 The module is delivered with a set of standoffs Select the mounting holes you will be using and attach standoffs to the corresponding locations on the installation surface Always use the mounting hole mar...

Страница 19: ...easurement environment If the temperature of the measured environment differs greatly from ambient temperature it is best to insert the whole probe and preferably plenty of cable inside the environment This prevents measurement inaccuracy caused by heat conduction along the cable The duct installation kit Vaisala item code 210697 is a good accessory for this purpose as it allows the probe to be pl...

Страница 20: ... 1 Remove the yellow protection cap from the probe 2 Mount the probe head in the selected location using the applicable installation accessories See any installation instructions that are delivered with the accessories 3 Make sure any cable pass throughs are sealed More information Accessories and spare parts page 30 HMM170 User Guide M212259EN D 18 ...

Страница 21: ...le Only Windowsâ operating systems are supported by the driver of the USB service cable 1 Connect the USB service cable to a USB port on your computer Windowsâ detects the new device and installs the appropriate driver 2 Open Devices and Printers from the Windowsâ Start menu Use search to find it if necessary search for devices 3 Locate the cable in the list of devices If the device is listed as V...

Страница 22: ...e page 32 5 3 Vaisala Insight software Vaisala Insight PC software is a configuration software for Indigo compatible devices The supported operating systems are Windows 7 64 bit Windows 8 1 64 bit and Windows 10 64 bit With the Insight software you can See device information and status See real time measurement data Calibrate and adjust the device Configure device features such as measurement filt...

Страница 23: ...ice back to its default settings using the Factory Default Settings Restore Settings function Doing this will also clear any user adjustment and restore the latest factory calibration More information Modbus reference page 32 5 3 3 Configuring condensation prevention 1 Connect the module to Insight See Connecting to Insight software page 20 2 Select Configure Device 3 Set the Condensation preventi...

Страница 24: ...he filter wiping the filter may block its pores and or deposit residue on the filter If the filter is heavily contaminated replace it 3 After cleaning the probe it is recommended to perform a chemical purge More information Chemical purge page 13 Replacing filter page 23 6 2 Cleaning HUMICAP 180L2 sensor Instrument air Liquid heptane C7H16 Oxidation of oil on the HUMICAPâ 180L2 sensor may cause ex...

Страница 25: ...e filter from the probe head Be careful not to touch the sensor with the filter 4 Install a new filter on the probe head Tighten the filter properly recommended force 5 Nm More information Filter types page 10 Accessories and spare parts page 30 6 4 Calibration and adjustment The module is fully calibrated and adjusted as shipped from the factory To maintain the accuracy of the measurement calibra...

Страница 26: ...ints and requirements You can adjust the humidity measurement in 1 5 points and temperature measurement in 1 2 points Note the following Humidity adjustment in more than two points is available when using Insight software in Advanced Mode If you are adjusting in more than one humidity point make sure the first two points are at least 10 RH apart The module will reject adjustments that are too larg...

Страница 27: ...h calibration and adjustment 4 Select the type of adjustment to perform RH adjustment or T adjustment 5 Define the needed adjustment for the first measurement point a Insert the probe head in the reference environment for the first calibration point b Wait for the measurement to stabilize fully c Click the Reference value point 1 text box and enter the reference value of the calibration point Pres...

Страница 28: ...ypes HUMICAPâ R2C HUMICAPâ 180L2 HUMICAPâ 180VC T90 response time 4 50 s with steel mesh filter 60 s with sintered filter Temperature Measurement range 70 180 C 94 356 F Temperature sensor Pt100 RTD Class F0 1 IEC 60751 Typical accuracy at 20 C 68 F 0 2 C 0 36 F 1 Including non linearity hysteresis and repeatability 2 With HUMICAPâ 180VC sensor accuracy is not specified below 20 C 4 F operating te...

Страница 29: ...ng Storage temperature 55 80 C 67 176 F Operating pressure 0 10 bar Table 9 HMM170 inputs and outputs Property Description Value Three analog outputs selectable and scalable 0 20 mA 4 20 mA 0 1 V 0 5 V 1 5 V or 0 10 V Typical accuracy of analog output at 20 C 68 F 0 05 full scale Typical temperature dependence of analog output 0 005 C 0 003 F full scale External load RL 500 Ω Digital output RS 485...

Страница 30: ...oint temperature at 1 atm 80 100 C Water concentration 0 106 ppm Dew point temperature 80 100 C Water concentration in oil 0 106 ppm Dew point temperature at 1 atm 80 100 C Water concentration wet basis 0 100 vol Dew point temperature difference 10 50 C Water mass fraction 0 106 ppmw Enthalpy 40 1500 kJ kg Wet bulb temperature 0 100 C Mixing ratio 0 500 g kg Water vapor pressure 0 1000 hPa Relativ...

Страница 31: ...al specifications Property Description value Weight with 2 m 6 5 ft cable and stainless steel mesh filter 206 g 7 27 oz Dimensions Component board H W D 87 4 68 3 20 mm 3 44 2 69 0 79 in Cable length options 2 m 6 5 ft 5 m 16 4 ft and 10 m 32 8 ft Probe diameter 12 mm 0 47 in Probe length 99 5 3 92 in Materials Component board FR4 Cable jacket FEP Probe AISI316L 7 2 Dimensions Ø 12 0 47 99 5 3 92 ...

Страница 32: ...nection 1 219690 Cable gland M20 1 5 for probe cable HMP247CG Swagelok NPT 1 2 adapter for probe SWG12NPT12 Swagelok ISO 1 2 adapter for probe SWG12ISO12 Duct installation kit for probe 210697 1 Vaisala Insight software for Windows available at www vaisala com insight Table 14 HMM170 spare parts Item Item code PPS plastic grid and stainless steel mesh filter DRW010281SP Stainless steel sintered fi...

Страница 33: ...Item Item code Sintered PTFE filter with 20 μm pore size 219452SP Stainless steel filter HM47453SP Chapter 7 Technical data 31 ...

Страница 34: ...on codes Table 16 Modbus function codes Function code Function code hexadecimal Name 03 03hex Read Holding Registers 16 10hex Write Multiple Registers 43 14 2Bhex 0Ehex Read Device Identification A 3 Data encoding In the data registers the numeric values are available in one or two formats with separate register addresses 32 bit IEEE floating point format and or 16 bit signed integer format For va...

Страница 35: ...r value should be read and written in a single Modbus transaction Reading the measurement data registers with incorrect floating point format setting may occasionally result in correct looking but nevertheless incorrect values CAUTION It is highly recommended to verify that you have configured the floating point format correctly on your Modbus host system by reading a floating point value from a t...

Страница 36: ...ta registers Table 18 Floating point measurement data registers read only Register number Address Register description Data format Unit 1 0000hex Relative humidity 32 bit float RH 0001hex 3 0002hex Temperature 32 bit float C 0003hex 7 0006hex Dew point temperature 32 bit float C 0007hex 9 0008hex Dew frost point temperature 32 bit float C 0009hex 11 000Ahex Dew frost point temperature at 1 atm 32 ...

Страница 37: ...x Water activity 32 bit float aw 001Dhex 31 001Ehex Dew point temperature difference 32 bit float C 001Fhex 33 0020hex Absolute humidity at NTP 32 bit float g m3 0021hex 35 0022hex Water concentration in oil 32 bit float ppmw 0023hex 41 0028hex Relative saturation 32 bit float 0029hex 43 002Ahex Water concentration wet basis 32 bit float vol 002Bhex 45 002Chex Relative humidity dew frost 32 bit fl...

Страница 38: ...t signed integer g m3 100 265 0108hex Mixing ratio 16 bit signed integer g kg 100 266 0109hex Wet bulb temperature 16 bit signed integer C 100 267 010Ahex Water vapor concentration 16 bit signed integer ppmv 268 010Bhex Water vapor pressure 16 bit signed integer hPa 10 269 010Chex Water vapor saturation pressure 16 bit signed integer hPa 10 270 010Dhex Enthalpy 16 bit signed integer kJ kg 100 271 ...

Страница 39: ...gister number Register address Register description Data format Unit Valid range General 1287 0506hex Extra heat on off Enables heating of humidity sensor when close to saturation Measurement is disabled for the duration of heating and cooling 16 bit boolean 0 Off default 1 On 1289 0508hex Probe heating on off When on output parameters that depend on temperature measurement for example relative hu...

Страница 40: ...PA Default 1013 25 hPa 0301hex 821 0334hex Temperature compensation setpoint If a value is written to this register the device uses it instead of its own temperature measurement When probe heating is in use temperature must be written to this register to enable output parameters that depend on temperature measurement for example relative humidity 32 bit float Unit C 0335hex Purge 773 0304hex Purge...

Страница 41: ...evious reading filtering is applied For example 0 9 means that the filtered measurement reading 90 of the most recent measured value 10 of the previous reading 031Bhex 1282 0501hex Enable or disable measurement filtering using the user defined filtering factor register 031Ahex 16 bit boolean 0 Off 1 On Communication 1537 0600hex Modbus address 16 bit integer 1 247 Default 240 1538 0601hex Bit rate...

Страница 42: ...start the device A 4 3 Status registers Table 21 Modbus status data registers read only Register number Address Register description Data format Note 513 0200hex Error status 16 bit boolean 0000hex One or more errors active 0001hex No errors 514 0201hex Online status 16 bit boolean 0000hex Output locked 0001hex Online data available 516 0203hex Error code 32 bit signed integer See Table 22 page 41...

Страница 43: ...523 020Ahex Device status 16 bit signed integer 0000hex Status OK 0001hex Critical error maintenance needed 0002hex Error device may recover automatically 0004hex Warning 0008hex Notification 0010hex Calibration mode active Table 22 Error codes in register 0203hex Bitmask Error message Severity 0000hex Status OK 0001hex Temperature measurement error Error 0002hex Humidity measurement error Error 0...

Страница 44: ...4hex 1F05hex 1F06hex A 5 Device identification objects Table 24 Device identification objects Object ID Object ID hexadecimal Object name Example contents 0 00hex VendorName Vaisala 1 01hex ProductCode HMM170 2 02hex MajorMinorVersion 1 2 3 Software version of the device 3 03hex VendorUrl http www vaisala com 4 04hex ProductName Vaisala HUMICAP R Humidity and Temperature Module HMM170 5 05hex Mode...

Страница 45: ...tion responses Table 25 Modbus exception responses Code Name Reason 01 ILLEGAL FUNCTION Unsupported function code 02 ILLEGAL DATA ADDRESS Register address or Object ID out of valid ranges 03 ILLEGAL DATA VALUE Otherwise invalid request Accessing unavailable temporarily missing measurement data does not generate a Modbus exception Unavailable value a quiet NaN for floating point data or 8000hex for...

Страница 46: ...tion Read Holding Registers 00hex Register address 04hex Number of data bytes 00hex 7Ahex Value of first register least significant word 00hex Number of 16 bit registers to read 2 E1hex 02hex 41hex Value of second register most significant word D1hex Modbus RTU checksum F4hex 2Ahex 62hex Modbus RTU checksum silence for 3 5 bytes End of Modbus RTU frame 05hex silence for 3 5 bytes End of Modbus RTU...

Страница 47: ...ex 14hex 44hex Value for second register most significant word silence for 3 5 bytes End of Modbus RTU frame 75hex ABhex Modbus RTU checksum The response to a write function informs that the function was correctly received by the device It does not guarantee that the written value was accepted by the device for example in case of out of range values To verify that the value was really accepted by ...

Страница 48: ...Communication description Value to write 44756E14hex 981 72 hPa HMM170 User Guide M212259EN D 46 ...

Страница 49: ...y turning the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the separation between the equipment and receiver Connect the equipment into an outlet on a circuit different from that to which the receiver is connected Consult the dealer or an experienced radio TV technician fo...

Страница 50: ...anty Please observe that any such warranty may not be valid in case of damage due to normal wear and tear exceptional operating conditions negligent handling or installation or unauthorized modifications Please see the applicable supply contract or Conditions of Sale for details of the warranty for each product Technical support Contact Vaisala technical support at helpdesk vaisala com Provide at ...

Страница 51: ...www vaisala com ...

Отзывы: