background image

 

Operating Instructions 31

Modbus Communication

The WattNode Modbus meter uses Modbus RTU communication. For full specifications, see 

http://www.modbus.org/specs.php

. Modbus RTU is a binary protocol consisting of message 

frames. Each frame contains a one byte address, a one byte function code, a variable number 
of data bytes, and a two byte CRC. The end of a frame is signalled by a pause with no bytes 
transmitted; the pause duration must be at least equivalent to 3.5 character (byte) periods. At 
9600 baud the pause must last 3.6 milliseconds.

The Modbus RTU serial specification requires that the default serial protocol use 8 data bits, even 
parity, and one stop bit. However, very few devices follow this part of the Modbus standard, so 
the WattNode meter defaults to 8 data bits, no parity, and one stop bit instead. If your application 
requires even parity, order 

Option EP

 or change the parity using the 

ParityMode

 register.

The Modbus protocol is a master/slave protocol, with only one master and many slaves. The 
WattNode meter is always a slave device, and responds only when queried. 

Modbus on EIA RS-485 allows for either full-duplex or half-duplex communication, but the 
WattNode meter only supports half-duplex, meaning that the same wires are used both for 
transmitting and receiving and only one device can be transmitting at a time. To avoid conflicts 
(two devices trying to transmit at the same time), the Modbus protocol only allows the master 
to initiate a request. After the master has finished transmitting, if the meter has received a valid 
packet addressed for it, then the meter transmits its response.

Modbus Functions

In most cases, your Modbus software will automatically use the correct Modbus command for 
any action you wish to perform, so you may be able to skip this section. The Modbus specifica-
tions list numerous possible commands, but the WattNode meter only supports the following:

 

03 (0x03) - Read Holding Registers:

 Holding registers can be read and written and are 

intended for configuration values, but the WattNode meter treats input registers and holding 
registers interchangeably, so you can use functions 04 or 03 to read any registers.

 

04 (0x04) - Read Input Registers:

 Input registers are generally read-only and report power, 

energy, and related values. The WattNode meter treats input registers and holding registers 
as interchangeable, so you can use functions 04 or 03 to read any registers.

 

06 (0x06) - Write Single Register:

 This writes a new value to a single register.

 

16 (0x10) - Write Multiple Registers:

 This writes a new value to a range of registers.

 

17 (0x11) - Report Slave ID

: This returns a packet containing an ASCII text identification 

string. See the next section for details.

Other functions will result in Modbus exception 

01 - Illegal Function Code

.

Measurement Overview

The WattNode meter performs measurements every one second. The measurements are used to 
update three types of registers:

 

Energy registers

: These accumulate up (or sometimes down) based on the consumed 

energy during each measurement period. Energy values are preserved across power failures.

 

Instantaneous registers

: These are non-accumulating values, like power, volts, current, etc. 

These are not preserved across power failures.

 

Demand registers

: these accumulate data from each measurement, but the reported 

demand values only update at the completion of a demand interval (or subinterval), which 
is typically every 15 minutes. Only the peak demand values are preserved across power 
failures.

Содержание WattNode Revenue RWNC-3D-240-MB

Страница 1: ...C 3D 400 MB WNC 3D 480 MB WattNode Revenue for Modbus Models RWNC 3Y 208 MB RWNC 3Y 400 MB RWNC 3Y 480 MB RWNC 3Y 600 MB RWNC 3D 240 MB RWNC 3D 400 MB RWNC 3D 480 MB WattNode Modbus Installation and O...

Страница 2: ...gy and if not installed and used in accordance with the instructions may cause harmful interfer ence to radio communications However there is no guarantee that interference will not occur in a particu...

Страница 3: ...mers 17 Circuit Protection 18 Connecting Voltage Terminals 19 Setting the Modbus Address 19 Baud Rate 20 Connecting Modbus Outputs 20 Planning the Modbus Network 20 Installation Summary 22 Wiring 22 I...

Страница 4: ...e Energy 42 Reactive Energy 42 Apparent Energy 42 Power Factor 42 Reactive Power 43 Apparent Power 43 Current 44 Demand 44 I O Pin Options 46 Configuration Registers 46 Demand Configuration 48 Zeroing...

Страница 5: ...and C values If necessary you can use different CTs on the different circuits Communication The WattNode meter uses a half duplex EIA RS 485 interface for communication The standard baud rates are 9...

Страница 6: ...te relay contact closure output between the X and C terminals for load shedding and other applications Special Options Contact the factory about the following special options Option 232 Provide RS 232...

Страница 7: ......

Страница 8: ......

Страница 9: ......

