Toho-electronics TTM000 Manual de usuario Pagina 29

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 42
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 28
29
6.9 Composition of ASCII response messages
(transmitted from this product to a high-level computer)
For the codes a) through g), see "6.10 Description of ASCII codes."
6.9.1 Response message for a read request message
a)
Start code
“:”
b)
Slave address
“1” , “B”
c)
Function code
“0” , “3”
h)
Number of data items
“0”
, “4”
Number of registers
2
i)
Data for the first register
(a low-level word)
High level
“0” , “3”
When writing
,
,
, and
H in the data, write them in the
order described on the left-hand
side. ( represents 1 byte.)
Low level
“0” , “9”
Data for the first register + 1
(a high-level word)
High level
“0” , “0”
Low level
“0” , “0”
f)
LRC
“D” , “2”
g)
End code
CR, LF
6.9.2 Response message for a write/store request message
a)
Start code
“:”
b)
Slave address
“0” , “3”
c
)
Function code
“1” , “0”
d)
Register address
High level
“0” , “0”
First register address
Low level
“0” , “0”
e)
Number of registers
High level
“0” , “0”
Fixed at 2
Low level
“0” , “2”
f)
LRC
“E” , “B”
g)
End code
CR, LF
6.9.3 Response message in the case of an error
a)
Start code
“:”
b)
Slave address
“1” , “B”
h)
Function code
“8” , “3”
In the case of an error, the function
code for the request message + 80H is
entered.
j)
Error code
“0” , “2”
f)
LRC
“6” , “0”
g)
End code
CR,
LF
Vista de pagina 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 41 42

Comentarios a estos manuales

Sin comentarios