background image

A.5 Modbus communication example

Reading CO

2

 concentration value

The device address used in the following example is 240 (F0

hex

). The values

returned by the device differ depending on the ambient conditions. Your device

might not return exactly the same values.

Request

  Response

Bytes on the line

Description

 

Bytes on the line

Description

(silence for 3.5 bytes)

Start of Modbus RTU
frame

(silence for 3.5 bytes)

Start of Modbus RTU
frame

F0

hex

Transmitter address

F0

hex

Transmitter 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

E6

hex

Value of first register
(least significant
word)

00

hex

Number of 16-bit
registers to read (2)

3A

hex

02

hex

44

hex

Value of second
register (most
significant word)

D1

hex

Modbus RTU
checksum

17

hex

2A

hex

7E

hex

Modbus RTU
checksum

(silence for 3.5 bytes)

End of Modbus RTU
frame

B7

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

4417E63A

hex

, which is binary32 representation of 607.6 (ppm CO

2

).

Appendix A – Modbus reference

53

Summary of Contents for CARBOCAP GMW80 Series

Page 1: ...M211748EN G User Guide Vaisala CARBOCAP Carbon Dioxide Humidity and Temperature Transmitters GMW80 Series...

Page 2: ...ange 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 compli...

Page 3: ...or 17 2 6 Safety 20 2 7 Regulatory compliance 21 3 Installation 22 3 1 Selecting location 22 3 2 Opening and closing the transmitter 23 3 3 Installing the mounting base 24 3 4 Installing GMW87 and GMW...

Page 4: ...32 bit floating point format 49 A 2 2 16 bit integer format 50 A 3 Modbus registers 50 A 3 1 Measurement data registers 50 A 3 2 Status registers 51 A 3 3 Test value registers 51 A 4 Device identifica...

Page 5: ...es of good installation locations 22 Figure 16 Examples of unsuitable installation locations 23 Figure 17 Mounting GMW87 and GMW88 26 Figure 18 Routing the cable from behind GMW83 GMW84 and GMW86 mode...

Page 6: ...ble 8 GMW80 measurement performance 43 Table 9 GMW80 compliance 44 Table 10 GMW80 operating environment 44 Table 11 GMW80 inputs and outputs 45 Table 12 GMW80 mechanical specifications 46 Table 13 Mod...

Page 7: ...vious version Added new product model GMW88 Wiring and mounting instructions updated Document template updated Removed product models GMW83T and GMW86PT M211748EN D November 2015 Added new product mod...

Page 8: ...respective owners 1 5 Patent notice This product is protected by the following patents and patent applications and their corresponding national rights Table 2 Applicable patents or applications Issuin...

Page 9: ...o No No No GMW83A 0 10 V 0 10 V No No Yes No No GMW83D 0 10 V 0 10 V No Yes 1 No No No GMW83RP 0 10 V 0 10 V Pt1000 passive 0 10 V No No No No GMW83DRP 0 10 V 0 10 V Pt1000 passive 0 10 V Yes 1 No No...

Page 10: ...eration can be verified immediately after snapping on the device cover All GMW80 series transmitters measure carbon dioxide CO2 and temperature T with the exception of GMW87 and GMW88 which measure on...

Page 11: ...he mounting base 4 Orientation arrow Should point up after mounting base has been installed 5 Opening for cable when wiring from behind recommended 6 Place for cable tie optional for cable strain reli...

Page 12: ...6 Rotary switch for relay setpoint on models with the letter S 2 1 2 GMW87 and GMW88 transmitter parts The enclosure of the IP64 rated GMW87 and GMW88 transmitter models differs from the other GMW80 t...

Page 13: ...crews 4 pcs 4 GM10 carbon dioxide measurement module 5 Mounting base 6 Screw holes for mounting on top and bottom of mounting base 2 screws 3 5 mm 7 Alternative lead through for wiring through the bac...

Page 14: ...mounting base 2 screws 3 5 mm 6 Alternative lead through for wiring through the back break seal transfer cable gland here and seal cable gland hole on bottom of transmitter 7 Cable gland for leading...

Page 15: ...tus OK or ERROR If the status is ERROR the cause of the error will be shown on the measurement screen after the startup is completed The following screen s show the configuration of the active analog...

Page 16: ...eadings are replaced with stars The alarm indicator and an error message will also appear on the screen If more than one error is active the display will cycle through the errors showing each error fo...

