Function 06 - write single register, Function 08 - loopback diagnostic test, Function 16 - write multiple registers 0x10 hex – West Control Solutions ProVU 4 User Manual

Page 81

Advertising
background image

ProVU4 Controller, Profiler & Recorder/Controller - Product Manual

Page 80

Serial Communications

59407, Issue 1 – March 2008

Function 06 - Write Single Register

Writes two bytes to a specified word address.

QUERY

Function

Address of Word

Value to write

06

HI

LO

HI

LO

RESPONSE

Function

Address of Word

Value written

06

HI

LO

HI

LO

Note:

The Response normally returns the same data as the Query.

Function 08 - Loopback Diagnostic Test

QUERY

Function

Diagnostic Code

Value

08

HI =00

LO=00

HI

LO

RESPONSE

Function

Sub-function

Value

08

HI=00

LO=00

HI

LO

Note:

The Response normally returns the same data as the Query. Other Diagnostic Codes are
not supported.

Function 16 - Write Multiple Registers (0x10 Hex)

Writes a consecutive word (two-byte) values starting at the specified address.

QUERY

Function

1

st

Write

Address

Number of

Words to Write

Number of

Query Bytes

1

st

Query

Byte

2

nd

Query

Byte

etc

Last Query

Byte

10

HI

LO

HI

LO

RESPONSE

Function

1

st

Word Address

Number of Words

10

HI

LO

HI

LO

Note:

The number of data that can be written in one message is 253 bytes.

Advertising