beautypg.com

5 control registers (i/o 15), 1 control codes – Banner SureCross DX80 Wireless Networks User Manual

Page 19

background image

5 Control Registers (I/O 15)

Use control messages to start device-level actions.

Each DX80 device allocates 16 registers, with registers one through six reserved for inputs and nine through 14 reserved

for outputs. Registers 7, 8, 15, and 16 are reserved for warnings, error messages, and control operations. The control

messages use the device’s register 15. Some control messages are device specific, depending on the action required.

Typically, control messages are used to start a device level action, like ‘reset device’ (0x0100). The 0x1000 command code

sent to an M-GAGE

device register 15 performs a baseline function on that M-GAGE.

5.1 Control Codes

The register word is made up of two parts, the control code in the upper byte and the data field in the lower byte. Some

control codes do not have a data field. For these control codes, use 0x00 as the data field.

Node Reg 15

Control Code [15:8]

Data Field [7:0]

I/O 15 Control Messages

Control Code

in Hex (Dec)

Data Field in

Hex (Dec)

Control Code

and Data Field

in Decimal

Restrictions

Description

0x00 (00)

0x00

0000

No operation.

0x01 (01)

0x00

256

Reset Micro. Force a restart condition, like power-

up. A reset function to the Gateway forces all

devices out of sync. A reset function to a Node

device only affects that Node. A reset function may

cause the Gateway to detect a timeout condition

and will temporarily cause a loss of control of the

device outputs. The outputs may turn either on or

off. Do not reset the device while connected to a

running control system

0x02 (02)

0x00

512

Restore system and device defaults from the

EEPROM. This command restores all factory default

conditions for the system settings.

0x03 (03)

0x00

768

Applies only

to the 64

processor

Restore I/O defaults from EEPROM. This command

restores all factory default conditions for all the

device’s I/O points.

0x04 (04)

Node 0x00

through 0x38

(1-56)

1024+Node#

Gateway Only

Reset the error of the specified Node defined by the

data field. The control code is available only on the

Gateway I/O 15 register and results in a 0x00

placed in the Modbus register I/O 8 of the

appropriate Node.

0x05 (05)

Node 0x00

through 0x38

(1-56)

1280+Node#

Gateway Only

Ignore the error of the specified Node defined by the

data field. The control code is available only on the

Gateway I/O 15 register.

0x06 (06)

Node 0x00

through 0x38

(1-56)

1536+Node#

Gateway Only

Disable the error of the Node defined by the data

field. Control code available only on the Gateway

I/O 15 register (This results in a 0xFE placed in the

Modbus register I/O 8 of the appropriate Node).

Reset using the Reset Error function (0x04)

0x07 (07)

00

1792

Gateway Only

Clear I/O linking in EEPROM. The I/O link table will

be written with zeros.

0x08 (08)

00

2048

Gateway Only

Abort Channel Search. If this command is received

when channel search is in progress, the change

search mode is aborted.

0x10 (16)

00

4096

M-GAGE

Nodes Only

Baseline M-GAGE

.

19