beautypg.com

B&B Electronics MODSCAN32 - Manual User Manual

Page 22

background image

22

PRESET SINGLE REGISTER (FUNCTION CODE 06)


Function 06 allows the user to modify the contents of a holding register. Any holding register that exists
within the controller can have its contents changed by this message. The values are provided in binary up to
the maximum capacity of the controller. Unused high-order bits must be set to zero. When used with slave
address 00, all slave controllers will load the specified register with the contents specified.


ADDR

FUNC

DATA
REG
HO

DATA
REG
LO

DATA
VALUE
HO

DATA
VALUE
LO

ERROR
CHECK
FIELD

11

06

00

87

03

9E

C1


The normal response to a preset single register request is to retransmit the query message after the register
has been altered.

ADDR

FUNC

DATA
REG
HO

DATA
REG
LO

DATA
VALUE
HO

DATA
VALUE
LO

ERROR
CHECK
FIELD

11

06

00

87

03

9E

C1