Страница 10: ...120V 208V with neutral 96 138 166 276 3Y 208 N and A 3D 240 A and B 3 Phase 4 Wire Delta 120 208 240V with neutral 96 138 166 276 3D 240 A and B 3 Phase 4 Wire Wye 230V 400V with neutral non U S 184...

Страница 11: ......

Страница 12: ......

Страница 13: ......

Страница 14: ......

Страница 15: ...ight high temperatures and conductive pollution salt spray metal dust etc If moisture or conductive pollution may be present use an IP 66 or NEMA 4 rated enclosure to protect the meter Due to its expo...

Страница 16: ...d by multimeters and the WattNode meter Resistive loads like heaters and incandescent lights have nearly sinusoidal current waveforms with a crest factor near 1 4 Power factor corrected loads such as...

Страница 17: ......

Страница 18: ...s an earth connection which should be connected for maximum accuracy However this earth connection is not used for safety protective earthing To connect CTs pass the wire to be measured through the CT...

Страница 19: ...in all the way The WattNode meter is powered from the voltage inputs A phase A to N neutral for wye 3Y models or A to B for delta 3D models If the meter is not receiving at least 80 of the nominal lin...

Страница 20: ...4 to the ApplyComConfig 1651 register to apply the new address 2 Set the address with the Address register Set the DIP switches to any non zero address so the meter won t reset the address to the fact...

Страница 21: ...er you may use stubs or branches Long stubs or branches greater than 30 m 100 ft may cause signal reflections and should be avoided Termination Networks shorter than 500 m 1650 ft should not need term...

Страница 22: ...you may use the shield to provide the Modbus common C connection between all devices on the network Connect the cable shield or Modbus common if there is no shield to earth ground at just the Modbus...

Страница 23: ...hase if line Vac is present but the measured power is below the minimum that the meter will measure see Creep Limit p 57 the meter will display solid green for that phase Inactive Phase If the meter d...

Страница 24: ...rew terminal connect them to neutral if present or earth ground if neutral isn t available If you suspect noise may be the problem try moving the meter away from the source of noise Also try to keep t...

Страница 25: ...atus LEDs together every three seconds This is very rare but can indicate the following You have purchased a DC instrument powered WattNode meter and the meter has power but the circuit being monitore...

Страница 26: ...the power negative This can be fixed either by flipping the CT or by swapping the white and black wires where they enter the meter The current transformer white and black wires have been swapped where...

Страница 27: ...smatch between the voltage and current measurement phases on the meter For example if the phase A CT is around the phase B wire However this troubleshooting is complicated because different loads have...

Страница 28: ...a it is transmitting on the RS 485 bus This can happen if two devices have the same address and start transmitting at nearly the same time It can also be caused by a short circuit on the bus or extrem...

Страница 29: ...gPasscode was aborted by a write to an unrelated register 03 Illegal data value ErrorStatus 202 When changing the ConfigPasscode the confirmation entry didn t match the first entry ErrorStatus 205 Inv...

Страница 30: ...d the numbers are way off your software may be combining the floating point registers in the wrong order Compare the values to the integer regis ters and check to see if your software has an option li...

Страница 31: ...ases your Modbus software will automatically use the correct Modbus command for any action you wish to perform so you may be able to skip this section The Modbus specifica tions list numerous possible...

Страница 32: ...600 MB WNC 3D 240 MB Continental Control Systems LLC WattNode MODBUS WNC 3D 240 MB WNC 3D 400 MB Continental Control Systems LLC WattNode MODBUS WNC 3D 400 MB WNC 3D 480 MB Continental Control Systems...

Страница 33: ...t values have a limitation the effective resolution in kWh gets lower as more energy accumulates If the total energy exceeds 100 000 kWh the resolution of the floating point energy will become coarser...

Страница 34: ...to line phase A to B 1029 1030 VoltBC V RMS voltage line to line phase B to C 1031 1032 VoltAC V RMS voltage line to line phase A to C Frequency Register 1033 1034 Freq Hz Power line frequency These r...

Страница 35: ...ectional energy phase A 1103 1104 EnerygB kWh Net bidirectional energy phase B 1105 1106 EnergyC kWh Net bidirectional energy phase C 1107 1108 EnergyPosA kWh Positive energy phase A 1109 1110 EnergyP...

Страница 36: ...List Integer These registers provide advanced integer measurements The energy registers are 32 bit signed dual registers the first register provides the lower 16 bits and the second register provides...

Страница 37: ...1356 DemandMax PowerIntScale Maximum power demand 1357 DemandApp PowerIntScale Apparent power demand 1358 DemandA PowerIntScale Real power demand phase A 1359 DemandB PowerIntScale Real power demand p...