Page 17: ...it on the transmitter cover Figure 8 Relay indicator LED on GMW84S Relay setpoint is set using a rotary switch on the component board Use a small flat head screwdriver to turn the switch The switch ha...

Page 18: ...lue The relay is activated deactivated when the measured CO2 value passes the setpoint plus minus 50 ppm For example consider a transmitter that has the relay setpoint set to 1000 ppm CO2 As the measu...

Page 19: ...end of the output range the output is clipped to the maximum value of the output This means that even if the measured parameter rises the value does not change anymore At the low end of the output ra...

Page 20: ...s where a low CO2 reading combined with sensor drift could cause a negative result 11 0 10 0 0 0 2000 6000 Output clipping limit Error level CO2 ppm 100 Output V Scaled output range 0 10 V 0 2000 ppm...

Page 21: ...2 5 Output V Scaled output range 0 10 V 0 50 C Figure 13 Overrange behavior of active temperature measurement Passive temperature measurement reading the Pt1000 resistor is not affected by the overran...

Page 22: ...as shipped from the factory Note the following precautions Make sure that you prepare or connect only de energized wires WARNING Do not modify the unit or use it in ways not described in the document...

Page 23: ...for the assessment of electrical and electronic products with respect to the restriction of hazardous substances EN 61326 1 Electrical equipment for measurement control and laboratory use EMC requirem...

Page 24: ...ng a cable through the wall The hole will supply air from outside the room into the transmitter and affect the measurement readings For example fresh concrete binds CO2 and may cause low readings espe...

Page 25: ...ing the transmitter GMW80 series transmitters are delivered from the factory with a pull tab that makes it easy to open the transmitter for installation Note that the GMW87 and GMW88 models are opened...

Page 26: ...er a Align the bottom of the transmitter cover with the bottom of the mounting base b Tilt the top of the transmitter cover forward until the tab catches with an audible snap Note that closing the tra...

Page 27: ...the screw heads do not project out of the mounting holes CAUTION Mounting bases are tailored to the individual transmitter at the factory If you attach several mounting bases before connecting the tr...

Page 28: ...nting screws 2 pcs 3 5 mm head 8 mm For the location of the screw terminal block and the GM10 module see GMW87 and GMW88 transmitter parts page 10 1 Open the transmitter cover 4 screws and use 2 mount...

Page 29: ...interference Vaisala recommends using shielded twisted pair cables with the shield grounded When using a shielded cable do not connect the shield to the transmitter CAUTION Connect the wiring to the s...

Page 30: ...he transmitter cover is attached CAUTION You can also bring the cable to the housing from above or below but you have to break off the small plastic tab that covers the hole on top or bottom of the ho...

Page 31: ...base Note that mounting bases are model specific 3 5 1 Wiring GMW83 GMW83D and GMW83A 18 35 VDC or 20 30 VAC Power supply Controller Analog signal ground T signal analog input 0 10 V VS T CO2 0 10 V 0...

Page 32: ...RP GMW83DRP t CO2 CO2 signal analog input 0 10 V 18 35 VDC or 20 30 VAC Power supply Figure 22 Wiring for GMW83RP and GMW83DRP 3 5 3 Wiring GMW84 VS T CO2 GND 4 20 mA 4 20 mA GMW84 18 35 VDC or 20 30...

Page 33: ...r Analog signal ground T signal analog input 4 20 mA CO2 signal analog input 4 20 mA Relay connections Relay_no Relay_com max 50 VDC 50 VAC 500 mA Figure 24 Wiring for GMW84S To change the setpoint of...

Page 34: ...neously but typically only one of them is needed Note that they share a common minus terminal VS CO2 CO2 CO2 4 20 mA t 0 10 V GMW86P 18 35 VDC or 20 30 VAC Power supply Controller Pt1000 input CO2 sig...

Page 35: ...5 RS 485 isolated Leave the bottom terminal in GMW87 unconnected Figure 26 Wiring for GMW87 3 5 7 Wiring GMW88 VS CO2 CO2 CO2 4 20 mA 0 10 V GMW88 18 35 VDC or 20 30 VAC Power supply Controller CO2 si...

Page 36: ...of stop bits is not significant The device supports automatically both 1 and 2 stop bits 3 D RS D GND VS VS 1 2 5 6 4 Figure 28 GMW87 component board with DIP switches and screw terminals 1 DIP switc...

Page 37: ...odbus device address is encoded in eight bit binary form with each numbered switch representing a single bit This example shows address 41 selected DIP switches 32 8 and 1 decimal 41 binary 00101001 a...

Page 38: ...M10 GM10 spare part module Vaisala item code GM10SP80 Flat head screwdriver for opening the transmitter To replace the module 1 Disconnect the transmitter body from the mounting base 2 Locate the GM10...

Page 39: ...ror state page 42 5 3 Replacing the INTERCAP humidity sensor INTERCAP sensor Vaisala item code 15778HM Flat head screwdriver for opening the transmitter To avoid contaminating or damaging the sensor H...

Page 40: ...e display if included on the model to verify that the humidity measurement is working normally and the transmitter is not in the error state For more information on the error state see Error state pag...

Page 41: ...cause For a description of the error state and its possible causes see Error state page 42 Temperature reading is too high Transmitter is installed in an unsuitable location for example near a heat s...

Page 42: ...the relay setpoint See Relay page 15 Error text on display CO2 SENSOR GM10 module disconnected Open the transmitter and check if the GM10 module is installed securely See Figure 2 page 10 If the modul...

Page 43: ...itter software Restart the transmitter If the error persists contact Vaisala support Table 6 Troubleshooting table transmitter model GMW87 Problem Solution The device is not responding Power cycle the...

Page 44: ...f the cause of the error is removed the transmitter resumes normal operation of analog outputs Some errors may require a reset of the transmitter to recover If the error state is caused by a measureme...

Page 45: ...84S CO2 T Current output Relay GMW87 CO2 RS 485 Modbus RTU output GMW88 CO2 Current and voltage output 1 Models with calibration certificate available GMW83RPC GMW83DRPC Table 8 GMW80 measurement perf...

Page 46: ...asurement range 0 95 RH Accuracy at temperature range 10 30 C 50 86 F 0 80 RH 3 RH 80 95 RH 5 RH Accuracy at temperature ranges 0 10 C 32 50 F and 30 50 C 86 122 F 0 95 RH 7 RH Stability in typical HV...

Page 47: ...GMW87 only Isolated supports Modbus RTU protocol Modbus RTU address range 1 247 up to 255 possible non standard Bit rates 4800 9600 19200 38400 57600 76800 115200 Parity None or Even Supports automati...

Page 48: ...material ABS PC UL V0 approved PC GMW87 and GMW88 Housing color White RAL9003 Output connector Screw terminal Max wire size 2 mm2 AWG14 Weight Plain and LED version 114 g 4 02 oz Display version 124...

Page 49: ...illimeters mm 127 3 81 1 25 9 60 60 3 60 3 R 2 2 85 mm Figure 31 Dimensions for GMW83 GMW83A GMW83RP GMW84 GMW84S and GMW86P 127 3 81 1 25 9 mm 60 60 3 60 3 R 2 2 85 Figure 32 Dimensions for GMW83D an...

Page 50: ...220 HFT 545 VS CO 4 20 mA 0 10 V 2 CO2 CO2 SCREW TERMINAL WIRING 84 160 134 41 120 3 5 mm Figure 33 Dimensions for GMW87 and GMW88 GMW80 Series User Guide M211748EN G 48...

Page 51: ...listed in the table while the most significant 16 bits are placed in the register with number address 1 as specified in Open Modbus TCP Specification Release 1 0 This is also known as little endian o...

Page 52: ...xample register number 1 corresponds to address 0hex in the actual Modbus message CAUTION Accessing unavailable temporarily missing measurement data does not generate a Modbus exception Unavailable va...

Page 53: ...e 0008hex Over range 0080hex Sensor failure 0100hex Measurement not ready 2 520 0207hex CO2 measurement status 1 Device internal temperature measurement Measurement accuracy not specified 2 Applicable...

Page 54: ...aisala 1 01hex ProductCode GMW80 2 02hex MajorMinorVersion Software version for example 1 4 0 3 03hex VendorUrl https www vaisala com 4 04hex ProductName Vaisala CARBOCAP R Carbon Dioxide Transmitter...

Page 55: ...sters 00hex Register address 04hex Number of data bytes 00hex E6hex Value of first register least significant word 00hex Number of 16 bit registers to read 2 3Ahex 02hex 44hex Value of second register...

Page 56: ......

Page 57: ...nty 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 modificatio...

Page 58: ......

Page 59: ......

Page 60: ...www vaisala com...

Reviews: