Rs-232 Baud Rate Setup - B&B Electronics Command Response Protocol HVD100A3 Product Manual

B&b electronics command response protocol product manual
Table of Contents

Advertisement

RS-232 Baud Rate Setup

To set the baud rate for the RS-232 port, set a general command code of 08.
Set the function code to 01. Then set 3 control bytes as follows.
Function Start
Control
Command
of
Bytes
Code
Frame
Byte #
1
2
3
Value
01
05
08
Setting UB3
Bit 7
Bit 6
Bit 5
Divisor
Set
Set
Latch
Break
Parity
Bit 7 = 1 allows baud rate divisor to be changed. 0 baud rate change is
blocked. Bit 7 should not be set. The setting and resetting of this bit is
handled internally.
Bit 6 = 1 forces the transmitter output to a logic 0 for alerting the remote
receiver to a line break. 0 indicates no break condition.
Bit 5, 4 and 3 work together to set parity
Bit 5
*
0
0
1
1
Bit 2, stop bit, works in conjunction with bits 1 and bit 0
Bit 2
0
1
1
HDV100A3 Command & Response Manual-1306cr
B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 433-5104
Function
UB3 Baud
Code
1
4
5
6
01
Bit 4
Bit 3
Bit 2
Even
Parity
Stop
Parity
Enable
Bits
Bit 4
Bit 3
Parity Selection
*
0
No parity (default)
0
1
Odd parity
1
1
Even parity
0
1
Force parity "1"
1
1
Force parity "0"
*Don't care state.
Word Length (bits)
5,6,7,8
5
6,7,8
Baud
Data
Check
2
Bytes
Sum
8
9
10
00
Bit 1
Bit 0
Word
Word
Length 1
Length 0
Stop Bit Length
1 (default)
2
5

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Command Response Protocol HVD100A3 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF