Delta RMC151 User Manual

Page 453

Advertising
background image

6 Communication

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.

10-11 01 02

FINS Command. These two bytes should be 01 02

to indicate a memory area write.

12-15 xx yy zz 00 FINS Address. This value encodes the register

address to write to in the RMC. See the FINS

Address section below for details.

16-17 mm nn

Write Length. This values holds the number of 16-

bit values to write. Notice that because the RMC uses

32-bit registers, this value should be twice the

number of RMC registers being written to. This value

is encoded in binary with the most-significant byte

first. This value must be less than or equal to 512.

18-... ...

Data. The values of each register to write should

follow the above header. Each 32-bit value should be

encoded as two 16-bit words, with the least-

significant word first, but with each individual 16-bit

word encoded with the most-significant byte first. For

example, the value 0x11223344 should be encoded

as 33 44 11 22.


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

Offset Data

(hex)

Description

0-8 C0 00 02

00

00 00 00

00

00

Static Values. These 9 bytes will always have these

values in the response.

9

kk

Service ID. This value will echo the Service ID in the

request. It should be used to match this response to

the corresponding request.

10-11 01 02

FINS Command. These two bytes will match the

command from the request.

12-13 rr ss

Response Code. Indicates whether the write was

successful or not. See the FINS 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-8 80 00 02

00

00 00 00

00

00

Static Values. These 9 bytes should always have

these values in a read request.

9

kk

Service 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

deltamotion.com

433

Advertising
This manual is related to the following products: