Datalogic GWY-01-PBS-01 Especificaciones Pagina 37

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 67
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 36
GWY-01-DNT-01 MANUAL – REV. 02 CHAPTER 4:
COMMAND MAPPING
PAGE 37 OF 67
4.5.2 CBx - Controller Response Example
Below is a controller’s response after successfully completing the Read Data
command (as issued in the previous example).
WORD PACKET ELEMENT MSB LSB
01
Overall Length of Response (inwords”)
0x00 0x08
02
0xAA in MSB
Command Echo in LSB: (0x05 - Read Data)
0xAA 0x05
03
Instance Counter in MSB
Node ID Echo in LSB
<IC> 0x01
04
Month and Day Timestamp (March 19
th
)
0x03 0x13
05
Hour and Minute Timestamp (10:11: AM)
0x0A 0x0B
06
Seconds Timestamp in MSB: (36 seconds)
Additional Data Length in LSB (4 bytes)
0x24 0x04
07
Retrieved Data (bytes 1 and 2)
0x01 0x02
08
Retrieved Data (bytes 3 and 4)
0x03 0x04
4.5.3 CBx - Gateway Command Example
In this example, the host issues Command 0x13 (Get Node Status List), which
retrieves from the Gateway, a list that indicates the operating status of the 16 Nodes.
WORD DESCRIPTION MSB LSB
01 Overall Length of Command (inwords”)
0x00 0x06
02 0xAA in MSB
Command ID in LSB: (0x13 - Get Node Status List)
0xAA 0x13
03 0x00 in MSB
Node ID in LSB: (0x20 = Gateway Node 32)
0x00 0x20
04 Not Used: 0x00, 0x00 (default)
0x00 0x00
05 Not Used: 0x00, 0x00 (default)
0x00 0x00
06 Not Used: 0x00, 0x00 (default)
0x00 0x00
Note that even though the last three words (6 bytes) of this command are not used,
these parameters still require zero’s (0x00, 0x00) and are to be included when
calculating Overall Length.
Vista de pagina 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 66 67

Comentarios a estos manuales

Sin comentarios