background image

Discrete Bit-Packed Registers

Discrete bit-packed registers include the discrete status registers, discrete inputs, and discrete outputs.
Bit packing involves using a single register, or range of contiguous registers, to represent I/O values.
When networks use similar Nodes to gather data using the same I/O registers for each Node, discrete data from multiple Nodes

can be bit packed into a single register on the Gateway. The bit-packed data is arranged by I/O point starting at Modbus register

6601. For example, Discrete IN 1 for all the Nodes in the network is stored in three contiguous 16-bit registers.
The most efficient way to read (or write) discrete data from a Sure Cross

®

 DX80 Gateway is by using these bit-packed registers

because users can read or write registers for all devices using one Modbus message. The following registers contain discrete bit-

packed I/O values for the Gateway and all Nodes. Values are stored first for the Gateway, then for each Node in order of Node

address.

Bit-Packed Device Status Registers

Bit Position

Register Address

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

6601

Node 15 Node 14 Node 13 Node 12 Node 11

Node 10

Node 9

Node 8

Node 7

Node 6

Node 5

Node 4

Node 3

Node 2

Node 1

Gateway

6602

Node 31 Node 30 Node 29 Node 28 Node 27 Node 26 Node 25 Node 24 Node 23 Node 22 Node 21 Node 20 Node 19 Node 18 Node 17 Node 16

6603

Node 47 Node 46 Node 45 Node 44 Node 43 Node 42 Node 41 Node 40 Node 39 Node 38 Node 37 Node 36 Node 35 Node 34 Node 33 Node 32

Bit-Packed Discrete Input  1

Bit Position

Register Address

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

6611

Node 15 Node 14 Node 13 Node 12 Node 11

Node 10

Node 9

Node 8

Node 7

Node 6

Node 5

Node 4

Node 3

Node 2

Node 1

Gateway

6612

Node 31 Node 30 Node 29 Node 28 Node 27 Node 26 Node 25 Node 24 Node 23 Node 22 Node 21 Node 20 Node 19 Node 18 Node 17 Node 16

6613

Node 47 Node 46 Node 45 Node 44 Node 43 Node 42 Node 41 Node 40 Node 39 Node 38 Node 37 Node 36 Node 35 Node 34 Node 33 Node 32

Bit-Packed Discrete Output 1

Bit Position

Register Address

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

6691

Node 15 Node 14 Node 13 Node 12 Node 11

Node 10

Node 9

Node 8

Node 7

Node 6

Node 5

Node 4

Node 3

Node 2

Node 1

Gateway

6692

Node 31 Node 30 Node 29 Node 28 Node 27 Node 26 Node 25 Node 24 Node 23 Node 22 Node 21 Node 20 Node 19 Node 18 Node 17 Node 16

6693

Node 47 Node 46 Node 45 Node 44 Node 43 Node 42 Node 41 Node 40 Node 39 Node 38 Node 37 Node 36 Node 35 Node 34 Node 33 Node 32

Inputs

Outputs

Modbus Register Address
(Decimal)

Description (Inputs)

Modbus Register Address
(Decimal)

Description (Outputs)

6601–6603

Status for all devices

6611–6613

Input 1 from all devices

6691–6693

Output 1 from all devices

6621–6623

Input 2 from all devices

6701–6703

Output 2 from all devices

6631–6633

Input 3 from all devices

6711–6713

Output 3 from all devices

6641–6643

Input 4 from all devices

6721–6723

Output 4 from all devices

6651–6653

Input 5 from all devices

6731–6733

Output 5 from all devices

6661–6663

Input 6 from all devices

6741–6743

Output 6 from all devices

6671–6673

Input 7 from all devices

6751–6753

Output 7 from all devices

6681–6683

Input 8 from all devices

Status registers (6601–6603) contain a bit-packed representation defining the devices that are operational in the wireless system.

Each bit indicates Node in Sync (1) or Node Not in Sync (0).
A one (1) written to the Discrete Status Register area indicates the device is active within the wireless system. A zero (0) indicates

the device is not active within the wireless network.
Input registers from all devices use Modbus registers 6611 through 6683 to organize the least significant bit into a sequential array

of registers. The first register contains the least significant bit from the input values for the Gateway through Node 15. The second

register contains the input values for Node 16 through Node 31, and the third register contains the input values for Nodes 32

through 47.
For discrete inputs, only the least significant bit is used. For analog inputs, the least significant bit indicates if the analog value is

above or below the selected threshold value (when using the threshold parameter configured in the User Configuration Software).

For example, a least significant bit of one (1) indicates the analog value is above the selected threshold value. A least significant bit

of zero (0) indicates the analog value is below the threshold value.
Output registers from all devices use Modbus registers 6691 through 6753 to organize the least significant bit into a sequential

array of registers. Output 8 (I/O point 16) cannot be written using the discrete format.

Apply Power to the Gateway

 

 

Sure Cross

®

 DX80 Gateway for Wireless Q45 Sensors

6

www.bannerengineering.com - Tel: + 1 888 373 6767

P/N 161862 Rev. E

Summary of Contents for Sure Cross DX80

Page 1: ...ned conditions For additional information updated documentation and a list of accessories refer to Banner Engineering s website www bannerengineering com WARNING Do not use this device for personnel p...

Page 2: ...red mode use the User Configuration Software or a Modbus command to change the device parameters DIP switch positions 3 through 8 are ignored In DIP Switch Configured mode use the DIP switches to conf...

Page 3: ...loss Q45 1 Gateway OUT 1 Link loss alarm for Q45 1 Gateway OUT 2 Q45 2 Gateway OUT 3 Link loss alarm for Q45 2 Gateway OUT 4 Q45 3 Gateway OUT 5 Link loss alarm for Q45 3 Gateway OUT 6 Three Wireless...

Page 4: ...6 Node 2 OUT 3 Three Nodes to One Gateway DIP Switches 6 ON 7 ON 8 OFF Gateway Node 01 Node 02 Node 03 Three SureCross DX80 Nodes each with 2 inputs and 2 outputs Node 1 IN 1 Gateway OUT 1 Gateway IN...

Page 5: ...PWR 10 30V dc Load dc common Modbus Register Table for the Gateway with Switch Based Mapping I O Modbus Holding Register Gateway I O Type I O Range Holding Register Representation Terminal Block Labe...

Page 6: ...23 Node 22 Node 21 Node 20 Node 19 Node 18 Node 17 Node 16 6693 Node 47 Node 46 Node 45 Node 44 Node 43 Node 42 Node 41 Node 40 Node 39 Node 38 Node 37 Node 36 Node 35 Node 34 Node 33 Node 32 Inputs O...

Page 7: ...it For example to assign your DX80 to Node 10 set the Gateway s left dial to 1 and the right dial to 0 Valid Node addresses are 01 through 47 3 On the Q45 Loosen the clamp plate on the top of the DX80...

Page 8: ...o conduct a Site Survey with another Node and repeat steps 2 through 6 8 To end the Site Survey double click the Gateway s button 2 9 Change the Gateway s rotary dials back to 0 The LCD displays the d...

Page 9: ...Greater than 8 V OFF Condition PNP Less than 5 V Discrete Outputs Update Rate 125 milliseconds ON Condition Supply minus 2 V OFF Condition Less than 2 V Output State Following Timeout OFF Discrete Ou...

Page 10: ...y product of its manufacture which at the time it is returned to the factory is found to have been defective during the warranty period This warranty does not cover damage or liability for misuse abus...

Reviews: