
AHRS - Advanced Configuration - User Guide
MU-AHRS-AN-002 Ed. E November 2015
16
5.2
Serial and Ethernet Commands
5.2.1
S
ERIAL
I/O
G
ENERAL
P
ARAMETERS
(P
ARITY
,
S
TOP
B
IT
,
L
EVEL
,
B
AUDRATE
)
Used to configure the parity and stop bit for serial port X :
Message
$PHCNF,RSCM_X,i,j,k,l*hh<CR><LF>
Title
Serial interface configuration
Data Field
Semantics
Syntax
Type
X
Port
OCTANS:
set A to C to configure output ports A to C
set D to G to configure input ports A to E.
For more explanation, refer to § 5.1.
OCTANS 3000: set A to E to configure Input/Output ports A to E
OCTANS NANO: set A to B to configure Input/Output ports A to B
int
i
Parity
0: None
1: Even
2: Odd
int
j
Number
of stop bits
0: 0.5 stop bit
1: 1 stop bit
2: 1.5 stop bit
3: 2 stop bits
int
k
Level
0: RS232
1: RS422
int
l
Baudrate
0: 600bds
1: 1200bds
2: 2400bds
3: 4800bds
4: 9600bds
5: 19200bds
6: 38400bds
7: 57600bds
8:115200bds
9: 230400bds
10: 460800bds
int
To retrieve parity and stop bit for serial port X (checksum hh depends on port X, see
below) :
$PHCNF,RSCM_A,,*6E<CR><LF>
$PHCNF,RSCM_B,,*6D<CR><LF>
$PHCNF,RSCM_C,,*6C<CR><LF>
$PHCNF,RSCM_D,,*6B<CR><LF>
$PHCNF,RSCM_E,,*6A<CR><LF>
Содержание Octans
Страница 1: ...AHRS Advanced Configuration User Guide...
Страница 2: ......