Delta RMC151 User Manual

Page 436

Advertising
background image

RMC70/150 and RMCTools User Manual

write at. The order of the bytes in this 16-bit value is

determined by the Byte Order field.

12-13 nn nn

Write Count. The number of 32-bit registers to

write. This value must be between 0 and 256. The

order of the bytes in this 16-bit value is determined

by the Byte Order field.

14-15 00 00

Reserved. Must be zero.

16-… …

Data. The values of each register to write should

follow the above header. Each 32-bit value is encoded

in either LSB- or MSB-first byte order, as determined

by the Byte Order field. For LSB-first byte order, the

value 16#11223344 should be encoded as 44 33 22

11. For MSB-first byte order, this would be encoded

as 11 22 33 44.


The RMC will respond to this request with the following packet:

Offset Data

(hex)

Description

0-1

06 00

Packet Length. Indicates the total length in bytes of

this packet, excluding this 2-byte field. This 16-bit

value is encoded with the least significant byte first.

2-3

00 02

Static Values. These bytes will always have these

values in the response.

4-5

nn nn

Transaction ID. This value will echo the Transaction

ID in the request. It should be used to match this

response to the corresponding request.

6

95 -or- 55 Function Code (Response). If the write was

processed successfully, this byte will be 95, otherwise

it will hold 55.

7

nn

Response Code. Indicates whether the write was

successful or not. See the DMCP Response Codes

section below.

Reading Data from the RMC:

To read one or more registers from the RMC, send the following request packet to the

RMC:

Offset Data

(hex)

Description

0-1

0C 00

Packet Length. Indicates the total length in bytes of

this packet, excluding this 2-byte field. This 16-bit

value is encoded with the least significant byte first.

2-3

00 02

Static Values. These bytes must always hold these

values.

4-5

nn nn

Transaction ID. This value is simply echoed by the

RMC in its response packet. It can be used to match

responses with requests, since UDP does not prevent

packets from being delivered out-of-order or dropped.

6

14

Function Code. This byte must be 14 in a read

request.

7

nn

Byte Order. Determines the byte order for the

Starting Address fields, the Read Count field, and the

416

Delta Computer Systems, Inc.

Advertising
This manual is related to the following products: