Delta RMC101 Manual do Utilizador Página 7

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 9
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 6
DMCP User Guide Page 7 of 9 October 23, 2001
12 Read Device Registers (big Endian)
Description
This block is identical to block 0x10, 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:
12 Address WordCnt00
0A 00
00 SeqNumVer
Address
The register address to begin reading from.
WordCnt
The number of registers to read (1-2048 in TCP, 1-512 in UDP).
Response
The success response follows this format:
WC*2+6 92 00 Data
0
Data
1
Data
n-1
00 SeqNumVer
Data
0
-Data
n-1
The data read from the address requested.
Example
The Command Position, Target Position, Actual Position, Counts, and Status Word for
axis 1 are located at register addresses 10-14. If a user wants to read these five registers,
the following packet would be sent to the RMC:
12 000A 00 0A 00 050000 12 3302
If these fields have the values 4000 (0x0FA0), 4000 (0x0FA0), 4001 (0x0FA1), 4247
(0x1097), and 0x0043, the response would be the following:
92 0010 00 0F A0 0F A0 0F A1
10 97 00 43
00 12 3302
Vista de página 6
1 2 3 4 5 6 7 8 9

Comentários a estes Manuais

Sem comentários