beautypg.com

Description, Request, Response – Delta RMC101 User Manual

Page 8: Example

background image

DMCP User Guide

Page 8 of 9

October 23, 2001

13 Write Device Registers (big Endian)

Description

This block is identical to block 0x11, except that the address, word count, and data are
returned in big-Endian, or network, byte order. Notice that the Length field is still in
little-Endian byte order.

Request

The request uses this format:

WC*2+10

13

Address

WordCnt

00

Data

0

Data

1

Data

n-1

00

SeqNum

Ver

Address

The register address to begin writing to.

WordCnt

The number of registers to write (1-2048 in TCP, 1-512 in UDP).

Data

0

-Data

n-1

The data to write to the address requested.

Response

The success response follows this format:

00

05

00

93

SeqNum

Ver

Example

To issue a Start Event (E) command to axis 0 with a command value of 100, the values
0x0064 and 0x0045 (ASCII for ‘E’) need to be written to registers 84 and 85
respectively. Therefore, the following packet would be sent to the RMC:

13

00

0E

00

00

54

00

02

00

64

00

45

00

12

02

34

The response would be the following:

00

05

00

12

02

93

34

This manual is related to the following products: