项目

一般

简介

mppt指令测试.txt

李 凯健, 2024-05-15 10:12

 
1
[root@OM-A8-L200:NandFlash]# lsmod
2
Module                  Size  Used by
3
omara_dio               8158  20
4
[root@OM-A8-L200:NandFlash]#
5
[root@OM-A8-L200:NandFlash]#
6
[root@OM-A8-L200:NandFlash]# ./sscomx
7
Input the com prot: RS485-1
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-1, 9600, n, 8, 1 for hex
17
send: 01 03 00 00 00 0F 05 CE
18
rece: 01 03 1E 00 00 00 EE 01 16 00 0F 00 00 00 23 00 F5 00 F5 00 64 00 64 00 00 00 01 00 00 00 00 00 00 51 42
19
send: 01 03 00 00 00 0F 05 CE
20
rece: 01 03 1E 00 00 00 F0 01 31 00 14 00 00 00 30 00 F5 00 F5 00 00 64 00 00 00 01 00 00 00 00 00 00 2E B8
21
send:
22

    
23
send: 01 03 00 01 00 0F 54 0E
24
rece: 01 03 1E 00 EA 01 21 00 08 00 00 00 14 00 F5 00 F5 00 64 00 64 00 00 00 01 00 00 00 00 00 00 00 00 A9 79