B&B Electronics Command Response Protocol HVD100A3 Manuale Utente Pagina 12

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 31
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 11
8 HDV100A3 Command & Response Manual
B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 433-5104
Baud Rate Example
To set the PC baud rate to 57,600 baud, N,8,1, format the message as
follows.
Byte
Number
Byte
Value
Hex
Byte Function
1
01
Start of frame
2
05
Number of control bytes
3
08
Command byte (08 = internal command)
4
01
Function Bbte (01 = change baud)
5
03
UB3
6
08
Baud 1
7
00
Baud 2
8
00
Number of data bytes
9
1A
Checksum
The first byte is the start of frame and always 01. Next is the number
of control bytes (05). There are 5 bytes in the control section (in gray). Byte
number 3 sets the HDV100A3 to an internal operation (08). Byte 4 is the
internal function to be executed; (01) is the change baud command. Bytes 5,
6, and 7 set the baud rate, parity, stop bits and word length. Next is the
number of data bytes, in this case there are no data bytes. Last is the
checksum, the value is the 8 bit addition of bytes 1 to 8.
Vedere la pagina 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 30 31

Commenti su questo manuale

Nessun commento