EasySync USB2-F-7101 Guía de usuario Pagina 27

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 45
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
Document Reference No.: ES_000005
USB2-F-7x01 Full-Speed USB to 1-Port CANbus Adapter User Guide
Version 1.32
Clearance No.: ES#02
©2008 - 2011 EasySYNC Ltd. 27
4.1.12 Get Status Flags (F)
Summary
Get CANbus and controller status. A two-byte BCD number is returned to correspond to the 8-
bits of the COMSTAT register of the PIC18F2680.
Definition
F<CR>
Parameters
None
Remarks
Example
F<CR>
Get CANbus status
Return Codes
xx<CR> = OK
xx = CANbus status (A bit set to “1” indicates a true condition):
bit 0 = Flag bit 1 or Flag bit 2 is set
bit 1 = Receive Warning: 127 >= Receive Error Counter > 95
bit 2 = Transmit Warning: Transmit Error Counter > 95
bit 3 = Receive Bus Passive: Receive Error Counter > 127
Will cause RED LED to Single Flash
bit 4 = Transmit Bus Passive: Transmit Error Counter > 127
Will cause RED LED to Single Flash
bit 5 = Transmit Bus-OFF: Transmit Error Counter > 255
Will cause RED LED to remain ON
bit 6 = Receive Buffer 1 Overflow
bit 7 = Receive Buffer 0 Overflow
<BELL> = ERROR
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 44 45

Comentarios a estos manuales

Sin comentarios