beautypg.com

Sensaphone WSG30 System Users manual User Manual

Page 52

background image

WSG30 Users Manual

52

ModbUS® NotES

modBus® addREssEs

addREss RangEs

THE MODBUS® ADDRESS RANGES ARE LAID OUT ACCORDING TO THE FOLLOWING COLOR-CODED

TABLE . THE FORMAT BELOW IS TXDDDDD WHERE “T” IS THE ADDRESS TYPE (BIT/WORD, READ-

WRITE/READ-ONLY) AND DDDDD IS A 5 DIGIT DECIMAL BASE NUMBER FROM 0 TO 65535 .

Modbus® Mode

Modbus® Address Range

bit, read-write

0x00000 - 0x65535

bit, read-only

1x00000 - 1x65535

word, read-only

3x00000 - 3x65535

word, read-write

4x00000 - 4x65535

THE MEMORY TYPES MAP TO THE MODBUS® COMMANDS AS SHOWN IN THE FOLLOWING TABLE .
THE WSG30 SUPPORTS MODBUS® CONFORMANCE CLASSES 0 AND 1 .

Address Type Modbus® Commands

0

1, 5, 15

1

2

3

4

4

3, 6, 16

addREss CalCulatIon

MODBUS® ADDRESS CALCULATIONS ARE PERFORMED ACCORDING TO THE FOLLOWING TABLE:

Type

Calculation

Notes

Inputs

Base + (oFFset * InPut_nuMBer)

the input number is as follows:

Zone 1 = 0

.....

.....

.....

Zone 30 = 29

Power = 30

Battery = 31

Profiles

Base + (oFFset * ProFIle_nuMBer)

the profile number is as follows:

Profile 1 = 0

Profile 2 = 1

Profile 3 = 2

Profile 4 = 3

Profile 5 = 4

Profile 6 = 5

Profile 7 = 6

Profile 8 = 7

Contacts

Base + (oFFset * ((ProFIle_nuMBer * 6) +
ContaCt_nuMBer))

the contact number is as follows:

Contact 1 = 0

Contact 2 = 1

Contact 3 = 2

Contact 4 = 3

network

Base

system

Base