0% found this document useful (0 votes)
278 views

WM HPC Modbus Protocol - Rev 1

This document describes the Modbus protocol implementation for accessing parameters of a WMHpc device. It includes: - An overview of the Modbus commands, memory areas, data types, and error handling supported. - Tables mapping WMHpc parameters to bit and register addresses in the Modbus memory areas, including the data type and read/write properties of each parameter. - Details on the request and response formats for each Modbus command.

Uploaded by

corazto
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
278 views

WM HPC Modbus Protocol - Rev 1

This document describes the Modbus protocol implementation for accessing parameters of a WMHpc device. It includes: - An overview of the Modbus commands, memory areas, data types, and error handling supported. - Tables mapping WMHpc parameters to bit and register addresses in the Modbus memory areas, including the data type and read/write properties of each parameter. - Details on the request and response formats for each Modbus command.

Uploaded by

corazto
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

1/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation

Martin Forsberg

CONTENTS
1 MODBUS protocol and parameters ................................................................................... 2 1.1 Implementation........................................................................................................... 2 1.2 Commands.................................................................................................................. 3 1.3 Parameters .................................................................................................................. 5 2 MODBUS virtual memory map ......................................................................................... 6 2.1 Bit addressing area (#01: "coil" parameters).............................................................. 6 2.2 Bit addressing area (#02: "input" parameters) ........................................................... 8 2.3 Register addressing area (#03, #06, #16: "holding register" parameters) .................. 9 2.4 Register addressing area (#04: "input register" parameters) .................................... 20

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

2/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation

Martin Forsberg

1 MODBUS protocol and parameters


1.1 Implementation A selection from the available WMHpc parameters are mapped into virtual memory areas for Modbus access. There are two such areas available, and each parameter is mapped into the area that best corresponds to the parameter type. One area is dedicated for bit addressing ("coil/input"-parameters), and the other area for register addressing ("holding register/input register"-parameters). Each area starts at an address that is dependent on the command used for data access. Note that the bit- and register addresses listed in this document should be decremented by a command specific offset when converting to the address actually transferred in the Modbus communication protocol. (See information at each command for further information). This is done in accordance with the Modbus standard of implementation and is usually handled automatically by the client driver. Some parameters are left out due to limitations in the protocol, or because they are considered relevant only for the web interface. (E.g. no voluminous text parameters are included). All holding registers are implemented with 16 bit address resolution. "Register" (as in "number of registers") is handled and counted as words (2 bytes). The smallest element size of a parameter in the register addressing area is one word (2 bytes). Reading from an unmapped area gives 0-values (no exception code is generated). Writing to an unmapped area is ignored (no exception code is generated). Reading from a non-readable parameter gives 0-values (no exception code is generated). Writing to a non-writeable parameter is ignored (no exception code is generated). If a parameter is readable, but the read fails for some other reason (internal error?), the exception code illegal data value is generated (this should never happen!). If a parameter is writeable, but the write fails for some other reason (e.g. out of range), exception code illegal data value is generated. Reading or writing outside the 64k Modbus address area gives exception code "illegal data address". For register addressing, specifying "number of registers" < 1 or "number of registers" >122 gives exception code "illegal data address". For bit addressing, specifying "number of bits" < 1 or "number of bits" > 1960 (i.e. 245 bytes) gives exception code "illegal data address". It is not allowed to begin or end reading or writing in the middle of a parameter element that consist of multiple registers (long, fix, etc.). Exception code "illegal data address" is then given, but it is allowed to begin or end reading or writing between parameter elements within a parameter. Numeric parameter elements (int, long etc.) are sent with MSB first (big endian). The Modbus command itself (start address, number of registers etc.) is also sent with MSB first (big endian), except for the CRC-checksum, which is sent with LSB first (little endian), according to the Modbus standard.

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

3/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation

Martin Forsberg

1.2 Commands Only a subset of the general Modbus commands and exception codes are supported: Commands dedicated for bit addressing area ("input/coil"-parameters) #01 = "Read coils". #02 = "Read discrete inputs" 1. Commands dedicated for register addressing area ("holding register"-parameters) #03 = "Read holding registers". #04 = "Read input registers" 2. #06 = "Write single register". #16 = "Write multiple registers". The following exception codes can be generated 01 = "Illegal function". 02 = "Illegal data address". 03 = "Illegal data value". 06 = "Slave device busy" (configurable usage). Description of command table (see next page) Q = Question. A = Answer. Exc = Exception code. id = WMHpc communication address (slave). addr = Start address (big endian). regs = Number of registers (big endian). bits = Number of bits (big endian). bytes = Byte count. value = Data value (big endian). mask = Data bitmask. crc = Cyclic redundancy checksum (little endian). <:1> = Item size is 1 byte. <:2> = Item size is 2 byte. <:N> = Item size in number of bytes, according to the content of bytes.

1 2

Identical functionality as command #01 but with a different memory mapping. Identical functionality as command #03 but with a different memory mapping.

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

4/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation

Martin Forsberg

#01: "Read coils" N = size according to bytes = (bits + 7) div 8 Q: A: Exc: <id:1>,<0x01>,<addr:2>,<bits:2>,<crc:2> <id:1>,<0x01>,<bytes:1>,<mask:N>,<crc:2> <id:1>,<0x81>,<exc:1>,<crc:2>

#02: "Read discrete inputs" N = size according to bytes = (bits + 7) div 8 Q: A: Exc: <id:1>,<0x02>,<addr:2>,<bits:2>,<crc:2> <id:1>,<0x02>,<bytes:1>,<mask:N>,<crc:2> <id:1>,<0x82>,<exc:1>,<crc:2>

#03: "Read holding registers" N = size according to bytes = regs * 2 Q: A: Exc: <id:1>,<0x03>,<addr:2>,<regs:2>,<crc:2> <id:1>,<0x03>,<bytes:1>,<value:N>,<crc:2> <id:1>,<0x83>,<exc:1>,<crc:2>

#04: "Read input registers" N = size according to bytes = regs * 2 Q: A: Exc: <id:1>,<0x04>,<addr:2>,<regs:2>,<crc:2> <id:1>,<0x04>,<bytes:1>,<value:N>,<crc:2> <id:1>,<0x84>,<exc:1>,<crc:2>

#06: "Write single register"

Q: A: Exc:

<id:1>,<0x06>,<addr:2>,<value:2>,<crc:2> <id:1>,<0x06>,<addr:2>,<value:2>,<crc:2> <id:1>,<0x86>,<exc:1>,<crc:2>

#16: "Write multiple registers" N = size according to bytes Q: A: Exc: <id:1>,<0x10>,<addr:2>,<regs:2>,<bytes:1>,<value:N>,<crc:2> <id:1>,<0x10>,<addr:2>,<regs:2>,<crc:2> <id:1>,<0x90>,<exc:1>,<crc:2>

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

5/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation

Martin Forsberg

1.3 Parameters A WMHpc parameter element can have one of the following standard data types: bool : 1 bit data, boolean uchar : 1 byte data, unsigned character schar : 1 byte data, signed character uint : 2 byte data, unsigned integer sint : 2 byte data, signed integer ulong : 4 byte data, unsigned long integer slong : 4 byte data, signed long integer fixN : 4 byte data, signed long integer * 10N (range = 0 .. 1). (range = 0 .. 255). (range = -128 .. 127). (range = 0 .. 65535). (range = -32768 .. 32767). (range = 0 .. 4294967295). (range = -2147483648 .. 2147483647). (real, with a fixed number of decimals = N).

These parameter elements can then be arranged into 0, 1, 2 or 3 dimensions, hence called "single", "array", "matrix" or "cube". 0-dimensional parameters (single) consist of only one single data element. 1-dimensional parameters (array) consist of an array of data elements. 2-dimensional parameters (matrix) consist of an array of arrays of data elements.

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

6/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation

Martin Forsberg

2 MODBUS virtual memory map


2.1 Bit addressing area (#01: "coil" parameters) Accessible via Modbus command #01. 8 bits of data are packed into each byte in the answer, starting from initial bit address in the request, and any additional bits to fill up the last answer byte are set to zero. (See chapter 1.2). Note: Bit addr, Size and Offs are given in bit resolution for this table. Bit addr should be decremented by 1 when converting to protocol level address.
Bit addr 01001 (Size) +Offs (70) Bit addressed parameters RW Type [Value] Unit bool [0..1]

ALARMSTATUS Status of active alarms (as bits instead of registers) 0 = Not active 1 = Active Alarm 01: High return temp Alarm 02: Temp diff brine Alarm 03: Compressor current Alarm 04: Brine pump current Alarm 05: High pressure Alarm 06: Low pressure Alarm 07: Low brine flow Alarm 08: Brine pressure Alarm 09: Compressor heat Alarm 10: Hot gas temperature Alarm 11: Control pressostat Alarm 12: Sensor supply temp Alarm 13: Sensor return temp Alarm 14: Broken outdoor temp Alarm 15: Sensor hot water Alarm 16: Sensor hot gas temp Alarm 17: Sensor brine in Alarm 18: Sensor brine out Alarm 19: Sensor prim. supply Alarm 20: HPC RM Communication Alarm 21: 24 VAC Power fail Alarm 22: WCS sensor Error Alarm 23: WCS Controller error Alarm 24: Sensor Error TWC Alarm 25: TWC out temp Alarm 26: TWC Return Temp Alarm 27: Ctrl err cooling c Alarm 28: Sensor cooling tank Alarm 29: Sensor surplus cool Alarm 30: Sensor cooling t out Alarm 31: Sensor cooling circ. Alarm 32: Reserved

array R

+0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15 +16 +17 +18 +19 +20 +21 +22 +23 +24 +25 +26 +27 +28 +29 +30 +31

All All All All All All Option Option All Not used All All All Master Master Option All All Master All All Option Option Option Option Option Option Option Option Option Option Not used

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

7/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation Alarm 33: Reserved Alarm 34: Shunt 1 sensor Alarm 35: Shunt 1 ctrl err Alarm 36: Shunt 2 sensor Alarm 37: Shunt 2 ctrl err Alarm 38: Shunt 3 sensor Alarm 39: Shunt 3 ctrl err Alarm 40: Shunt 4 sensor Alarm 41: Shunt 4 ctrl err Alarm 42: Shunt 5 sensor Alarm 43: Shunt 5 ctrl err Alarm 44: Shunt 6 sensor Alarm 45: Shunt 6 ctrl err Alarm 46: Shunt 7 sensor Alarm 47: Shunt 7 ctrl err Alarm 48: Shunt 8 sensor Alarm 49: Shunt 8 ctrl err Alarm 50: Communication Master Alarm 51: High brine in temp Alarm 52: Low brine in temp Alarm 53: Low brine out temp Alarm 54: Slave pump missing Alarm 55: Reserved Alarm 56: Reserved Alarm 57: Reserved Alarm 58: Reserved Alarm 59: Reserved Alarm 60: Reserved Alarm 61: Reserved Alarm 62: Reserved Alarm 63: Reserved Alarm 64: Reserved Alarm 65: Reserved Alarm 66: Reserved Alarm 67: Reserved Alarm 68: Reserved Alarm 69: Reserved Alarm 70: Reserved Not used Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Slave Option Option Option Master Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used

Martin Forsberg +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

8/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation

Martin Forsberg

2.2 Bit addressing area (#02: "input" parameters) Accessible via Modbus command #02. Identical to command #01, except that the memory map starts at 10000 instead of 0. (See chapter 2.1). Note: Bit addr should be decremented by 10001 when converting to protocol level address. (Protocol level addresses are identical between command #01 and #02).

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

9/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation

Martin Forsberg

2.3 Register addressing area (#03, #06, #16: "holding register" parameters) Accessible via Modbus commands #03, #06, #16. Note: Word addr, Size and Offs are given in word resolution for these tables. Word addr should be decremented by 40001 when converting to protocol level address.
Word (Size) addr +Offs 40001 (1) Word addressed parameters RW Type [Value] Unit uint 1

MODBUSREVISION Modbus protocol revision (for future usage) VERNR WMHpc version numbers Bootloader Firmware Webpages Appscript ALARMSTATUS Status of active alarms (as registers instead of bits) 0 = Not active 1 = Active

single RW

40011 (8) +0 +2 +4 +6 41001 (70)

array R

fix2

array R

uint

[0..1]

+0

See ALARMSTATUS
(chapter 2.1)

41101 (70)

ALARMACK Acknowledge/Reset one active alarm Signature XXX will be used in the event log 1 = Acknowledge one active alarm

array W

uint

[1]

+0 41301 (1)

See ALARMSTATUS
EVENTACK_ALL Acknowledge/Reset all active events 3 and alarms Signature XXX will be used in the event log 1 = Acknowledge all active events and alarms single W uint [1]

42001 (400) +0 +2 +4 +6 +8 +10 +12


3

CHNVALUE Channel value Channel 001: Supplytemperature Channel 002: Returntemperature Channel 003: Outdoor temp Channel 004: Hot water start sensor Channel 005: Hot gas temp Channel 006: Brine in temperature Channel 007: Brine out temperature

array R Master All Master All All All

fix# fix1 fix1 fix1 fix1 fix1 fix1 fix1 C C C C C C C

Acknowledge of individual active events are currently not available via Modbus, neither is status of active events, but EVENTACK_ALL will acknowledge/reset all active events, together with all active alarms.

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

10/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation Master Option Not used Not used Not used Not used Not used Not used fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix0 fix0 fix0 fix0 fix0 fix0 fix0 C C -

Martin Forsberg +14 +16 +18 +20 +22 +24 +26 +28 +30 +32 +34 +36 +38 +40 +42 +44 +46 +48 +50 +52 +54 +56 +58 +60 +62 +64 +66 +68 +70 +72 +74 +76 +78 +80 +82 +84 +86 +88 +90 +92 +94 +96 +98 +100 +102 +104 +106 +108 +110 +112 +114 +116 Channel 008: Primary supply temp Channel 009: Room temperature Channel 010: Reserved Channel 011: Reserved Channel 012: Reserved Channel 013: Reserved Channel 014: Reserved Channel 015: Reserved Channel 016: Reserved Channel 017: High comressor current Channel 018: High pump current Channel 019: Control pressostat Channel 020: High pressure pressostat Channel 021: Low pressure pressostat Channel 022: Flowsensor Channel 023: Compressor over heat Channel 024: External brine start Channel 025: Extra heater Channel 026: Analog out 2 Channel 027: Mean Channel 028: Max Channel 029: Min Channel 030: Mean Channel 031: Max Channel 032: Min Channel 033: Start/Stop compressor Channel 034: Start/Stop brinepump Channel 035: Start/Stop rad.pump Channel 036: Hot water switchover valve Channel 037: Block. extra heater Channel 038: Sum alarm Channel 039: System pump Channel 040: Digital out 8 Channel 041: Led master Channel 042: Led AO1 Channel 043: Mean Channel 044: Max Channel 045: T1 Channel 046: T2 Channel 047: T3 Channel 048: T4 Channel 049: T5 Channel 050: T6 Channel 051: T7 Channel 052: T8 Channel 053: RM Reset fail Channel 054: Controller function Channel 055: RM Comm Fail Channel 056: RM Power fail Channel 057: RM Comm Start Channel 058: RM First Connect Channel 059: Number of HP

Master

% V C C C C C C

All All All All Master All Master

C C ohm ohm ohm ohm ohm ohm ohm ohm

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

11/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation fix0 fix0 fix0 fix0 fix0 fix1 fix0 fix0 fix0 fix0 fix0 fix1 fix1 fix0 fix1 fix1 fix1 fix1 fix1 fix1 fix0 fix0 fix0 fix0 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix0 fix0 fix0 fix0 fix0 fix1 fix1 fix1 fix0 fix1 fix1 fix0 fix0 fix1 fix1 fix0 fix0 fix1 fix1 fix0

Martin Forsberg +118 +120 +122 +124 +126 +128 +130 +132 +134 +136 +138 +140 +142 +144 +146 +148 +150 +152 +154 +156 +158 +160 +162 +164 +166 +168 +170 +172 +174 +176 +178 +180 +182 +184 +186 +188 +190 +192 +194 +196 +198 +200 +202 +204 +206 +208 +210 +212 +214 +216 +218 +220

Channel 060: No of Heating HPs Channel 061: No of hot Water HPs Channel 062: TW Max Channel 063: Control pres. active Channel 064: Faulty slave pumps Channel 065: Room compensation Channel 066: Heat stop status Channel 067: Heat stop blocking timer Channel 068: Heat stop timer Channel 069: Temp diff brine trig Channel 070: Auto. brinepump Channel 071: Controller error Channel 072: System setpoint Channel 073: Slavepump Channel 074: Mean Channel 075: Max Channel 076: Min Channel 077: Mean Channel 078: Max Channel 079: Min Channel 080: Integral value Channel 081: A-Alarms Channel 082: B-Alarms Channel 083: Maste comm error Channel 084: Mean Channel 085: Max Channel 086: Min Channel 087: Mean Channel 088: Max Channel 089: Min Channel 090: Rest time block Channel 091: Start intervall time block Channel 092: Outdoor temp blocking extra heater Channel 093: HP limit Channel 094: Low brine in trig Channel 095: High brine in trig Channel 096: Low brine out trig Channel 097: Mean Channel 098: Max Channel 099: Min Channel 100: Shunt 1 status Channel 101: Shunt 1 temperature Channel 102: Shunt 1 controller error Channel 103: Shunt 1 valve Channel 104: Shunt 2 status Channel 105: Shunt 2 temperature Channel 106: Shunt 2 controller error Channel 107: Shunt 2 valve Channel 108: Shunt 3 status Channel 109: Shunt 3 temperature Channel 110: Shunt 3 controller error Channel 111: Shunt 3 valve

K sec sec

Master

C C C C C C C C C min

Master

C C C C C C min min

C C C C K % C K % C K %

Option Option Option Option Option Option Option Option Option Option Option Option

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

12/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Not used Option Option Option Not used Not used Not used Not used Not used Not used fix0 fix1 fix1 fix0 fix0 fix1 fix1 fix0 fix0 fix1 fix1 fix0 fix0 fix1 fix1 fix0 fix0 fix1 fix1 fix0 fix0 fix1 fix1 fix0 fix1 fix0 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix1 fix0

Martin Forsberg +222 +224 +226 +228 +230 +232 +234 +236 +238 +240 +242 +244 +246 +248 +250 +252 +254 +256 +258 +260 +262 +264 +266 +268 +270 +272 +274 +276 +278 +280 +282 +284 +286 +288 +290 +292 +294 +296 +298 +300 +302 +304 +306 +308 +310 +312 +314 +316 +318 +320 +322 +324 Channel 112: Shunt 4 status Channel 113: Shunt 4 temperature Channel 114: Shunt 4 controller error Channel 115: Shunt 4 valve Channel 116: Shunt 5 status Channel 117: Shunt 5 temperature Channel 118: Shunt 5 controller error Channel 119: Shunt 5 valve Channel 120: Shunt 6 status Channel 121: Shunt 6 temperature Channel 122: Shunt 6 controller error Channel 123: Shunt 6 valve Channel 124: Shunt 7 status Channel 125: Shunt 7 temperature Channel 126: Shunt 7 controller error Channel 127: Shunt 7 valve Channel 128: Shunt 8 status Channel 129: Shunt 8 temperature Channel 130: Shunt 8 controller error Channel 131: Shunt 8 valve Channel 132: WCS status Channel 133: WCS Temperature Channel 134: WCS Ctrl Error Channel 135: WCS ctrl signal Channel 136: Reserved Channel 137: TWC status Channel 138: HW out temp Channel 139: HW return temp Channel 140: Reserved Channel 141: Reserved Channel 142: Reserved Channel 143: Reserved Channel 144: Reserved Channel 145: Reserved Channel 146: Timer blocking Channel 147: Operational state Channel 148: Hot water heater Channel 149: CM status Channel 150: Cooling tank temp Channel 151: Temp surplus cooler Channel 152: Temp cool. tank out Channel 153: Temp cooling circ. Channel 154: Shunt valve Channel 155: Cooling fans Channel 156: Passive cool. valve Channel 157: Active cool. valve Channel 158: Surplus circ. pump Channel 159: Surplus dump valve Channel 160: Cooling circ. pump Channel 161: Cooling integral Channel 162: Mean Channel 163: RH room temp

C K % C K % C K % C K % C K % C K % C C -

Option Option Option Option Option Option Option Option Option Option Option Option Option

C C C C % %

C C

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

13/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation Option Option fix0 fix0 fix0 fix0 fix0 fix1 fix0 fix0 fix0 fix0 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix1 fix2 fix2 fix2 fix2 fix1 fix1 fix0 fix0 fix0 fix# fix0 fix0 fix0 fix0 fix0 fix0 fix1 fix0 fix0 fix0 fix0 fix0 % C

Martin Forsberg +326 +328 +330 +332 +334 +336 +338 +340 +342 +344 +346 +348 +350 +352 +354 +356 +358 +360 +362 +364 +366 +368 +370 +372 +374 +376 +378 +380 +382 +384 +386 +388 +390 +392 +394 +396 +398 43001 (300) +0 +2 +4 +6 +8 +10 +12 +14 +16 +18 +20 +22

Channel 164: Relative humidity Channel 165: Dew point limit Channel 166: Blocking active c Channel 167: Blocking passive c Channel 168: Active cooling max pumps Channel 169: Controller deviation Channel 170: CM sensor 1 alarm trig Channel 171: CM sensor 2 alarm trig Channel 172: CM sensor 3 alarm trig Channel 173: CM sensor 4 alarm trig Channel 174: Mean Channel 175: Mean Channel 176: Mean Channel 177: Mean Channel 178: Mean Channel 179: Max Channel 180: Min Channel 181: Mean Channel 182: Mean Channel 183: Mean Channel 184: Mean Channel 185: Max Channel 186: Min Channel 187: Mean Channel 188: Mean Channel 189: Mean Channel 190: Mean Channel 191: Mean Channel 192: Runtime compressor Channel 193: Runtime hot water Channel 194: Runtime extra heater DO Channel 195: Comp. runtime extra heater AO Channel 196: Mean Channel 197: Min Channel 198: TW Min Channel 199: VMin Channel 200: Reserved DTAVALUE Data value (Parameter) Data 001: Start HP1 Data 002: Delta start HP Data 003: Start extra heater Data 004: Full extra heater Data 005: Start limit Data 006: Compressor delay Data 007: Min stop time Data 008: Min start interval Data 009: Control press delay Data 010: Outdoor blocking extraheater Data 011: Hysteresis extraheater blocking Data 012: Heat stop limit

C % C C min C C C C C C C C %

All All Master Master

h h h h C C

array RW

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

14/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation fix1 fix1 fix1 fix1 fix1 fix0 fix0 fix0 fix0 fix1 fix0 fix1 fix1 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix1 fix0 fix1 fix0 fix0 fix0 fix0 fix1 fix0 fix1 fix0 fix0 fix0 fix0 fix1 fix0 fix1 fix0 fix0

Martin Forsberg +24 +26 +28 +30 +32 +34 +36 +38 +40 +42 +44 +46 +48 +50 +52 +54 +56 +58 +60 +62 +64 +66 +68 +70 +72 +74 +76 +78 +80 +82 +84 +86 +88 +90 +92 +94 +96 +98 +100 +102 +104 +106 +108 +110 +112 +114 +116 +118 +120 +122 +124 +126 Data 013: Heat stop hyst Data 014: Activation time lim Data 015: Deactiv. time lim Data 016: Pump exercise interval Data 017: Pump exercise time Data 018: Integral max limit Data 019: Integral dead zone Data 020: Fast mode Data 021: Room temp feedback Data 022: Room set point Data 023: Top Up function Data 024: Top Up temp limit Data 025: Delta limit next HP Data 026: Extra heater type Data 027: Heat up delay Data 028: Burner off delay Data 029: MaxRetTemp HW Delay Data 030: Brine control Data 031: Brine out min temp Data 032: Brine in min temp Data 033: Brine in max temp Data 034: Time limit Data 035: Pressure/Flow guard Data 036: Operational mode Data 037: Hot water production Data 038: Hot water stop cond. Data 039: Turn on limit Data 040: Turn off limit Data 041: Max system temp Data 042: Min system temp Data 043: Calendar offset Data 044: Shunt 1 controller type Data 045: Shunt 1 outdoor temp. stop Data 046: Shunt 1 hysteresis Data 047: Shunt 1 set point Data 048: Shunt 1 P-area Data 049: Shunt 1 I-time Data 050: Shunt 1 pump exercise time Data 051: Shunt 2 controller type Data 052: Shunt 2 outdoor temp. stop Data 053: Shunt 2 hysteresis Data 054: Shunt 2 set point Data 055: Shunt 2 P-area Data 056: Shunt 2 I-time Data 057: Shunt 2 pump exercise time Data 058: Shunt 3 controller type Data 059: Shtun 3 outdoor temp. stop Data 060: Shunt 3 hysteresis Data 061: Shunt 3 set point Data 062: Shunt 3 P-Area Data 063: Shunt 3 I-time Data 064: Shunt 3 pump exercise time

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

15/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation fix0 fix0 fix1 fix0 fix1 fix0 fix0 fix0 fix0 fix1 fix0 fix1 fix0 fix0 fix0 fix0 fix1 fix0 fix1 fix0 fix0 fix0 fix0 fix1 fix0 fix1 fix0 fix0 fix0 fix0 fix1 fix0 fix1 fix0 fix0 fix0 fix0 fix1 fix0 fix0 fix1 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix1 fix1

Martin Forsberg +128 +130 +132 +134 +136 +138 +140 +142 +144 +146 +148 +150 +152 +154 +156 +158 +160 +162 +164 +166 +168 +170 +172 +174 +176 +178 +180 +182 +184 +186 +188 +190 +192 +194 +196 +198 +200 +202 +204 +206 +208 +210 +212 +214 +216 +218 +220 +222 +224 +226 +228 +230 Data 065: Shunt 4 controller type Data 066: Shunt 4 outdoor temp. stop Data 067: Shunt 4 hysteresis Data 068: Shunt 4 set point Data 069: Shunt 4 P-Area Data 070: Shunt 4 I-time Data 071: Shunt 4 pump exercise time Data 072: Shunt 5 controller type Data 073: Shunt 5 outdoor temp. stop Data 074: Shunt 5 hysteresis Data 075: Shunt 5 set point Data 076: Shunt 5 P-Area Data 077: Shunt 5 I-time Data 078: Shunt 5 Pump exercise time Data 079: Shunt 6 controller type Data 080: Shunt 6 outdoor temp. stop Data 081: Shunt 6 hysteresis Data 082: Shunt 6 set point Data 083: Shunt 6 P-Area Data 084: Shunt 6 I-time Data 085: Shunt 6 Pump exercise time Data 086: Shunt 7 controller type Data 087: Shunt 7 outdoor temp. stop Data 088: Shunt 7 hysteresis Data 089: Shunt 7 set point Data 090: Shunt 7 P-Area Data 091: Shunt 7 I-time Data 092: Shunt 7 pump exercise time Data 093: Shunt 8 controller type Data 094: Shunt 8 outdoor temp. stop Data 095: Shunt 8 hysteresis Data 096: Shunt 8 set point Data 097: Shunt 8 P-Area Data 098: Shunt 8 I-time Data 099: Shunt 8 pump exercise time Data 100: Lim force HP start Data 101: Lim force EH start Data 102: Curve offset Data 103: WCS Hot-Gas function Data 104: WCS setpoint Data 105: WCS P-area Data 106: WCS D-factor Data 107: WCS ctrl start delay Data 108: Start temp out Data 109: Stop temp out Data 110: Start temp return Data 111: Stop temp return Data 112: Start delay out Data 113: Start delay return Data 114: Tank set point Data 115: Circulation delay Data 116: Temp diff limit

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

16/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix1 fix1 fix1 fix1 fix1 fix0 fix1 fix1 fix0 fix# fix1 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix1 fix1 fix1 fix1 C

Martin Forsberg +232 +234 +236 +238 +240 +242 +244 +246 +248 +250 +252 +254 +256 +258 +260 +262 +264 +266 +268 +270 +272 +274 +276 +278 +280 +282 +284 +286 +288 +290 +292 +294 +296 +298 44001 (140) +0 +2 +4 +6 +8 +10 +12 +14 +16 +18 +20 +22 +24 +26 +28 Data 117: Start passive cool. Data 118: Start active cool. Data 119: Delta start HP Data 120: Passive block limit Data 121: Active block limit Data 122: Hysteresis passive Data 123: Hysteresis active Data 124: Config cooling Data 125: Cool circ. set point Data 126: P-area Data 127: I-time Data 128: Pump exerc. interval Data 129: Pump exerc. time Data 130: Dew point control Data 131: Stop limit Data 132: Cooler set point Data 133: P-area Data 134: I-time Data 135: Master mode Data 136: Min valve signal Data 137: Tempdiff brine Data 138: VVLUseInternalCtrl Data 139: VVLCtrlType Data 140: Legionella stop temp Data 141: CP while heating Data 142: Reserved Data 143: Reserved Data 144: Reserved Data 145: Reserved Data 146: Reserved Data 147: [A_LANG] Data 148: Reserved Data 149: Reserved Data 150: [DEBUG] ALARMTRIGLIMIT1 Alarm trig limit 1 Alarm 01: High return temp Alarm 02: Temp diff brine Alarm 03: Compressor current Alarm 04: Brine pump current Alarm 05: High pressure Alarm 06: Low pressure Alarm 07: Low brine flow Alarm 08: Brine pressure Alarm 09: Compressor heat Alarm 10: Hot gas temperature Alarm 11: Control pressostat Alarm 12: Sensor supply temp Alarm 13: Sensor return temp Alarm 14: Broken outdoor temp Alarm 15: Sensor hot water

Not used Not used Not used Not used Not used Not used Not used

array RW All All All All All All Option Option All Not used All All All Master Master

ohm ohm ohm ohm

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

17/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation Option All All Master All All Option Option Option Option Option Option Option Option Option Option Not used Not used Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Option Slave Option Option Option Master Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used fix1 fix1 fix1 fix1 fix0 fix0 fix0 fix1 fix0 fix1 fix1 fix1 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix1 fix0 fix1 fix0 fix1 fix0 fix1 fix0 fix1 fix0 fix1 fix0 fix1 fix0 fix1 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 fix0 ohm ohm ohm ohm

Martin Forsberg +30 +32 +34 +36 +38 +40 +42 +44 +46 +48 +50 +52 +54 +56 +58 +60 +62 +64 +66 +68 +70 +72 +74 +76 +78 +80 +82 +84 +86 +88 +90 +92 +94 +96 +98 +100 +102 +104 +106 +108 +110 +112 +114 +116 +118 +120 +122 +124 +126 +128 +130 +132 Alarm 16: Sensor hot gas temp Alarm 17: Sensor brine in Alarm 18: Sensor brine out Alarm 19: Sensor prim. supply Alarm 20: HPC RM Communication Alarm 21: 24 VAC Power fail Alarm 22: WCS sensor Error Alarm 23: WCS Controller error Alarm 24: Sensor Error TWC Alarm 25: TWC out temp Alarm 26: TWC Return Temp Alarm 27: Ctrl err cooling c Alarm 28: Sensor cooling tank Alarm 29: Sensor surplus cool Alarm 30: Sensor cooling t out Alarm 31: Sensor cooling circ. Alarm 32: Reserved Alarm 33: Reserved Alarm 34: Shunt 1 sensor Alarm 35: Shunt 1 ctrl err Alarm 36: Shunt 2 sensor Alarm 37: Shunt 2 ctrl err Alarm 38: Shunt 3 sensor Alarm 39: Shunt 3 ctrl err Alarm 40: Shunt 4 sensor Alarm 41: Shunt 4 ctrl err Alarm 42: Shunt 5 sensor Alarm 43: Shunt 5 ctrl err Alarm 44: Shunt 6 sensor Alarm 45: Shunt 6 ctrl err Alarm 46: Shunt 7 sensor Alarm 47: Shunt 7 ctrl err Alarm 48: Shunt 8 sensor Alarm 49: Shunt 8 ctrl err Alarm 50: Communication Master Alarm 51: High brine in temp Alarm 52: Low brine in temp Alarm 53: Low brine out temp Alarm 54: Slave pump missing Alarm 55: Reserved Alarm 56: Reserved Alarm 57: Reserved Alarm 58: Reserved Alarm 59: Reserved Alarm 60: Reserved Alarm 61: Reserved Alarm 62: Reserved Alarm 63: Reserved Alarm 64: Reserved Alarm 65: Reserved Alarm 66: Reserved Alarm 67: Reserved

K C C C

K K K K K K K K

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

18/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation Not used Not used Not used array RW fix0 fix0 fix0 fix#

Martin Forsberg +134 +136 +138 44501 (140) +0 45001 (70) +0 45101 (70) +0 46001 (240) +0 +0 +2 +4 +6 +8 +10 +12 +14 +16 +18 +20 +40 +60 +80 +100 +120 +140 +160 +180 +200 +220 46501 (240) +0 +0 +2 +4 +6 +8 +10 +12 +14 CURVEVALUEX Curve value, X-axis Curve 01 [10]: Control curve supply temp ValueX 01 ValueX 02 ValueX 03 ValueX 04 ValueX 05 ValueX 06 ValueX 07 ValueX 08 ValueX 09 ValueX 10 Curve 02 [10]: Curve room temp feedback Curve 03 [10]: Shunt 1 curve setting Curve 04 [10]: Shunt 2 curve setting Curve 05 [10]: Shunt 3 curve setting Curve 06 [10]: Shunt 4 curve setting Curve 07 [10]: Shunt 5 curve setting Curve 08 [10]: Shunt 6 curve setting Curve 09 [10]: Shunt 7 curve setting Curve 10 [10]: Shunt 8 curve setting Curve 11 [10]: Reserved Curve 12 [10]: Reserved CURVEVALUEY Curve value, Y-axis Curve 01 [10]: Control curve supply temp ValueY 01 ValueY 02 ValueY 03 ValueY 04 ValueY 05 ValueY 06 ValueY 07 ValueY 08 ALARMTRIGFILTEROFF Alarm trig filter off ALARMTRIGFILTERON Alarm trig filter on Alarm 68: Reserved Alarm 69: Reserved Alarm 70: Reserved ALARMTRIGLIMIT2 Alarm trig limit 2

See ALARMTRIGLIMIT1
array RW uint sec

See ALARMSTATUS
array RW uint sec

See ALARMSTATUS
matrix RW fix5

See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01
matrix RW fix5

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

19/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation

Martin Forsberg +16 +18 +20 +40 +60 +80 +100 +120 +140 +160 +180 +200 +220 ValueY 09 ValueY 10 Curve 02 [10]: Curve room temp feedback Curve 03 [10]: Shunt 1 curve setting Curve 04 [10]: Shunt 2 curve setting Curve 05 [10]: Shunt 3 curve setting Curve 06 [10]: Shunt 4 curve setting Curve 07 [10]: Shunt 5 curve setting Curve 08 [10]: Shunt 6 curve setting Curve 09 [10]: Shunt 7 curve setting Curve 10 [10]: Shunt 8 curve setting Curve 11 [10]: Reserved Curve 12 [10]: Reserved

See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01 See Curve 01

9cument name

Project name

Page

WMHpc, modbus protocol


File name

WMHpc
Revision

20/20
Revision date

WMHpc, Modbus protocol (rev 1).doc


Issued by

1.3
Note

2008-12-09
Created

Mikael Engstrm
Approved by

2008-10-03 Abelko Innovation

Martin Forsberg

2.4 Register addressing area (#04: "input register" parameters) Accessible via Modbus command #04. Identical to command #03, except that the memory map starts at 30000 instead of 40000. (See chapter 2.3). Note: Word addr should be decremented by 30001 when converting to protocol level address. (Protocol level addresses are identical between command #03 and #04).

You might also like