Страница 38: ...muni cation Registers p 50 below for details Registers Name Default Description 1651 ApplyComConfig 0 Writing 1234 applies the configuration settings below Reads 1 if changes not applied yet 1652 Addr...

Страница 39: ...tCtAmpsB CtAmpsB Option CT phase B CtAmps 1726 OptCtAmpsC CtAmpsC Option CT phase C CtAmps 1727 OptModbusMode ModbusMode Option TCP RTU for Modbus protocol 1728 OptAddress Address Option AD Modbus add...

Страница 40: ...ications i e photovol taic where you wish to measure the net energy in situations where you may sometimes consume energy and other times generate energy Use EnergyPosSum instead if you don t want nega...

Страница 41: ...se registers as estimates of the line to line voltage In order to estimate these voltages the meter must know the phase offset or the type of electrical service see PhaseOffset configuration register...

Страница 42: ...egisters that can count up or down depending on the sign of the reactive power The WattNode meter only measures the fundamental reactive energy not including harmonics These values are reset to zero w...

Страница 43: ...PowerReacB PowerReacC or PowerReacSum to VARs use the following equation PowerReac VAR PowerReacSum PowerIntScale For example if PowerIntScale 1609 is 100 and the integer PowerReacSum 1343 reports 15...

Страница 44: ......

Страница 45: ...w ing equation Demand W Demand PowerIntScale For example if PowerIntScale 1609 is 100 and the integer Demand 1354 reports 4700 then the demand is 4700 100 470 000 watts or 470 kW Demand Subinterval De...

Страница 46: ...scode contact support for assistance 0 Unlocked 1 Locked Invalid unlock attempts will result in the Modbus exception 03 Illegal data value and prevent more attempts for five seconds An unlocked meter...

Страница 47: ...cations So if the status LED for a phase was flashing red and you flip the CT with CtDirections the LED will change to green flashing This cannot be used to correct for situations where CT phases do n...

Страница 48: ...current values so that a current equal to the CT rated amps will result in an output value of CurrentIntScale The default CurrentIntScale is 20000 See CurrentA CurrentB CurrentC for more details Deman...

Страница 49: ...CT current Generally the default value of 1500 which sets the creep limit to 1 1500th of full scale power works well Sometime in electrically noisy environments you may see non zero power readings whe...

Страница 50: ...This isn t permitted for setting the address because then multiple devices would share the same address The communication configuration can be restored to factory defaults by switching all the DIP swi...

Страница 51: ...ol In order to make this work the meter can switch to the Modbus TCP IP protocol still using RS 485 which is nearly identical to Modbus RTU but with a different header and no CRC bytes TCP IP has a bu...

Страница 52: ...eErrorCount 1713 This is the number up to 32767 of Modbus packets with framing errors A framing error can indi cate bad baud rate bad parity setting RS 485 noise or interference or an RS 485 bus colli...

Страница 53: ...d high voltage may damage the WattNode 84 85 86 INFO EnergyA B C registers overflowed 100 gigawatt hours reset to 0 87 INFO EnergySum register overflowed 100 gigawatt hours reset to 0 88 INFO EnergySu...

Страница 54: ...bus address detected 250 WARNING Modbus receiver overrun This is generally caused by non Modbus data on the bus or packets longer than 256 bytes 251 WARNING RS 485 receiver error Generally caused by b...

Страница 55: ...he following options See the CCS website WattNode Modbus Options page for details General Options Option CT xxx Pre assign xxx as the global CtAmps value of the attached current transformers Option CT...

Страница 56: ...rovide 5 V TTL UART I O in place of RS 485 Accuracy The following accuracy specifications do not include errors caused by the current transformer accuracy or phase angle errors Rated current is the cu...

Страница 57: ...To customize the creep limit see CreepLimit 1618 in Configuration Registers p 46 Update Rate 1 0 second Internally all measurements are performed at this rate Start Up Time Approximately 1 0 second Th...

Страница 58: ...of the meter Maximum Power Supply Voltage Range 20 to 15 of nominal see table above For the WNC 3D 240 MB this is 20 of 208 Vac 166 Vac to 15 of 240 Vac 276 Vac Operating Frequencies 50 60 Hz Measure...

Страница 59: ...P 66 Mechanical Enclosure High impact ABS and or ABS PC plastic Flame Resistance Rating UL 94V 0 IEC FV 0 Size 153 mm 85 mm 38 mm 6 02 in 3 35 in 1 50 in Weight 307 gm 10 8 oz Connectors Euroblock sty...

Страница 60: ...ghtning product modifications alterations or repairs by anyone other than CCS Except as set forth herein CCS makes no warranties expressed or implied and CCS disclaims and negates all other warranties...

Отзывы: