Page 56
Serial Interface RS422
optoNCDT 1402
Set Baud Rate
8.3.12
Name:
SET_BAUDRATE
Description:
Sets the transmission rate.
Parameter:
X = 0 --> 115200
-
X = 1 --> 57600
-
X = 2 --> 38400
-
X = 3 --> 19200
-
X = 4 --> 9600
-
The sensor still sends the reply with the old baud rate and only switches to the new baud rate once the reply
has been sent. The output rate reduces automatically when the baud rate is changed because individual
measurement values are skipped.
i
Do not forget to change your programs baud rate.
Format: 31
24 23
16 15
8 7
0
hex
„+“
„+“
„+“
0x0d („CR“)
0x2B2B2B0D
„l“
„L“
„D“
„1“
0x494C4431
0x20
0x80
0x00
0x03
0x20800003
0x00
0x00
0x00
0x0X
0x0000000X
Reply:
31
24 23
16 15
8 7
0
hex
„l“
„L“
„D“
„1“
0x494C4431
0xA0
0x80
0x00
0x02
0xA0800002
0x20
0x20
0x0D
0x0A
0x20200D0A
Default setting:
115200 Baud