beautypg.com

6 06 (0616): preset single register, Preset single register – KROHNE MFC 010 C Converter User Manual

Page 30

background image


28

MFC010 Interface Manual

6.6

06 (06

16

): Preset Single Register

This function permits the user to set the value of a single Holding register. For this reason this command

cannot be used to write to variables that occupy multiple consecutive registers such as floating point and

long integer variables (See Section 7.5 on page 49 for details of the individual registers). The format of

the Master request telegram for this function should be as follows.

Request

Character

Field

For Example

1

Slave Address

01

16

Request to Slave ID 1

2

Function

06

16

“Preset Single Register”

3

Register Address Hi

03

16

Register Address = 1020

4

Register Address Lo

FB

16

5

Preset Data Hi

00

16

Set Register 1020 = 35

6

Preset Data Lo

23

16

7

CRC Lo

B9

16

CRC Checksum

8

CRC Hi

A6

16

The MFC010 will respond to such a request with a telegram formatted as follows.

Response

Character

Field

For Example

1

Slave Address

01

16

Response from Slave ID 1

2

Function

06

16

“Preset Single Register”

3

Register Address Hi

03

16

Register Address = 1020

4

Register Address Lo

FB

16

5

Preset Data Hi

00

16

Set Register 1020 = 35

6

Preset Data Lo

23

16

7

CRC Lo

B9

16

CRC Checksum

8

CRC Hi

A6

16

The MFC010 (slave) response telegram should be an ex

act dupl icate of t he m aster r equest