
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 WordCnt00 Data
0
Data
1
Data
n-1
00 SeqNumVer
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
91SeqNumVer
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 000E 00 54 00 02 00 64 00 45 0000 1202 32
The response would be the following:
0005 00 1202 9132
Comentarios a estos manuales