3onedata NP30XT series Руководство пользователя - Страница 13

Просмотреть онлайн или скачать pdf Руководство пользователя для Сервер 3onedata NP30XT series. 3onedata NP30XT series 20 страниц. Serial device server

3.3 Clear serial incorrect information

Please check table 3.3.1
Operating
Clear
serial
incorrect
information

3.4 Serial parameter configuration

Please check table 3.4.1
Operating
Configuration serial
parameter
Configuration serial
data frames
Configuration serial
character
time
space
Configuration serial
working mode
Example: Configuration COM2 parameter, baud rate: 300bps, parity: ODD, data bits: 6 bits, stop bits: 2bits,
enter the bold type command as follows and enter return key:
Serial(COM2)# config 300 1 1 1
[OK]
Example: Configuration data frames is 300 bytes, enter the bold type command as follows and enter return key:
Serial(COM2)# set Packs_bytes 300
[OK]
Example: Configuration character time space: 100ms, enter the bold type command as follows and enter return
key:
Serial(COM2)# set Packs_time 100
[OK]
Example: Configuration working mode is RS422, enter the bold type command as follows and enter return key:
Serial(COM2)# set Com_mode 2
[OK]
Command
clear err<port_list>
Command
config
<Baudrate><pari
ty>
<Databits><stop
bits>
Set packs_bytes
<Packs_bytes>: data frames range1-1460(byte)
<Packs_bytes>
Set packs_time
<Packs_time>: Character time space 1~500ms
<Packs_time>
< Com_mode >:working mode
Set Com_mode
<Com_mode >
Table 3.3.1
<port_list>: Choice the port number of serial
1、2、3、 4、5、6、7、8 or all optional
Table 3.4.1
Description
<Baudrate>:
<parity>
<Databits>
<stopbits>
Page10
CLI user manual
Description
{300,600,1200,2400,4800,9600,
19200,38400,57600,115200}
0
1
2
3
4
0
1
2
3
0
1
0
RS-232
1
RS-422
2
RS-485
--None
--Odd
--Even
--Mark
--Space
--5bits
--6bits
--7bits
--8bits
--1bit
--2bits