SB Digi Comm

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

COMMUNICATION WITH THE SuperBrain

& DigiPoint over


Modbus and BACnet
Last Update 08.07.2012

MODBUS Protocol
The
has a serial interface port allowing direct interface
with an external communication network supporting the MODBUS Protocol.
MODBUS is an Industry Standard, widely known and commonly used communications
protocol. Using MODBUS provides communication between a PC and up to 247 Powermeter
slaves on a common line- the PC being the master and the controlers the slaves. The PC
initiates the transaction (either a query or broadcast) and the Controler/s responds. Controlers
respond to the master PCs request, but will not iniate any transmission on its own. The PC
sends a single Query transaction and the Controler responds in a single response frame and is
capable of only one query and one response at a time

1.1 MODBUS Faming


1.1.1 RTU Transmission Mode
MODBUS uses the standard Remote Terminal Unit (RTU) transmission mode. RTU mode
sends data in 8-bit binary EVEN parity or 8-bit binary NO parity data format. For the
to successfully communicate, choose one in the communication
Set Up.
Field
No. of bits
Start bit
Data bits
Parity
Stop it

1
8
1
1

Table 1-1 RTU Data Format

1.1.2 The RTU Frame Format


Query and response information is sent in frames. Each frame contains:
Address
Function (See Section 1.1.4 for descriptions of functions),
Data
Check.
Address Function

Data

Check

8 bits
8 bits
N * 8 bits 16 bits
Table 1-2 R T U Message Frame Format
If the receiving device (Powermeter) detects a time laps of five characters, then it will assume
the message is incomplete and will flush the frame. The device then assumes that the next byte
received will be an address. The maximum query and response message length is 256 bytes
includuing check characters.

1.1.3 Address Field


Each Powermeter is designated in a network system by a user assigned address. The Address
can be any number between 1 and 255. The Powermeter will only respond to its own
specifacally assigned address.

1.1.4 Function Field


The function field contains the code that tells the Powermeter what action to perform.
The
Functions.
Function 03
Function 04
Function 06
Function 16

uses and responds to four standard Message Format

Function
Function 03
Function 04
Function 06
Function 16

Meaning in MODBUS

Action

Read holding register

Obtain data from Powermeter


(Read register)
Read input register
Obtain data from Powermeter
(Read register)
Preset single register
Transmit data to Powermeter
(Write single register)
Preset multiple register Transmit data to Powermeter
(Write multiple register)
Table 1-3 Function Codes

1.1.5 Data Field


The Data field contains the body of the message and contains instructions from the PC master
to the Powermeter slave to perform a particuler action or respond to a query. The reply message
from the Powermeter will be information contained in one or more of its registers.

1.1.6 Check Field


The error check field contains the result of Cyclical Redundancy Check (CRC). The start of the
message is ignored in calculating the CRC.
For more detailed information on CRC, refer to the MODBUS Protocol Reference Guide.

1.2 Registers for


The
is capable of supporting either Function 03 or
Function 04 Message Format(See Table 1-3). In a reply to a query from the PC master for a
reading from a particular field, the response from the Powermeter can be either in Format 03 or
Format 04 but will depend on which Format the qeuery was originally sent.
The difference is significant because by using Function 03 the SuperBrain & DigiPoint will only
send the INTERGER part of the field value requested and the PC master will only display the
INTERGER part of the field value.
Function 04 on the other hand, is capable of sending two separate halves of the full FLOAT
requested information (each half contained in a separate register). Then it is the task of the PC
master to merge the two halves into a full FLOAT reply. (For more detailed information See
IEEE Standard 754 Floating-Point).

BACnet Protocol
The
supports Bacnet/IP and MSTP.
The information that can be read & write from the controllers are:
Time & Date
Analog Inputs
Analog Outputs
Digital (Binary) Inputs
Digital (Binary) Outputs
Analog Values - "Uniart Items" in the following registers table.

MODBUS

Field Description

Type

Register

1-2
3-4

ITEM

No
(Uniart\
BACnet)
Parameter #1 (File 0)
Parameter #2 (file 0)

Read/Write
Read/Write

1
2

255-256
257-258

Parameter #128 (File 0)


Parameter #1 (File 1)

Read/Write
Read/Write

128
129

511-512
513-514

Parameter #128 (File 1)


Parameter #1 (File 2)

Read/Write
Read/Write

256
257

767-768
769-770

Parameter #128 (File 2)


Parameter #1 (File 3)

Read/Write
Read/Write

384
385

1023-1024
1025-1026

Parameter #128 (File 3)


Parameter #1 (File 4)

Read/Write
Read/Write

512
513

1279-1280
1281-1282

Parameter #128 (File 4)


Parameter #1 (File 5)

Read/Write
Read/Write

640
641

1535-1536
1537-1538

Parameter #128 (File 5)


Parameter #1 (File 6)

Read/Write
Read/Write

768
769

1791-1792
1793-1794

Parameter #128 (File 6)


Parameter #1 (File 7)

Read/Write
Read/Write

896
897

2047-2048
2049-2050

Parameter #128 (File 7)


Parameter #1 (File 8)

Read/Write
Read/Write

1024
1025

2303-2304

Parameter #128 (File 8)

Read/Write

1152

4097-4098

Parameter #1 (File 16)

Read/Write

2049

4351-4352

Parameter #128 (File 16)

Read/Write

2176

MODBUS

Field Description

Type

Register

ITEM

No
(Uniart\
BACnet)

6145-6146

Parameter #1 (File 24)

Read/Write

3073

6399-6400
8193-8194

Parameter #128 (File 24)


Parameter #1 (File 32)

Read/Write
Read/Write

3200
4097

8447-8448
10241-10242

Parameter #128 (File 32)


Parameter #1 (File 40)

Read/Write
Read/Write

4224
5121

10495-10496
12289-12290

Parameter #128 (File 40)


Parameter #1 (File 48)

Read/Write
Read/Write

5248
6145

12543-12544
14337-14338

Parameter #128 (File 48)


Parameter #1 (File 56)

Read/Write
Read/Write

6272
7169

14591-14592

Parameter #128 (File 56)

Read/Write

7296

14801-14802
14803-14804
14805-14806
14807-14808
14809-14810
14811-14812
14813-14814
14815-14816
14817-14818
14819-14820
14821-14822
14823-14824
14825-14826
14827-14828
14829-14830
14831-14832
14833-14834
14835-14836

CO-MUX SP1
CO-MUX SP2
CO-MUX SP3
CO-MUX T1
CO-MUX T2
CO-MUX T3
CO-MUX T4
CO-MUX T5
CO-MUX T6
CO-MUX T7
CO-MUX T8
CO-MUX T9
CO-MUX T10
CO-MUX Use A.Out
CO-MUX SP4
CO-MUX A.Out Low
CO-MUX A.Out High
CO-MUX Work OffLine

Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write

7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418

Field Description

MODBUS

Type

Register

ITEM

No
(Uniart\
BACnet)

14841-14842
14843-14844

CO-MUX Sensor # 1
CO-MUX Sensor # 2

Read/Write
Read/Write

7421
7422

14899-14900
14901-14902

CO-MUX Sensor # 30
CO-MUX Dout # 1

Read/Write
Read/Write

7450
7451

14915-14916
14917-14918

CO-MUX Dout # 8
CO-MUX Aout # 1

Read/Write
Read/Write

7458
7459

14931-14932
14933-14934

CO-MUX Aout # 8
CO-MUX Use ModBus Comm

Read/Write
Read/Write

7466
7467

16393-16394
16395-16396
16397-16398

Ignore Offset for Parameters (8000)


Web Authentication (0=Free) (User : admin)
Program Number (110..) (SB_ARM)

Read/Write
Read/Write
Read/Write

8197
8198
8199

16401-16402

Analog Input #1

Read

8201

16415-16416
16417-16418

Analog Input #8
Analog Input #1 Force Status

Read
Read

8208
8209

16431-16432
16433-16434

Analog Input #8 Force Status


Digital Input #1 (AIn 1)

Read
Read

8216
8217

16447-16448
16449-16450

Digital Input #8 (AIn 8)


Digital Input #1 (AIn 1) Force Status

Read
Read

8224
8225

16463-16464
16465-16466

Digital Input #8 (AIn 8) Force Status


Analog Output #1

Read
Read/Write

8232
8233

Field Description

MODBUS

Type

Register

ITEM

No
(Uniart\
BACnet)

16479-16480
16481-16482

Analog Output #8
Analog Output #1 Force Status

Read/Write
Read/Write

8240
8241

16495-16496
16497-16498

Analog Output #8 Force Status


Digital Output #1

Read/Write
Read/Write

8248
8249

16511-16512
16513-16514

Digital Output #8
Digital Output #1 Force Status

Read/Write
Read/Write

8256
8257

16527-16528

Digital Output #8 Force Status

Read/Write

8264

16529-16530

Analog Input #1 (Ofset)

Read/Write

8265

16543-16544

Analog Input #8 (Ofset)

Read/Write

8272

16545-16546

Analog Input #1 (Mode Of Meassure)

Read/Write

8273

16559-16560

Analog Input #8 (Mode Of Meassure)

Read/Write

8280

16561-16562

Analog Input #1 (Constant A)

Read/Write

8281

16575-16576

Analog Input #8 (Constant A)

Read/Write

8288

16577-16578

Analog Input #1 (Constant B)

Read/Write

8289

16591-16592

Analog Input #8 (Constant B)

Read/Write

8296

16601-16602

Alarm #1

Read

8301

16727-16728

Alarm #64

Read

8364

Field Description

MODBUS

Type

Register

ITEM

No
(Uniart\
BACnet)

16741-16742

Digital Input #1

Read

8371

16755-16756
16757-16758

Digital Input #8
Digital Input #1 Force Status

Read
Read

8378
8379

16771-16772

Digital Input #8 Force Status

Read

8386

16801-16802

SST #1 Start 1 (Mon-Fri)

Read/Write

8401

16803-16804

SST #1 Stop 1 (Mon-Fri)

Read/Write

8402

16805-16806

SST #1 Start 2 (Mon-Fri)

Read/Write

8403

16807-16808

SST #1 Stop 2 (Mon-Fri)

Read/Write

8404

16809-16810

SST #1 Start 1 (Saturday)

Read/Write

8405

16811-16812

SST #1 Stop 1 (Saturday)

Read/Write

8406

16813-16814

SST #1 Start 2 (Saturday)

Read/Write

8407

16815-16816

SST #1 Stop 2 (Saturday)

Read/Write

8408

16817-16818

SST #1 Start 1 (Sunday)

Read/Write

8409

16819-16820

SST #1 Stop 1 (Sunday)

Read/Write

8410

16821-16822

SST #1 Start 2 (Sunday)

Read/Write

8411

16823-16824

SST #1 Stop 2 (Sunday)

Read/Write

8412

16825-16826

SST #2 Start 1 (Mon-Fri)

Read/Write

8413

16847-16848

SST #2 Stop 2 (Sunday)

Read/Write

8424

16991-16992

SST #8 Stop 2 (Sunday)

Read/Write

8496

17001-17002
17003-17004

SST #1 Status
SST #2 Status

Read
Read

8501
8502

17015-17016

SST #8 Status

Read

8508

Field Description

MODBUS

Type

Register

ITEM

No
(Uniart\
BACnet)

17021-17022
17023-17024
17025-17026
17027-17028
17029-17030
17031-17032
17033-17034
17035-17036

Clock : Seconds
Clock : Minutes
Clock : Hour
Clock : Week Day (1-7)
Clock : Day
Clock : Month
Clock : Year (20xx)
Clock : Time (Win Format)

Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read

8511
8512
8513
8514
8515
8516
8517
8518

17041-17042
17043-17044
17045-17046
17047-17048
17049-17050
17051-17052
17053-17054

SST #1 From 1 (Sun to Thu)


SST #1 To 1 (Sun to Thu)
SST #1 From 2 (Fri to Fri)
SST #1 To 2 (Fri to Fri)
SST #1 From 3 (Sat to Sat)
SST #1 To 3 (Sat to Sat)
SST #2 From 1 (Sun to Thu)

Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write

8521
8522
8523
8524
8525
8526
8527

17063-17064

SST #2 To 3 (Sat to Sat)

Read/Write

8532

17135-17136

SST #8 To 3 (Sat to Sat)

Read/Write

8568

17201-17202

Filter Avarage for Ain #1

Read/Write

8601

17215-17216

Filter Avarage for Ain #8

Read/Write

8608

17401-17402

Digital Input #1

Read/Write

8701

17431-17432
17465-17466

Digital Input #16


Digital Input #1 Force Status

Read/Write
Read/Write

8716
8733

17495-17496

Digital Input #16 Force Status

Read/Write

8748

17529-17530

Digital Output #1

Read/Write

8765

MODBUS

Field Description

Type

Register

ITEM

No
(Uniart\
BACnet)

17559-17560
17593-17594

Digital Output #16


Digital Output #1 Force Status

Read/Write
Read/Write

8780
8797

17623-17624

Digital Output #16 Force Status

Read/Write

8812

17941-17942
17943-17944
17945-17946
17947-17948
17949-17950

Bacnet MSTP Mode (0=Off,1=Master,2=Slave)


Bacnet MAC Addr
BaudRate
Parity
Unit Number

Read/Write
Read/Write
Read/Write
Read/Write
Read

8971
8972
8973
8974
8975

17991-17992
17993-17994
17995-17996
17997-17998

Answer 12.34
Version Num (*100)
Version Num
User Parameter (Technical)
Table 1-4 Registers Table

Read
Read
Read
Read/Write

8996
8997
8998
8999

What New :

24.10.2006 :
30.01.2007 :
28.05.2008 :
08.07.2008 :
12.01.2010 :
06.10.2010 :
02.02.2011 :
07.03.2012 :
01.07.2012 :

First
Split System A From B
Fix D.In Regiters + Add Avarage
Add Regs 996-998 For debug
Add Support To Files (Offset 8000)
Add Support To Bacnet/IP
Add Support To From/To SST (8521-8568)
Add BacNet & Baudrate (8971-8974)
Add Unit Number (8975)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy