Toho-electronics TTM000 Manual do Utilizador Página 22

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 42
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 21
22
6.4 Composition of an RTU response message
(transmitted from this product to a high-level computer)
For codes a) through h), see "6.5 Description of RTU codes."
6.4.1 Response message for a read request message
a)
Slave address
1BH
b)
Function code
03H
d)
Number of data items
04H
Number of registers
2
g)
Data for the first register
(a low-level word)
High level
03H
When writing
,
,
, and
H in the data, write them in the
order described on the left-hand
side. ( represents 1 byte.)
Low level
09H
Data for the first register + 1
(a high-level word)
High level
00H
Low level
00H
e)
CRC-16
Low
leve
l
B4
H
High
level
91
H
6.4.2 Response message for a write/store request message
a)
Slave address
03H
b)
Function code
10H
c)
Register address
High level
00H
First register address
Low level
00H
d)
Number of registers
High level
00H
Fixed at 2
Low level
02H
e)
CRC-16
Low
level
2A
H
High
level
40
H
6.4.3 Response message in the case of an error
a)
Slave address
1BH
b)
Function code
83H
In the case of an error, the function
code for the request message + 80H is
entered.
h)
Error
code
02H
e)
CRC-16
Low
level
36
H
High
level
E1
H
Vista de página 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 41 42

Comentários a estes Manuais

Sem comentários