项目

一般

简介

ups指令测试.txt

李 凯健, 2024-04-17 15:16

 
1
login as: root
2
root@10.255.12.2's password:
3
[root@ROC-A6-X300A:~]#
4
[root@ROC-A6-X300A:~]#
5
[root@ROC-A6-X300A:~]# cd /NandFlash
6
[root@ROC-A6-X300A:NandFlash]# ./sscomx
7
Input the com prot: RS485-2
8
baudrate: 9600
9
Parity(n\o\e): n
10
DataBit(5\6\7\8): 8
11
StopBit(1\2): 1
12
data types:
13
   1. hex
14
   2. ascii
15
select data type: 1
16
select com prot: /dev/RS485-2, 9600, n, 8, 1 for hex
17
send: 01 03 00 00 00 28 45 D4
18
no data receive!
19
send: 01 03 00 00 00 28 45 D4
20
rece: 01 03 50 00 96 00 11 08 98 08 98 00 00 01 F4 07 80 00 10 08 91 00 00 03 84 01 15 00 00 01 04 00 00 00 00 01 F4 08 B1 08 C8 08 44 00 00 00 00 00 00 06 72 00 00 00 00 00 00 01 F4 08 98 00 00 00 00 00 00 00 00 00 00 05 DC 00 00 00 00 00 00 00 00 00 00 21 10
21
send: 01 03 00 00 00 28 45 D4
22
rece: 01 03 50 00 96 00 11 08 98 08 98 00 00 01 F4 07 80 00 10 08 91 00 00 03 84 01 15 00 00 01 04 00 00 00 00 01 F4 08 AE 08 C9 08 42 00 00 00 00 00 00 06 72 00 00 00 00 00 00 01 F3 08 98 00 00 00 00 00 00 00 00 00 00 05 DC 00 00 00 00 00 00 00 00 00 00 38 8F
23
send: 01 03 00 12 00 28 E5 D1
24
rece: 01 03 50 00 96 00 11 08 98 08 98 00 00 01 F4 07 80 00 10 08 91 00 00 03 84 01 15 00 00 01 04 00 00 00 00 01 F3 08 AD 08 C8 08 41 00 00 00 00 00 00 06 72 00 00 00 00 00 00 01 F3 08 96 00 00 00 00 00 00 00 00 00 00 05 DC 00 00 00 00 00 00 00 00 00 00 89 11
25
send: 01 03 00 12 00 28 E5 D1
26
rece: 01 03 50 08 C5 08 44 00 00 00 00 00 00 06 72 00 00 00 00 00 00 01 F3 08 98 00 00 00 00 00 00 00 00 00 00 05 DC 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0A 00 00 00 00 00 00 01 F4 08 B3 08 C5 08 44 00 00 00 00 00 00 05 DC 00 00 9B E6
27
send: 01 03 00 10 00 28 44 11
28
rece: 01 03 50 08 C6 08 45 00 00 00 00 00 00 06 72 00 00 00 00 00 00 01 F4 08 97 00 00 00 00 00 00 00 00 00 00 05 DC 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0A 00 00 00 00 00 00 01 F4 08 B4 08 C6 08 45 00 00 00 00 00 00 05 DC 00 00 48 35
29
send: 01 03 00 10 00 28 44 11
30
rece: 01 03 50 01 F3 08 B5 08 C8 08 44 00 00 00 00 00 00 06 72 00 00 00 00 00 00 01 F4 08 97 00 00 00 00 00 00 00 00 00 00 05 DC 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0A 00 00 00 00 00 00 01 F3 08 B5 08 C8 08 44 00 00 00 00 00 00 BE 9F
31
send: