Matrix-orbital LK204-25 Legacy Manual de usuario Pagina 38

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 62
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 37
Description This command will allow you to begin communicating with the devices
on the 1-wire bus by returning a packet containing device information
for each 1-wire device on the bus in the form of:
Search Return Packet
Offset
(Bytes)
Offset
(Bytes)
Description
0 2
0x232A Preamble
2 1
0x8A Packet is 10 bytes long, an-
other address will follow
0x0A Packet is 10 bytes long, this
is the last address
3 1 0x31 - 1-Wire Packet Type
4 1 Error Code (0x00 for success)
5 8 1-Wire Address
13 1
CRC8 0x00 means the last address
was valid
Remembered No
8.3 Dallas 1-Wire Transaction
Syntax
Hexadecimal 0xFE 0xC8 0x1 [flags] [SndBits] [RcvBits] [Data]
Decimal 254 200 1 [flags] [SndBits] [RcvBits] [Data]
Parameters
Parameter Length Description
flags 1 Flags to control optional
components of the transaction.
SndBits 1 The number of bits you will be
transmitting on the bus.
RcvBits 1 The number of bits you will be
reading on the bus.
Data variable Data to be transmitted, LSB to
MSB.
Matrix Orbital LK204-25 34
Vista de pagina 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 61 62

Comentarios a estos manuales

Sin comentarios