1
|
login as: root
|
2
|
root@192.168.0.16's password:
|
3
|
Last login: Tue Jul 9 15:45:42 2024 from 192.168.0.200
|
4
|
[root@OM-A6-T300A:~]# cd /NandFlash
|
5
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4965 1 0 0 0 RS485-2:9600,n,8,1
|
6
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
7
|
MemFree: 199300 kB
|
8
|
MemAvailable: 211152 kB
|
9
|
Buffers: 0 kB
|
10
|
!!!MemVsz 0: 4876 KB
|
11
|
SIGRTMAX-1= 63
|
12
|
SerManager new: d30710
|
13
|
!!!MemVsz change: 128 KB
|
14
|
!!!MemVsz change: 5148 KB
|
15
|
!!!MemVsz change: 1248 KB
|
16
|
|
17
|
SMxxx: Type=4965 Addr=1 Port=0 Tag1=0 Ext1=0
|
18
|
|
19
|
SerDef=RS485-2:9600,n,8,1 Type=4965
|
20
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
21
|
testSM SM=d335b8
|
22
|
CSerCom InitCom: d343b8 1
|
23
|
CSerCom UpdParams: ComPort: RS485-2, 0, 0
|
24
|
CSerCom::Open: /dev/RS485-2,9600,8,N,0
|
25
|
set serial done+!
|
26
|
RS485-2:9600,n,8,1[110002] open ok!
|
27
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
28
|
MemFree: 198796 kB
|
29
|
MemAvailable: 210688 kB
|
30
|
Buffers: 0 kB
|
31
|
start SMxxx->DataGet ...
|
32
|
SEND: 01 03 8D 00 00 50 6E 9A
|
33
|
RECV: 01 03 A0 00 03 62 0F 00 03 5F 8D 00 03 5D D5 00 00 00 00 00 05 D6 ED 00 05 D5 86 00 05 D6 23 00 00 00 07 00 00 00 0A 00 00 00 4C 00 00 00 43 00 00 00 00 00 00 00 00 00 00 00 75 00 00 00 00 00 00 00 10 00 00 00 65 FF FF FF 59 FF FF FF F0 FF FF FF F0 FF FF FF 79 00 00 00 D0 00 00 00 10 00 00 00 17 00 00 00 A9 02 32 00 00 02 B7 02 55 69 78 7A B2 77 D8 00 00 00 00 00 00 00 00 00 00 00 00 13 8A 00 00 00 30 23 40 44 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E5 5B
|
34
|
SEND: 01 03 9A 0A 00 02 CA D1
|
35
|
RECV: 01 03 04 43 88 00 00 6F 9D
|
36
|
t=4965 iaddr=1 iext=0
|
37
|
436097=221711
|
38
|
436099=221069
|
39
|
436101=220629
|
40
|
436103=0
|
41
|
436104=0
|
42
|
436105=382701
|
43
|
436107=382342
|
44
|
436109=382499
|
45
|
436111=7
|
46
|
436113=10
|
47
|
436115=76
|
48
|
436117=67
|
49
|
436119=0
|
50
|
436120=0
|
51
|
436121=0
|
52
|
436122=0
|
53
|
436123=117
|
54
|
436125=0
|
55
|
436127=16
|
56
|
436129=101
|
57
|
436131=-167
|
58
|
436133=-16
|
59
|
436135=-16
|
60
|
436137=-135
|
61
|
436139=208
|
62
|
436141=16
|
63
|
436143=23
|
64
|
436145=169
|
65
|
436147=562
|
66
|
436148=0
|
67
|
436149=695
|
68
|
436150=597
|
69
|
436151=27000
|
70
|
436152=31410
|
71
|
436153=30680
|
72
|
436154=0
|
73
|
436155=0
|
74
|
436156=0
|
75
|
436157=0
|
76
|
436158=0
|
77
|
436159=0
|
78
|
436160=5002
|
79
|
436161=0
|
80
|
436162=48
|
81
|
436163=9024
|
82
|
436164=17476
|
83
|
436165=0
|
84
|
436166=0
|
85
|
436167=0
|
86
|
436168=0
|
87
|
436169=0
|
88
|
436170=0
|
89
|
436171=0
|
90
|
436172=0
|
91
|
436173=0
|
92
|
436174=0
|
93
|
436175=0
|
94
|
436176=0
|
95
|
439435=0
|
96
|
brief=????A: 221.711 V,????B: 221.069 V,????C: 220.629 V
|
97
|
testSM-0001 16:11:43 RS485-2:9600,n,8,1
|
98
|
SEND: 01 03 8D 00 00 50 6E 9A
|
99
|
RECV: 01 03 A0 00 03 61 F1 00 03 5F 8D 00 03 5E E3 00 00 00 00 00 05 D9 E3 00 05 D7 24 00 05 D9 50 00 00 00 07 00 00 00 0A 00 00 00 4C 00 00 00 43 00 00 00 00 00 00 00 00 00 00 00 75 00 00 00 00 00 00 00 10 00 00 00 65 FF FF FF 59 FF FF FF F0 FF FF FF F0 FF FF FF 79 00 00 00 D0 00 00 00 10 00 00 00 17 00 00 00 A9 02 32 00 00 02 B7 02 55 69 78 7A B2 77 D8 00 00 00 00 00 00 00 00 00 00 00 00 13 8A 00 00 00 24 23 3F 44 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 B4 33
|
100
|
SEND: 01 03 9A 0A 00 02 CA D1
|
101
|
RECV: 01 03 04 43 88 00 00 6F 9D
|
102
|
t=4965 iaddr=1 iext=0
|
103
|
436097=221681
|
104
|
436099=221069
|
105
|
436101=220899
|
106
|
436103=0
|
107
|
436104=0
|
108
|
436105=383459
|
109
|
436107=382756
|
110
|
436109=383312
|
111
|
436111=7
|
112
|
436113=10
|
113
|
436115=76
|
114
|
436117=67
|
115
|
436119=0
|
116
|
436120=0
|
117
|
436121=0
|
118
|
436122=0
|
119
|
436123=117
|
120
|
436125=0
|
121
|
436127=16
|
122
|
436129=101
|
123
|
436131=-167
|
124
|
436133=-16
|
125
|
436135=-16
|
126
|
436137=-135
|
127
|
436139=208
|
128
|
436141=16
|
129
|
436143=23
|
130
|
436145=169
|
131
|
436147=562
|
132
|
436148=0
|
133
|
436149=695
|
134
|
436150=597
|
135
|
436151=27000
|
136
|
436152=31410
|
137
|
436153=30680
|
138
|
436154=0
|
139
|
436155=0
|
140
|
436156=0
|
141
|
436157=0
|
142
|
436158=0
|
143
|
436159=0
|
144
|
436160=5002
|
145
|
436161=0
|
146
|
436162=36
|
147
|
436163=9023
|
148
|
436164=17476
|
149
|
436165=0
|
150
|
436166=0
|
151
|
436167=0
|
152
|
436168=0
|
153
|
436169=0
|
154
|
436170=0
|
155
|
436171=0
|
156
|
436172=0
|
157
|
436173=0
|
158
|
436174=0
|
159
|
436175=0
|
160
|
436176=0
|
161
|
439435=0
|
162
|
brief=????A: 221.681 V,????B: 221.069 V,????C: 220.899 V
|
163
|
testSM-0002 16:11:45 RS485-2:9600,n,8,1
|
164
|
SEND: 01 03 8D 00 00 50 6E 9A
|
165
|
RECV: 01 03 A0 00 03 61 F1 00 03 5F 1D 00 03 5B DD 00 00 00 00 00 05 D9 68 00 05 D4 25 00 05 D6 99 00 00 00 07 00 00 00 0A 00 00 00 4D 00 00 00 43 00 00 00 00 00 00 00 00 00 00 00 75 00 00 00 00 00 00 00 10 00 00 00 65 FF FF FF 59 FF FF FF F0 FF FF FF F0 FF FF FF 79 00 00 00 D0 00 00 00 10 00 00 00 17 00 00 00 A9 02 32 00 00 02 B7 02 55 69 78 7A B2 77 D8 00 00 00 00 00 00 00 00 00 00 00 00 13 8A 00 00 00 46 23 34 44 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 14 08
|
166
|
SEND: 01 03 9A 0A 00 02 CA D1
|
167
|
RECV: 01 03 04 43 88 00 00 6F 9D
|
168
|
t=4965 iaddr=1 iext=0
|
169
|
436097=221681
|
170
|
436099=220957
|
171
|
436101=220125
|
172
|
436103=0
|
173
|
436104=0
|
174
|
436105=383336
|
175
|
436107=381989
|
176
|
436109=382617
|
177
|
436111=7
|
178
|
436113=10
|
179
|
436115=77
|
180
|
436117=67
|
181
|
436119=0
|
182
|
436120=0
|
183
|
436121=0
|
184
|
436122=0
|
185
|
436123=117
|
186
|
436125=0
|
187
|
436127=16
|
188
|
436129=101
|
189
|
436131=-167
|
190
|
436133=-16
|
191
|
436135=-16
|
192
|
436137=-135
|
193
|
436139=208
|
194
|
436141=16
|
195
|
436143=23
|
196
|
436145=169
|
197
|
436147=562
|
198
|
436148=0
|
199
|
436149=695
|
200
|
436150=597
|
201
|
436151=27000
|
202
|
436152=31410
|
203
|
436153=30680
|
204
|
436154=0
|
205
|
436155=0
|
206
|
436156=0
|
207
|
436157=0
|
208
|
436158=0
|
209
|
436159=0
|
210
|
436160=5002
|
211
|
436161=0
|
212
|
436162=70
|
213
|
436163=9012
|
214
|
436164=17476
|
215
|
436165=0
|
216
|
436166=0
|
217
|
436167=0
|
218
|
436168=0
|
219
|
436169=0
|
220
|
436170=0
|
221
|
436171=0
|
222
|
436172=0
|
223
|
436173=0
|
224
|
436174=0
|
225
|
436175=0
|
226
|
436176=0
|
227
|
439435=0
|
228
|
brief=????A: 221.681 V,????B: 220.957 V,????C: 220.125 V
|
229
|
^C
|
230
|
[root@OM-A6-T300A:NandFlash]#
|