beautypg.com

Description, Request, Response – Delta RMC101 User Manual

Page 6: Example

background image

DMCP User Guide

Page 6 of 9

October 23, 2001

11 Write Device Registers (little Endian)

Description

This block writes to the device’s registers. These registers are in a flat address space
ranging from 0 to 65,535. On the RMC, these registers have pre-defined uses.
Therefore, you must refer to the RMC Register Map in the RMCWin online help to write
the data you wish.

Request

The request uses this format:

WC*2+10

11

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

91

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:

11

00

0E

00

54

00

02

00

64

00

45

00

00

12

02

32

The response would be the following:

00

05

00

12

02

91

32

This manual is related to the following products: