Emerson OpenComms-485 Manual de usuario Pagina 37

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 42
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 36
36 NIC Setup and Testing
RTU Framing Examples
READ REGISTERS (FUNCTION CODE 0X03 &
0X04)
Query: for reading holding /input registers (requested by a client)
Server
Addres
s
Function
Code
(0x3/0x4)
Index of
starting register
Number of
registers to be read
16 bit
CRC
1 byte 1 byte 2 bytes 2 bytes 2
bytes
Response: for reading holding/input registers (response by the server)
Server
Addres
s
Function
Code
(0x3/0x4)
Byte
Count
Data from registers 16 bit
CRC
1 byte 1 byte 1
bytes
2*m bytes (= Byte Count) 2 bytes
WRITE SINGLE HOLDING REGISTER
(FUNCTION CODE 0X06)
Query: for writing a single holding register (requested by a client)
Server
Addres
s
Function
Code
(0x06)
Index of the
register
16 bit value to
be written
16 bit CRC
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Response: for writing a holding registers (response by the server)
Server
Addres
s
Function
Code
(0x06)
Index of the
register
16 bit value
been written
16 bit CRC
1 byte 1 byte 2 bytes 2 bytes 2 bytes
Vista de pagina 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42

Comentarios a estos manuales

Sin comentarios