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

Modbus User Guide

modbus

Uploaded by

timo.kuitunen
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
109 views

Modbus User Guide

modbus

Uploaded by

timo.kuitunen
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Controller Modbus

User Guide

Copyright © PowerShield Ltd 2018 Page 1 of 16


Introduction
This manual covers the Modbus map of the Powershield Controller and some additional information to
help with the integration with a Modbus system.

Part Number 6300-101E


16 April 2019

The information contained in this manual is copyright, and is not to be reproduced


without the written authority of PowerShield Ltd

PowerShield Limited
PO Box 102-190
NSMC
North Shore City 0745
New Zealand

Copyright © PowerShield Ltd 2019 Page 2 of 16


Contents

Introduction ............................................................................................................................................... 2
Contents.................................................................................................................................................... 3
Definitions for this manual ......................................................................................................................... 4
Alarms ....................................................................................................................................................... 5
Initial Setup ............................................................................................................................................... 5
Modbus Map ............................................................................................................................................. 6
Introduction ........................................................................................................................................... 6
Table Formatting ................................................................................................................................... 6
Holding Registers (Function Code 3 & 6) .............................................................................................. 6
Input Registers (Function Code 4) ........................................................................................................ 7
Appendix A: Data Formats ...................................................................................................................... 16

Copyright © PowerShield Ltd 2019 Page 3 of 16


Definitions for this manual
Block one or more cells in a container also known as a battery. The terms Block and jar are
interchangeable. For this manual the term has been standardised as Block to avoid
using the somewhat unwieldy convention of Block/jar throughout.

String two or more Blocks connected in series.

6300-101E Copyright © PowerShield Ltd 2019 Page 4 of 16


Alarms
The alarms on the Controller are non-latching therefore when condition clears so does the alarm based
on its preset period. Periods range from 4 seconds to 1 minute depending on alarm type.

Initial Setup
Connect to the Controller as per the instructions in the Controller Configuration manual and login as an
admin user.

Go to the Network -> Modbus page to adjust the Modbus settings as shown below.

6300-101E Copyright © PowerShield Ltd 2019 Page 5 of 16


Modbus Map
Introduction
In the tables given here two different styles of address are shown.

The first, “Modicon” Register, is a non-standard yet common method that combines a single digit
representative of (but not the same as) the Modbus Function Code followed by either a 4 or 5 digit
address. This address is typically 1 greater than the devices internal address and the software will
usually subtract 1 from it before sending the Modbus packet.

The Internal Address given in the second column is the address that the device expects in the Modbus
packet (along with the appropriate Modbus Function Code).

Use the style of addressing appropriate for your software.

For the reasons given above you may also need to add or even subtract one to the addresses when
entering it into the software you use.

Table Formatting
Given that Modbus is a flat address space and cannot represent hierarchy, string and block data are
compacted into a continuous sequence of addresses with no gaps for each measurement. Since there
can be a large number of blocks and strings in a system the tables only show the start and end parts to
show the sequence that is followed. For block data, the blocks are arranged numerically from block 1 in
string 1 up to the last block in string 1 immediately followed by block 1 in string 2 and so on, depending
on the string configuration. These are then numbered starting from 1 up to the total number of blocks in
the system.

Holding Registers (Function Code 3 & 6)


There are no holding registers. All data is found in the Input Registers.

6300-101E Copyright © PowerShield Ltd 2019 Page 6 of 16


Input Registers (Function Code 4)
System Information

“Modicon” Internal
Length Description Value
Register Address
30002 1 16 System name First 32 characters
30017 16 16 Facility name First 32 characters
30033 32 16 Timezone First 32 characters

30051 50 1 Seconds Current time of unit


30052 51 1 Minutes
30053 52 1 Hours
53 1 Day
54 1 Month
55 1 Year
56 1 Timestamp High UNIX style timestamp
(seconds since 1970-
01-01 UTC)
57 1 Timestamp Low

String Configuration

“Modicon” Internal
Length Description Value
Register Address
30101 100 1 Number of Strings

30201 200 1 String 1 start Offset of 1st Block in string


1 in measurement data
below (0 based)
30202 201 1 String 1 end Offset of last Block in
string 1 in measurement
data below (0 based)

30207 206 1 String 4 start


30208 207 1 String 4 end

30215 214 1 String 8 start


30216 215 1 String 8 end

6300-101E Copyright © PowerShield Ltd 2019 Page 7 of 16


Alarm Summary
“Modicon” Internal
Length Description Value
Register Address
30301 300 1 Total number of Total warnings alarms on
warning alarms device (battery + system)
30302 301 1 Total number of Total critical alarms on
critical alarms device (battery + system +
input)
30303 302 1 Number of critical Total critical alarms related
battery alarms to all string and block
readings
30304 303 1 Number of critical
system and controller
alarms
30305 304 1 Number of critical Total critical alarms for
input alarms inputs both B1002 and TC
sensor inputs
30306 305 1 Number of warning
battery alarms
30307 306 1 Number of warning
system and controller
alarms

String Alarm Status

“Modicon” Internal
Length Description Value
Register Address
30311 310 1 String 1 critical 0 = no critical alarm
alarm count , >0 = number of
critical alarm
30312 311 1 String 2 critical 0 = no critical alarm
alarm count , >0 = number of
critical alarm

30318 317 1 String 8 critical 0 = no critical alarm


count , >0 = number of
critical alarm

30351 350 1 String 1 warning 0 = no warnings,


count >0 = number of
warnings

30358 357 1 String 8 warning 0 = no warnings,


count >0 = number of
warnings

6300-101E Copyright © PowerShield Ltd 2019 Page 8 of 16


Individual alarm counts

“Modicon” Internal
Length Description Value
Register Address
30401 400 1 Count of Alarm String Idle
30402 401 1 String Float
30403 402 1 String Charge
30404 403 1 String Discharge
30405 404 1 String State Unknown
30406 405 1 Critical Block Charge
Voltage High
30407 406 1 Warning Block Charge
Voltage High
30408 407 1 Critical Block Float
Voltage High
30409 408 1 Warning Block Float
Voltage High
30410 409 1 Critical Block Float
Voltage Low
30411 410 1 Warning Block Float
Voltage Low
30412 411 1 Critical Block Discharge
Voltage Low
30413 412 1 Warning Block
Discharge Voltage Low
30414 413 1 Critical Block Idle
Voltage Low
30415 414 1 Warning Block Idle
Voltage Low
30416 415 1 Warning Block Float
Ripple Voltage High
30417 416 1 Critical Block Charge
Temperature High
30418 417 1 Warning Block Charge
Temperature High
30419 418 1 Critical Block Charge
Temperature Low
30420 419 1 Warning Block Charge
Temperature Low
30421 420 1 Critical Block Float
Temperature High
30422 421 1 Warning Block Float
Temperature High
30423 422 1 Critical Block Float
Temperature Low
30424 423 1 Warning Block Float
Temperature Low
30425 424 1 Critical Block Discharge
Temperature High
30426 425 1 Warning Block
Discharge Temperature
High
30427 426 1 Critical Block Discharge
Temperature Low
30428 427 1 Warning Block
Discharge Temperature
Low
30429 428 1 Critical Block Idle
Temperature High
30430 429 1 Warning Block Idle
Temperature High

6300-101E Copyright © PowerShield Ltd 2019 Page 9 of 16


30431 430 1 Critical Block Idle
Temperature Low
30432 431 1 Warning Block Idle
Temperature Low
30433 432 1 Critical Block Ohmic
High
30434 433 1 Warning Block Ohmic
High
30435 434 1 Critical Block Ohmic
Low
30436 435 1 Warning Block Ohmic
Low
30437 436 1 Critical Ambient
Temperature High
30438 437 1 Warning Ambient
Temperature High
30439 438 1 Critical Ambient
Temperature Low
30440 439 1 Warning Ambient
Temperature Low
30441 440 1 Warning Block Float
Voltage Variation High
30442 441 1 Critical Block Discharge
Voltage Variation High
30443 442 1 Warning Block
Discharge Voltage
Variation High
30444 443 1 Not Used
30445 444 1 Critical Block Charge
Temperature Variation
High
30446 445 1 Warning Block Charge
Temperature Variation
High
30447 446 1 Critical Block Float
Temperature Variation
High
30448 447 1 Warning Block Float
Temperature Variation
High
30449 448 1 Critical Block Discharge
Temperature Variation
High
30450 449 1 Warning Block
Discharge Temperature
Variation High
30451 450 1 Critical Block Idle
Temperature Variation
High
30452 451 1 Warning Block Idle
Temperature Variation
High
30453 452 1 Critical String Float
Current High
30454 453 1 Critical String Charge
Current High
30455 454 1 Critical String Discharge
Current Low
30456 455 1 Critical String Float
Ripple Current High
30457 456 1 Warning String Float
Ripple Current High

6300-101E Copyright © PowerShield Ltd 2019 Page 10 of 16


30458 457 1 Critical String Charge
Voltage High
30459 458 1 Warning String Charge
Voltage High
30460 459 1 Critical String Float
Voltage High
30461 460 1 Warning String Float
Voltage High
30462 461 1 Critical String Float
Voltage Low
30463 462 1 Warning String Float
Voltage Low
30464 463 1 Critical String Discharge
Voltage Low

30465 464 1 Warning String


Discharge Voltage Low
30466 465 1 Critical String Idle
Voltage Low
30467 466 1 Warning String Idle
Voltage Low
30468 467 1 Warning Ambient
Temperature Variation
High
30469 468 1 Critical Ambient-Block
Temp High
30470 469 1 Warning Ambient-Block
Temp High
30471 470 1 Warning Humidity High
30472 471 1 Critical Discharge
Period High
30473 472 1 Warning Discharge
Period High
30474 473 1 Critical Ohmic Schedule
High
30475 474 1 Critical Block Ohmic
Variation High
30476 475 1 Warning Block Ohmic
Variation High
30477 476 1 Critical Digital Input
Alarm
30478 477 1 Critical High CPU
temperature
30479 478 1 Critical Low disk space
30480 479 1 Critical Out of disk
space
30481 480 1 Critical Hub status error
30482 481 1 Critical mSensor status
error
30483 482 1 Critical Device comms
error
30484 483 1 Critical Ambient
Temperature Variation
High
30485 484 1 Critical Charge Period
High
30486 485 1 Warning Charge Period
High
30487 486 1 Critical Humidity High
30488 487 1 Warning Block Voltage
Error
30489 488 1 Warning Block
Temperature Error

6300-101E Copyright © PowerShield Ltd 2019 Page 11 of 16


30490 489 1 Warning Block Ohmic
Error
30491 490 1 Warning String Current
Error
30492 491 1 Warning Ambient
Temperature Error
30493 492 1 Warning String Ripple
Current Error
30494 493 1 TRP Over Temperature
30495 494 1 Fast TRP Temp Rise
30496 495 1 Not Used
30497 496 1 Humidity Error
30498 497 1 TRP Thermal Runaway
Signalled

String State

“Modicon” Internal
Length Description Value
Register Address
30701 700 1 String 1 State 1=idle,2=float,
3=charge,
4=discharge,
5=unknown
30702 701 1 String 2 State 1=idle,2=float,
3=charge,
4=discharge,
5=unknown
30703 702 1 String 3 State 1=idle,2=float,
3=charge,
4=discharge,
5=unknown
30704 703 1 String 4 State 1=idle,2=float,
3=charge,
4=discharge,
5=unknown

30707 706 1 String 7 State 1=idle,2=float,


3=charge,
4=discharge,
5=unknown
30708 707 1 String 8 State 1=idle,2=float,
3=charge,
4=discharge,
5=unknown

6300-101E Copyright © PowerShield Ltd 2019 Page 12 of 16


Digital Inputs

“Modicon” Internal
Length Description Value
Register Address
30751 750 1 Controller Input 1 1=active,0=inactive
30752 751 1 Controller Input 2 1=active,0=inactive
30753 752 1 Hub 1 Input 1 1=active,0=inactive
30754 753 1 Hub 1 Input 2 1=active,0=inactive

30767 766 1 Hub 8 Input 1 1=active,0=inactive


30768 767 1 Hub 8 Input 2 1=active,0=inactive

Block Voltage
See appendix A for data format of values.

“Modicon” Internal
Length Description Value
Register Address
31001 1000 1 Block 1 voltage mV units
31002 1001 1 Block 2 voltage mV units

31511 1510 1 Block 511 voltage mV units


31512 1511 1 Block 512 voltage mV units

Block Ripple Voltage


See appendix A for data format of values.

“Modicon” Internal
Length Description Value
Register Address
32001 2000 1 Block 1 ripple voltage mV units
32002 2001 1 Block 2 ripple voltage mV units

32511 2510 1 Block 511 ripple voltage mV units


32512 2511 1 Block 512 ripple voltage mV units

Block Temperature
See appendix A for data format of values.

“Modicon” Internal
Length Description Value
Register Address
33001 3000 1 Block 1 temperature 0.1C
33002 3001 1 Block 2 temperature

33511 3510 1 Block 511 temperature


33512 3511 1 Block 512 temperature

6300-101E Copyright © PowerShield Ltd 2019 Page 13 of 16


Block Ohmic
See appendix A for data format of values.

“Modicon” Internal
Length Description Value
Register Address
34001 4000 1 Block 1 ohmic µΩ
34002 4001 1 Block 2 ohmic

34511 4510 1 Block 511 ohmic


34512 4511 1 Block 512 ohmic

Block Ohmic Baseline


See appendix A for data format of values.

“Modicon” Internal
Length Description Value
Register Address
35001 5000 1 Block 1 ohmic baseline µΩ
35002 5001 1 Block 2 ohmic baseline

35511 5510 1 Block 511 ohmic baseline


35512 5511 1 Block 512 ohmic baseline

String Current
See appendix A for data format of values.

“Modicon” Internal
Length Description Value
Register Address
36001 6000 1 String 1 current 0.1 Amps
36002 6001 1 String 2 current 0.1 Amps

36007 6006 1 String 7 current 0.1 Amps


36008 6007 1 String 8 current 0.1 Amps

String Voltage
See appendix A for data format of values.

“Modicon” Internal
Length Description Value
Register Address
36051 6050 1 String 1 voltage 0.1 V
36052 6051 1 String 2 voltage 0.1 V

36057 6056 1 String 7 voltage 0.1 V


36058 6057 1 String 8 voltage 0.1 V

6300-101E Copyright © PowerShield Ltd 2019 Page 14 of 16


String Ripple Current
See appendix A for data format of values.

“Modicon” Internal
Length Description Value
Register Address
36101 6100 1 String 1 ripple 0.1 Amps
current
36102 6101 1 String 2 ripple 0.1 Amps
current

36107 6106 1 String 7 ripple 0.1 Amps


current
36108 6107 1 String 8 ripple 0.1 Amps
current

Ambient Temperature
See appendix A for data format of values.

“Modicon” Internal
Length Description Value
Register Address
36151 6150 1 String 1 ambient 0.1 °C
temperature 1
36152 6151 1 String 1 ambient 0.1 °C
temperature 2

36165 6164 1 String 8 ambient 0.1 °C


temperature 1
36166 6165 1 String 8 ambient 0.1 °C
temperature 2

Humidity
See appendix A for data format of values.

“Modicon” Internal
Length Description Value
Register Address
36251 6250 1 String 1 humidity %
36252 6251 1 String 2 humidity %

36257 6256 1 String 7 humidity %

36258 6257 1 String 8 humidity %

6300-101E Copyright © PowerShield Ltd 2019 Page 15 of 16


Appendix A: Data Formats
Some data formats use special values to indicate error conditions. These values are given in tables
below where appropriate. Both decimal and hexadecimal versions are given.

A.1: Unsigned 16bit Value


This value represents positive integer values between 0 and 65535.

A.2: Signed 16bit Value


This represents positive and negative integer values between -32768 and 32767.

A.3: IEEE 754 32-bit Floating Point


This is a standard 32-bit floating point value with the most significant 16-bits in the first, lowest
numbered, register.

A.4: String Voltage


An unsigned value in 0.1 Volts, i.e. divide this by 10 to get the value in Volts

A.5: String Ambient Temperature


A signed value using 0.1 degrees Celsius, i.e. divide this by 10 to get the value in Celsius

A.6 String Current


A signed value in 0.1 Amps, i.e. divide this by 10 to get the value in Amps

A.7 String Ripple Current


A signed value in 0.1 Amps, i.e. divide this by 10 to get the value in Amps

A.8: Block Voltage


This is an unsigned value in millivolts.

A.9: Block Ripple Voltage


This is an unsigned value in millivolts.

A.10: Block Ohmic Value & Block Ohmic Baseline


The Block Ohmic value and baseline is an unsigned value in micro ohms.

A.11: Block Temperature


A signed value using 0.1 degrees Celsius, i.e. divide this by 10 to get the value in Celsius

A.12: Humidity
This is an unsigned value in %.

6300-101E Copyright © PowerShield Ltd 2019 Page 16 of 16

You might also like