Datalogic GWY-01-PBS-01 Especificações Página 43

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 67
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 42
GWY-01-DNT-01 MANUAL – REV. 02 CHAPTER 4:
COMMAND MAPPING
PAGE 43 OF 67
4.7.1 CBx - Error Response Example
Below is an example of a typical controller generated error response following a
failed Read Data Command. For this example, a “tag not found” error was generated.
ERROR RESPONSE PARAMETER MSB LSB
0x00 in MSB
Overall Length of Response in LSB
(in words)
0x00
0x07
Error Flag in MSB
Error Information Byte in LSB
0xFF
0xFF
0x00 in MSB
Node ID Echo in LSB
0x00
0x01
Month and Day Timestamp:
(March 19
th
)
0x03
0x13
Hour and Minute Timestamp
(9:30: AM)
0x09
0x1E
Seconds Timestamp in MSB
(:03 seconds)
Number of Additional Bytes Retrieved in LSB
(0x01 for error responses)
0x03
0x01
Error Code in MSB: (0x07 = “Tag not Found”)
0x00 in LSB
0x07 0x00
4.8 NOTIFICATION MESSAGES
Notification Messages are small host-bound informational packets of data that are
issued by the Gateway when a specified Notification Event (or series of events)
occurs within the Gateway or on the Subnet network. For example, the Gateway can
be configured to send the host a Notification Message when a controller is attached,
or removed, or experiences a problem.
The Gateway stores nine different Notification Messages internally (all of which are
enabled by default). A 16-bit value, called the Notification Mask, controls which
Notification Events trigger Notification Messages to the host. Bits 01 through 09 in the
16-bit Notification Mask correspond to the nine possible Notification Messages. The
remaining 7 bits (bits 10-16) are not implemented at this time (default value is zero
for each bit).
Notification Messages are enabled by changing the associated bit from zero to one
within the Notification Mask. A bit is either set to “0” (OFF – disabled) or “1” (ON –
enabled). When a bit is turned ON, the related Notification Message will be enabled.
The next time the enabled Notification Event occurs, the corresponding Notification
Message will be generated and immediately delivered to the host.
When a Notification Message is generated, it is written to the Node Output Page of
the controller that triggered the Notification Event. Notification Messages include a
one-byte value indicating which of the nine possible Notification Events occurred.
Notification Messages also contain a one-byte value that identifies the affected Node
ID.
Vista de página 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 66 67

Comentários a estes Manuais

Sem comentários