1
|
login as: root
|
2
|
root@192.168.0.16's password:
|
3
|
Access denied
|
4
|
root@192.168.0.16's password:
|
5
|
[root@OM-A6-T300A:~]# cd /NandFlash
|
6
|
[root@OM-A6-T300A:NandFlash]# ls
|
7
|
SM/ libomser-quick.so* omOneNetPost*
|
8
|
SerialPortQuickDef.ini libomser.so* omOneNetPost.ini
|
9
|
bak/ libomserd1.so* omTray*
|
10
|
dbCfg.db3 libomsm.so* omTray.ini
|
11
|
dbData.db3 libomsuw.so* omapp.conf
|
12
|
dbLog.db3 omApp.ini readme.txt
|
13
|
hwtest* omAppPost* sscomx*
|
14
|
hwtest.ini omAppPost.ini tmp/
|
15
|
hwtestEx* omAppSU* update_dbcfg_quick.sh
|
16
|
libomalm.so omAppSU.ini* update_dbcfg_xxx_bak.sh*
|
17
|
libomdb.so* omDemo1* www/
|
18
|
libomdev.so* omMonitor.ini
|
19
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
20
|
Input the com prot: RS483-3
|
21
|
baudrate: 9600
|
22
|
Parity(n\o\e): n
|
23
|
DataBit(5\6\7\8): 8
|
24
|
StopBit(1\2): 1
|
25
|
data types:
|
26
|
1. hex
|
27
|
2. ascii
|
28
|
select data type: 1
|
29
|
select com prot: /dev/RS483-3, 9600, n, 8, 1 for hex
|
30
|
Open Port /dev/RS483-3: Error
|
31
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
32
|
Input the com prot: RS485-3
|
33
|
baudrate: 9600
|
34
|
Parity(n\o\e): n
|
35
|
DataBit(5\6\7\8): 8
|
36
|
StopBit(1\2): 1
|
37
|
data types:
|
38
|
1. hex
|
39
|
2. ascii
|
40
|
select data type: 1
|
41
|
select com prot: /dev/RS485-3, 9600, n, 8, 1 for hex
|
42
|
send: 01 01 00 01 00 01 AC 0A
|
43
|
rece: 01 01 01 00 51 88
|
44
|
send: 01 01 00 01 00 01 AC 0A
|
45
|
rece: 01 01 01 00 51 88
|
46
|
send: 01 03 00 01 00 02 95 CB
|
47
|
rece: 01 03 04 02 80 04 60 F8 8B
|
48
|
send: 01 03 00 01 00 02 95 CB
|
49
|
rece: 01 03 04 02 80 04 60 F8 8B
|
50
|
send: 01 03 00 12 00 02 64 0E
|
51
|
rece: 01 03 04 00 B4 00 B4 BA 62
|
52
|
send: 01 03 00 12 00 02 64 0E
|
53
|
rece: 01 03 04 00 B4 00 B4 BA 62
|
54
|
send: 01 03 9C 4D 00 02 7A 4C
|
55
|
rece: 01 83 02 C0 F1
|
56
|
send: 01 03 00 13 00 02 35 CE
|
57
|
rece: 01 03 04 00 B4 03 84 BA 86
|
58
|
send: 01 03 00 03 00 02 34 0B
|
59
|
rece: 01 03 04 00 28 00 50 7A 07
|
60
|
send: 01 03 00 03 00 02 34 0B
|
61
|
rece: 01 03 04 00 28 00 50 7A 07
|
62
|
send: 01 03 00 0C 00 02 04 08
|
63
|
rece: 01 03 04 00 03 00 00 0A 33
|
64
|
send: 01 03 00 0C 00 02 04 08
|
65
|
rece: 01 03 04 00 03 00 00 0A 33
|
66
|
send: 02 03 00 0C 00 02 04 3B
|
67
|
no data receive!
|
68
|
send: 01 04 00 0D 00 02 E0 08
|
69
|
rece: 01 04 04 00 00 00 00 FB 84
|
70
|
send: 01 04 00 0D 00 02 E0 08
|
71
|
rece: 01 04 04 00 00 00 00 FB 84
|
72
|
send: 01 04 00 0F 00 02 41 C8
|
73
|
rece: 01 04 04 02 6B 02 79 4B 62
|
74
|
send: 02 04 00 0F 00 02 41 FB
|
75
|
no data receive!
|
76
|
send: ^C
|
77
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
78
|
Input the com prot: RS485-4
|
79
|
baudrate: 9600
|
80
|
Parity(n\o\e): N
|
81
|
DataBit(5\6\7\8): 8
|
82
|
StopBit(1\2): 1
|
83
|
data types:
|
84
|
1. hex
|
85
|
2. ascii
|
86
|
select data type: 2
|
87
|
select com prot: /dev/RS485-4, 9600, N, 8, 1 for ascii
|
88
|
send: 02 04 00 0F 00 02 41 FB
|
89
|
no data receive!
|
90
|
send: 02 04 00 0F 00 02 41 FB
|
91
|
no data receive!
|
92
|
send: 01 04 00 0F 00 02 41 C8
|
93
|
no data receive!
|
94
|
send: 01 04 00 0F 00 02 41 C8
|
95
|
no data receive!
|
96
|
send: 01 04 00 0F 00 02 41 C8
|
97
|
no data receive!
|
98
|
send: 01 04 00 0F 00 02 41 C8
|
99
|
no data receive!
|
100
|
send: 02 04 00 0F 00 02 41 FB
|
101
|
no data receive!
|
102
|
send: 02 04 00 0F 00 02 41 FB
|
103
|
no data receive!
|
104
|
send: 02 04 00 0F 00 02 41 FB
|
105
|
no data receive!
|
106
|
send: 02 04 00 0F 00 02 41 FB
|
107
|
no data receive!
|
108
|
send: 02 04 00 0F 00 02 41 FB
|
109
|
no data receive!
|
110
|
send: 02 04 00 0F 00 02 41 FB
|
111
|
no data receive!
|
112
|
send: 02 04 00 0F 00 02 41 FB
|
113
|
no data receive!
|
114
|
send: 02 04 00 0F 00 02 41 FB
|
115
|
no data receive!
|
116
|
send: ^C
|
117
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
118
|
Input the com prot: rs485-4
|
119
|
baudrate: 9600
|
120
|
Parity(n\o\e): N
|
121
|
DataBit(5\6\7\8): 8
|
122
|
StopBit(1\2): 1
|
123
|
data types:
|
124
|
1. hex
|
125
|
2. ascii
|
126
|
select data type: 1
|
127
|
select com prot: /dev/rs485-4, 9600, N, 8, 1 for hex
|
128
|
Open Port /dev/rs485-4: Error
|
129
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
130
|
Input the com prot: RS485-4
|
131
|
baudrate: 9600
|
132
|
Parity(n\o\e): N
|
133
|
DataBit(5\6\7\8): 8
|
134
|
StopBit(1\2): 1
|
135
|
data types:
|
136
|
1. hex
|
137
|
2. ascii
|
138
|
select data type: 1
|
139
|
select com prot: /dev/RS485-4, 9600, N, 8, 1 for hex
|
140
|
send: 01 04 00 0F 00 02 41 C8
|
141
|
no data receive!
|
142
|
send: 01 04 00 0F 00 02 41 C8
|
143
|
no data receive!
|
144
|
send: 01 04 00 0F 00 02 41 C8
|
145
|
no data receive!
|
146
|
send: 02 04 00 0F 00 02 41 FB
|
147
|
no data receive!
|
148
|
send: 02 04 00 0F 00 02 41 FB
|
149
|
no data receive!
|
150
|
send: 02 04 00 0F 00 02 41 FB
|
151
|
no data receive!
|
152
|
send: 01 01 00 01 00 01 AC 0A
|
153
|
no data receive!
|
154
|
send: 01 01 00 01 00 01 AC 0A
|
155
|
no data receive!
|
156
|
send: ^C
|
157
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
158
|
Input the com prot: RS485-2
|
159
|
baudrate: 9600
|
160
|
Parity(n\o\e): N
|
161
|
DataBit(5\6\7\8): 8
|
162
|
StopBit(1\2): 1
|
163
|
data types:
|
164
|
1. hex
|
165
|
2. ascii
|
166
|
select data type: 1
|
167
|
select com prot: /dev/RS485-2, 9600, N, 8, 1 for hex
|
168
|
send: 01 03 27 38 00 14 CE BC
|
169
|
no data receive!
|
170
|
send: 01 03 27 38 00 14 CE BC
|
171
|
no data receive!
|
172
|
send: 01 03 27 38 00 14 CE BC
|
173
|
no data receive!
|
174
|
send: 01 03 27 38 00 14 CE BC
|
175
|
no data receive!
|
176
|
send: 01 03 27 38 00 14 CE BC
|
177
|
no data receive!
|
178
|
send: 01 03 27 38 00 14 CE BC
|
179
|
no data receive!
|
180
|
send: 01 03 27 38 00 14 CE BC
|
181
|
no data receive!
|
182
|
send: 01 03 27 38 00 14 CE BC
|
183
|
no data receive!
|
184
|
send: ^C
|
185
|
[root@OM-A6-T300A:NandFlash]# ^C
|
186
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
187
|
Input the com prot: RS485-4
|
188
|
baudrate: 9600
|
189
|
Parity(n\o\e): N
|
190
|
DataBit(5\6\7\8): 8
|
191
|
StopBit(1\2): 1
|
192
|
data types:
|
193
|
1. hex
|
194
|
2. ascii
|
195
|
select data type: 1
|
196
|
select com prot: /dev/RS485-4, 9600, N, 8, 1 for hex
|
197
|
send: 01 03 04 02 80 04 60 F8 8B
|
198
|
no data receive!
|
199
|
send: 01 03 04 02 80 04 60 F8 8B
|
200
|
no data receive!
|
201
|
send: 01 03 04 02 80 04 60 F8 8B
|
202
|
no data receive!
|
203
|
send: ^C
|
204
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
205
|
Input the com prot: RS485-2
|
206
|
baudrate: 9600
|
207
|
Parity(n\o\e): N
|
208
|
DataBit(5\6\7\8): 8
|
209
|
StopBit(1\2): 1
|
210
|
data types:
|
211
|
1. hex
|
212
|
2. ascii
|
213
|
select data type: 1
|
214
|
select com prot: /dev/RS485-2, 9600, N, 8, 1 for hex
|
215
|
send: 01 03 27 38 00 14 CE BC
|
216
|
no data receive!
|
217
|
send: 01 03 27 38 00 14 CE BC
|
218
|
no data receive!
|
219
|
send: 01 03 27 38 00 14 CE BC
|
220
|
rece: 01 03 28 00 09 00 07 00 00 00 00 00 00 00 3B 00 45 00 38 00 FA 08 6E 08 70 00 02 00 01 00 FA 27 D8 03 E8 00 00 00 00 00 00 00 00 48 B9
|
221
|
send: 01 03 27 38 00 14 CE BC
|
222
|
rece: 01 03 28 00 08 00 07 00 00 00 00 00 00 00 3A 00 40 00 34 00 FA 08 6E 08 70 00 02 00 01 00 FA 27 D8 03 E8 00 00 00 00 00 00 00 00 7F 72
|
223
|
send: ^C
|
224
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4691 1 0 0 0 RS485-2:9600,n,8,1
|
225
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
226
|
MemFree: 210212 kB
|
227
|
MemAvailable: 221380 kB
|
228
|
Buffers: 0 kB
|
229
|
!!!MemVsz 0: 4876 KB
|
230
|
SIGRTMAX-1= 63
|
231
|
SerManager new: 1b95710
|
232
|
!!!MemVsz change: 128 KB
|
233
|
!!!MemVsz change: 5148 KB
|
234
|
!!!MemVsz change: 1248 KB
|
235
|
|
236
|
SMxxx: Type=4691 Addr=1 Port=0 Tag1=0 Ext1=0
|
237
|
|
238
|
SerDef=RS485-2:9600,n,8,1 Type=4691
|
239
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
240
|
testSM SM=1b985b8
|
241
|
CSerCom InitCom: 1b9a980 1
|
242
|
CSerCom UpdParams: ComPort: RS485-2, 0, 0
|
243
|
CSerCom::Open: /dev/RS485-2,9600,8,N,0
|
244
|
set serial done+!
|
245
|
RS485-2:9600,n,8,1[110002] open ok!
|
246
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
247
|
MemFree: 209844 kB
|
248
|
MemAvailable: 221024 kB
|
249
|
Buffers: 0 kB
|
250
|
start SMxxx->DataGet ...
|
251
|
SEND: 01 03 27 10 00 14 4E B4
|
252
|
RECV: 01 03 28 08 FA 08 EA 08 F1 00 00 00 00 00 00 13 85 13 85 13 85 00 64 00 64 00 64 08 F9 08 ED 08 F3 00 38 00 38 00 39 13 85 13 84 74 DA
|
253
|
SEND: 01 03 27 24 00 14 0F 7A
|
254
|
RECV: 01 03 28 13 84 00 53 00 56 00 4A 08 A0 08 A3 08 A0 00 22 00 2E 00 20 13 84 13 84 13 84 00 3D 00 50 00 52 00 08 00 0B 00 07 00 08 B4 C6
|
255
|
SEND: 01 03 27 38 00 14 CE BC
|
256
|
RECV: 01 03 28 00 09 00 07 00 00 00 00 00 00 00 3C 00 45 00 36 00 FA 08 70 08 73 00 02 00 01 00 FA 27 D8 03 E8 00 00 00 00 00 00 00 00 E5 9A
|
257
|
SEND: 01 03 27 7D 00 14 DF 69
|
258
|
RECV: 01 03 28 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 73 A6
|
259
|
SEND: 01 03 27 91 00 14 1E 9C
|
260
|
RECV: 01 03 28 00 02 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4F E2
|
261
|
t=4691 iaddr=1 iext=0
|
262
|
410001=2298
|
263
|
410002=2282
|
264
|
410003=2289
|
265
|
410004=0
|
266
|
410005=0
|
267
|
410006=0
|
268
|
410007=4997
|
269
|
410008=4997
|
270
|
410009=4997
|
271
|
410010=100
|
272
|
410011=100
|
273
|
410012=100
|
274
|
410013=2297
|
275
|
410014=2285
|
276
|
410015=2291
|
277
|
410016=56
|
278
|
410017=56
|
279
|
410018=57
|
280
|
410019=4997
|
281
|
410020=4996
|
282
|
410021=4996
|
283
|
410022=83
|
284
|
410023=86
|
285
|
410024=74
|
286
|
410025=2208
|
287
|
410026=2211
|
288
|
410027=2208
|
289
|
410028=34
|
290
|
410029=46
|
291
|
410030=32
|
292
|
410031=4996
|
293
|
410032=4996
|
294
|
410033=4996
|
295
|
410034=61
|
296
|
410035=80
|
297
|
410036=82
|
298
|
410037=8
|
299
|
410038=11
|
300
|
410039=7
|
301
|
410040=8
|
302
|
410041=9
|
303
|
410042=7
|
304
|
410043=0
|
305
|
410044=0
|
306
|
410045=0
|
307
|
410046=60
|
308
|
410047=69
|
309
|
410048=54
|
310
|
410049=250
|
311
|
410050=2160
|
312
|
410051=2163
|
313
|
410052=2
|
314
|
410053=1
|
315
|
410054=250
|
316
|
410055=10200
|
317
|
410056=1000
|
318
|
410057=0
|
319
|
410058=0
|
320
|
410059=0
|
321
|
410060=0
|
322
|
410110=1
|
323
|
410111=1
|
324
|
410112=0
|
325
|
410113=0
|
326
|
410114=0
|
327
|
410115=0
|
328
|
410116=0
|
329
|
410117=0
|
330
|
410118=0
|
331
|
410119=0
|
332
|
410120=0
|
333
|
410121=0
|
334
|
410122=0
|
335
|
410123=0
|
336
|
410124=0
|
337
|
410125=0
|
338
|
410126=0
|
339
|
410127=0
|
340
|
410128=0
|
341
|
410129=0
|
342
|
410130=2
|
343
|
410131=2
|
344
|
410132=0
|
345
|
410133=0
|
346
|
410134=0
|
347
|
410135=0
|
348
|
410136=0
|
349
|
410137=0
|
350
|
410138=0
|
351
|
410139=0
|
352
|
410140=0
|
353
|
410141=0
|
354
|
410142=0
|
355
|
410143=0
|
356
|
410144=0
|
357
|
410145=0
|
358
|
410146=0
|
359
|
410147=0
|
360
|
410148=0
|
361
|
410149=0
|
362
|
brief=▒▒▒▒▒▒▒ѹA: 229.7 V, ▒▒▒▒▒▒▒ѹB: 228.5 V ,▒▒▒▒▒▒▒ѹC: 229.1 V ▒▒▒▒▒▒ѹA: 220.8 V, ▒▒▒▒▒▒ѹB: 221.1 V ,▒▒▒▒▒▒ѹC: 220.8 V ,▒▒·▒▒▒ѹA: 229.8 V, ▒▒·▒▒▒ѹB: 228.2 V ,▒▒·▒▒▒ѹC: 228.9 V
|
363
|
testSM-0001 15:25:25 RS485-2:9600,n,8,1
|
364
|
SEND: 01 03 27 10 00 14 4E B4
|
365
|
RECV: 01 03 28 08 F9 08 EA 08 F1 00 00 00 00 00 00 13 84 13 84 13 84 00 64 00 64 00 64 08 F7 08 ED 08 F1 00 38 00 39 00 3A 13 84 13 84 88 35
|
366
|
SEND: 01 03 27 24 00 14 0F 7A
|
367
|
RECV: 01 03 28 13 84 00 54 00 55 00 5B 08 A0 08 A3 08 A0 00 23 00 29 00 21 13 84 13 84 13 84 00 3C 00 50 00 54 00 08 00 09 00 07 00 08 4C 2F
|
368
|
SEND: 01 03 27 38 00 14 CE BC
|
369
|
RECV: 01 03 28 00 09 00 07 00 00 00 00 00 00 00 38 00 44 00 37 00 FA 08 6F 08 72 00 02 00 01 00 FA 27 D8 03 E8 00 00 00 00 00 00 00 00 9F 74
|
370
|
SEND: 01 03 27 7D 00 14 DF 69
|
371
|
RECV: 01 03 28 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 73 A6
|
372
|
SEND: 01 03 27 91 00 14 1E 9C
|
373
|
^C
|
374
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4691 1 0 0 0 RS485-2:9600,n,8,1
|
375
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
376
|
MemFree: 210144 kB
|
377
|
MemAvailable: 221340 kB
|
378
|
Buffers: 0 kB
|
379
|
!!!MemVsz 0: 4876 KB
|
380
|
SIGRTMAX-1= 63
|
381
|
SerManager new: 17c5710
|
382
|
!!!MemVsz change: 128 KB
|
383
|
!!!MemVsz change: 5148 KB
|
384
|
!!!MemVsz change: 1248 KB
|
385
|
|
386
|
SMxxx: Type=4691 Addr=1 Port=0 Tag1=0 Ext1=0
|
387
|
|
388
|
SerDef=RS485-2:9600,n,8,1 Type=4691
|
389
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
390
|
testSM SM=17c85b8
|
391
|
CSerCom InitCom: 17ca980 1
|
392
|
CSerCom UpdParams: ComPort: RS485-2, 0, 0
|
393
|
CSerCom::Open: /dev/RS485-2,9600,8,N,0
|
394
|
set serial done+!
|
395
|
RS485-2:9600,n,8,1[110002] open ok!
|
396
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
397
|
MemFree: 209836 kB
|
398
|
MemAvailable: 221032 kB
|
399
|
Buffers: 0 kB
|
400
|
start SMxxx->DataGet ...
|
401
|
SEND: 01 03 27 10 00 14 4E B4
|
402
|
RECV: 01 03 28 08 FC 08 EC 08 F3 00 00 00 00 00 00 13 88 13 88 13 88 00 64 00 64 00 64 08 FA 08 EF 08 F4 00 38 00 3B 00 38 13 89 13 88 0B 62
|
403
|
SEND: 01 03 27 24 00 14 0F 7A
|
404
|
RECV: 01 03 28 13 88 00 5A 00 56 00 58 08 A0 08 A3 08 A1 00 22 00 29 00 20 13 88 13 88 13 88 00 3C 00 4E 00 51 00 07 00 09 00 07 00 07 C7 9E
|
405
|
SEND: 01 03 27 38 00 14 CE BC
|
406
|
RECV: 01 03 28 00 09 00 07 00 00 00 00 00 00 00 3D 00 43 00 36 00 FA 08 70 08 73 00 02 00 02 00 FA 27 D8 03 E8 00 00 00 00 00 00 00 00 67 54
|
407
|
SEND: 01 03 27 7D 00 14 DF 69
|
408
|
RECV: 01 03 28 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 73 A6
|
409
|
SEND: 01 03 27 91 00 14 1E 9C
|
410
|
RECV: 01 03 28 00 02 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4F E2
|
411
|
t=4691 iaddr=1 iext=0
|
412
|
410001=2300
|
413
|
410002=2284
|
414
|
410003=2291
|
415
|
410004=0
|
416
|
410005=0
|
417
|
410006=0
|
418
|
410007=5000
|
419
|
410008=5000
|
420
|
410009=5000
|
421
|
410010=100
|
422
|
410011=100
|
423
|
410012=100
|
424
|
410013=2298
|
425
|
410014=2287
|
426
|
410015=2292
|
427
|
410016=56
|
428
|
410017=59
|
429
|
410018=56
|
430
|
410019=5001
|
431
|
410020=5000
|
432
|
410021=5000
|
433
|
410022=90
|
434
|
410023=86
|
435
|
410024=88
|
436
|
410025=2208
|
437
|
410026=2211
|
438
|
410027=2209
|
439
|
410028=34
|
440
|
410029=41
|
441
|
410030=32
|
442
|
410031=5000
|
443
|
410032=5000
|
444
|
410033=5000
|
445
|
410034=60
|
446
|
410035=78
|
447
|
410036=81
|
448
|
410037=7
|
449
|
410038=9
|
450
|
410039=7
|
451
|
410040=7
|
452
|
410041=9
|
453
|
410042=7
|
454
|
410043=0
|
455
|
410044=0
|
456
|
410045=0
|
457
|
410046=61
|
458
|
410047=67
|
459
|
410048=54
|
460
|
410049=250
|
461
|
410050=2160
|
462
|
410051=2163
|
463
|
410052=2
|
464
|
410053=2
|
465
|
410054=250
|
466
|
410055=10200
|
467
|
410056=1000
|
468
|
410057=0
|
469
|
410058=0
|
470
|
410059=0
|
471
|
410060=0
|
472
|
410110=1
|
473
|
410111=1
|
474
|
410112=0
|
475
|
410113=0
|
476
|
410114=0
|
477
|
410115=0
|
478
|
410116=0
|
479
|
410117=0
|
480
|
410118=0
|
481
|
410119=0
|
482
|
410120=0
|
483
|
410121=0
|
484
|
410122=0
|
485
|
410123=0
|
486
|
410124=0
|
487
|
410125=0
|
488
|
410126=0
|
489
|
410127=0
|
490
|
410128=0
|
491
|
410129=0
|
492
|
410130=2
|
493
|
410131=2
|
494
|
410132=0
|
495
|
410133=0
|
496
|
410134=0
|
497
|
410135=0
|
498
|
410136=0
|
499
|
410137=0
|
500
|
410138=0
|
501
|
410139=0
|
502
|
410140=0
|
503
|
410141=0
|
504
|
410142=0
|
505
|
410143=0
|
506
|
410144=0
|
507
|
410145=0
|
508
|
410146=0
|
509
|
410147=0
|
510
|
410148=0
|
511
|
410149=0
|
512
|
brief=▒▒▒▒▒▒▒ѹA: 229.8 V, ▒▒▒▒▒▒▒ѹB: 228.7 V ,▒▒▒▒▒▒▒ѹC: 229.2 V ▒▒▒▒▒▒ѹA: 220.8 V, ▒▒▒▒▒▒ѹB: 221.1 V ,▒▒▒▒▒▒ѹC: 220.9 V ,▒▒·▒▒▒ѹA: 230.0 V, ▒▒·▒▒▒ѹB: 228.4 V ,▒▒·▒▒▒ѹC: 229.1 V
|
513
|
testSM-0001 15:27:03 RS485-2:9600,n,8,1
|
514
|
SEND: 01 03 27 10 00 14 4E B4
|
515
|
RECV: 01 03 28 08 FD 08 EC 08 F4 00 00 00 00 00 00 13 88 13 88 13 88 00 64 00 64 00 64 08 FA 08 EF 08 F5 00 38 00 39 00 39 13 89 13 89 1A 32
|
516
|
SEND: 01 03 27 24 00 14 0F 7A
|
517
|
RECV: 01 03 28 13 88 00 52 00 55 00 58 08 A0 08 A3 08 A0 00 22 00 27 00 22 13 88 13 88 13 88 00 3B 00 4F 00 56 00 07 00 09 00 08 00 07 57 9A
|
518
|
SEND: 01 03 27 38 00 14 CE BC
|
519
|
RECV: 01 03 28 00 09 00 07 00 00 00 00 00 00 00 36 00 45 00 38 00 FA 08 70 08 73 00 02 00 02 00 FA 27 D8 03 E8 00 00 00 00 00 00 00 00 72 4B
|
520
|
SEND: 01 03 27 7D 00 14 DF 69
|
521
|
RECV: 01 03 28 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 73 A6
|
522
|
SEND: 01 03 27 91 00 14 1E 9C
|
523
|
RECV: 01 03 28 00 02 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4F E2
|
524
|
t=4691 iaddr=1 iext=0
|
525
|
410001=2301
|
526
|
410002=2284
|
527
|
410003=2292
|
528
|
410004=0
|
529
|
410005=0
|
530
|
410006=0
|
531
|
410007=5000
|
532
|
410008=5000
|
533
|
410009=5000
|
534
|
410010=100
|
535
|
410011=100
|
536
|
410012=100
|
537
|
410013=2298
|
538
|
410014=2287
|
539
|
410015=2293
|
540
|
410016=56
|
541
|
410017=57
|
542
|
410018=57
|
543
|
410019=5001
|
544
|
410020=5001
|
545
|
410021=5000
|
546
|
410022=82
|
547
|
410023=85
|
548
|
410024=88
|
549
|
410025=2208
|
550
|
410026=2211
|
551
|
410027=2208
|
552
|
410028=34
|
553
|
410029=39
|
554
|
410030=34
|
555
|
410031=5000
|
556
|
410032=5000
|
557
|
410033=5000
|
558
|
410034=59
|
559
|
410035=79
|
560
|
410036=86
|
561
|
410037=7
|
562
|
410038=9
|
563
|
410039=8
|
564
|
410040=7
|
565
|
410041=9
|
566
|
410042=7
|
567
|
410043=0
|
568
|
410044=0
|
569
|
410045=0
|
570
|
410046=54
|
571
|
410047=69
|
572
|
410048=56
|
573
|
410049=250
|
574
|
410050=2160
|
575
|
410051=2163
|
576
|
410052=2
|
577
|
410053=2
|
578
|
410054=250
|
579
|
410055=10200
|
580
|
410056=1000
|
581
|
410057=0
|
582
|
410058=0
|
583
|
410059=0
|
584
|
410060=0
|
585
|
410110=1
|
586
|
410111=1
|
587
|
410112=0
|
588
|
410113=0
|
589
|
410114=0
|
590
|
410115=0
|
591
|
410116=0
|
592
|
410117=0
|
593
|
410118=0
|
594
|
410119=0
|
595
|
410120=0
|
596
|
410121=0
|
597
|
410122=0
|
598
|
410123=0
|
599
|
410124=0
|
600
|
410125=0
|
601
|
410126=0
|
602
|
410127=0
|
603
|
410128=0
|
604
|
410129=0
|
605
|
410130=2
|
606
|
410131=2
|
607
|
410132=0
|
608
|
410133=0
|
609
|
410134=0
|
610
|
410135=0
|
611
|
410136=0
|
612
|
410137=0
|
613
|
410138=0
|
614
|
410139=0
|
615
|
410140=0
|
616
|
410141=0
|
617
|
410142=0
|
618
|
410143=0
|
619
|
410144=0
|
620
|
410145=0
|
621
|
410146=0
|
622
|
410147=0
|
623
|
410148=0
|
624
|
410149=0
|
625
|
brief=▒▒▒▒▒▒▒ѹA: 229.8 V, ▒▒▒▒▒▒▒ѹB: 228.7 V ,▒▒▒▒▒▒▒ѹC: 229.3 V ▒▒▒▒▒▒ѹA: 220.8 V, ▒▒▒▒▒▒ѹB: 221.1 V ,▒▒▒▒▒▒ѹC: 220.8 V ,▒▒·▒▒▒ѹA: 230.1 V, ▒▒·▒▒▒ѹB: 228.4 V ,▒▒·▒▒▒ѹC: 229.2 V
|
626
|
^C
|
627
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4691 2 0 0 0 RS485-2:9600,n,8,1
|
628
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
629
|
MemFree: 210196 kB
|
630
|
MemAvailable: 221392 kB
|
631
|
Buffers: 0 kB
|
632
|
!!!MemVsz 0: 4876 KB
|
633
|
SIGRTMAX-1= 63
|
634
|
SerManager new: 1359710
|
635
|
!!!MemVsz change: 128 KB
|
636
|
!!!MemVsz change: 5148 KB
|
637
|
!!!MemVsz change: 1248 KB
|
638
|
|
639
|
SMxxx: Type=4691 Addr=2 Port=0 Tag1=0 Ext1=0
|
640
|
|
641
|
SerDef=RS485-2:9600,n,8,1 Type=4691
|
642
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
643
|
testSM SM=135c5b8
|
644
|
CSerCom InitCom: 135e980 1
|
645
|
CSerCom UpdParams: ComPort: RS485-2, 0, 0
|
646
|
CSerCom::Open: /dev/RS485-2,9600,8,N,0
|
647
|
set serial done+!
|
648
|
RS485-2:9600,n,8,1[110002] open ok!
|
649
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
650
|
MemFree: 209768 kB
|
651
|
MemAvailable: 220968 kB
|
652
|
Buffers: 0 kB
|
653
|
start SMxxx->DataGet ...
|
654
|
SEND: 02 03 27 10 00 14 4E 87
|
655
|
RECV: 02 03 28 08 FC 08 F2 08 F9 00 00 00 00 00 00 13 84 13 84 13 84 00 64 00 64 00 64 08 F9 08 F0 08 F5 00 3C 00 3E 00 3C 13 85 13 84 90 82
|
656
|
SEND: 02 03 27 24 00 14 0F 49
|
657
|
RECV: 02 03 28 13 84 00 56 00 48 00 4B 08 9F 08 9F 08 9F 00 21 00 27 00 22 13 84 13 84 13 84 00 45 00 53 00 4D 00 07 00 09 00 08 00 07 71 55
|
658
|
SEND: 02 03 27 38 00 14 CE 8F
|
659
|
RECV: 02 03 28 00 09 00 07 00 00 00 00 00 00 00 3F 00 41 00 35 00 FA 08 6F 08 6C 00 03 00 03 00 FA 27 D8 03 E8 00 00 00 00 00 00 00 00 4F B3
|
660
|
SEND: 02 03 27 7D 00 14 DF 5A
|
661
|
RECV: 02 03 28 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 35 64
|
662
|
SEND: 02 03 27 91 00 14 1E AF
|
663
|
RECV: 02 03 28 00 02 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 20
|
664
|
t=4691 iaddr=2 iext=0
|
665
|
410001=2300
|
666
|
410002=2290
|
667
|
410003=2297
|
668
|
410004=0
|
669
|
410005=0
|
670
|
410006=0
|
671
|
410007=4996
|
672
|
410008=4996
|
673
|
410009=4996
|
674
|
410010=100
|
675
|
410011=100
|
676
|
410012=100
|
677
|
410013=2297
|
678
|
410014=2288
|
679
|
410015=2293
|
680
|
410016=60
|
681
|
410017=62
|
682
|
410018=60
|
683
|
410019=4997
|
684
|
410020=4996
|
685
|
410021=4996
|
686
|
410022=86
|
687
|
410023=72
|
688
|
410024=75
|
689
|
410025=2207
|
690
|
410026=2207
|
691
|
410027=2207
|
692
|
410028=33
|
693
|
410029=39
|
694
|
410030=34
|
695
|
410031=4996
|
696
|
410032=4996
|
697
|
410033=4996
|
698
|
410034=69
|
699
|
410035=83
|
700
|
410036=77
|
701
|
410037=7
|
702
|
410038=9
|
703
|
410039=8
|
704
|
410040=7
|
705
|
410041=9
|
706
|
410042=7
|
707
|
410043=0
|
708
|
410044=0
|
709
|
410045=0
|
710
|
410046=63
|
711
|
410047=65
|
712
|
410048=53
|
713
|
410049=250
|
714
|
410050=2159
|
715
|
410051=2156
|
716
|
410052=3
|
717
|
410053=3
|
718
|
410054=250
|
719
|
410055=10200
|
720
|
410056=1000
|
721
|
410057=0
|
722
|
410058=0
|
723
|
410059=0
|
724
|
410060=0
|
725
|
410110=1
|
726
|
410111=1
|
727
|
410112=0
|
728
|
410113=0
|
729
|
410114=0
|
730
|
410115=0
|
731
|
410116=0
|
732
|
410117=0
|
733
|
410118=0
|
734
|
410119=0
|
735
|
410120=0
|
736
|
410121=0
|
737
|
410122=0
|
738
|
410123=0
|
739
|
410124=0
|
740
|
410125=0
|
741
|
410126=0
|
742
|
410127=0
|
743
|
410128=0
|
744
|
410129=0
|
745
|
410130=2
|
746
|
410131=2
|
747
|
410132=0
|
748
|
410133=0
|
749
|
410134=0
|
750
|
410135=0
|
751
|
410136=0
|
752
|
410137=0
|
753
|
410138=0
|
754
|
410139=0
|
755
|
410140=0
|
756
|
410141=0
|
757
|
410142=0
|
758
|
410143=0
|
759
|
410144=0
|
760
|
410145=0
|
761
|
410146=0
|
762
|
410147=0
|
763
|
410148=0
|
764
|
410149=0
|
765
|
brief=▒▒▒▒▒▒▒ѹA: 229.7 V, ▒▒▒▒▒▒▒ѹB: 228.8 V ,▒▒▒▒▒▒▒ѹC: 229.3 V ▒▒▒▒▒▒ѹA: 220.7 V, ▒▒▒▒▒▒ѹB: 220.7 V ,▒▒▒▒▒▒ѹC: 220.7 V ,▒▒·▒▒▒ѹA: 230.0 V, ▒▒·▒▒▒ѹB: 229.0 V ,▒▒·▒▒▒ѹC: 229.7 V
|
766
|
testSM-0001 15:28:10 RS485-2:9600,n,8,1
|
767
|
SEND: 02 03 27 10 00 14 4E 87
|
768
|
RECV: 02 03 28 08 FD 08 F1 08 F9 00 00 00 00 00 00 13 84 13 84 13 84 00 64 00 64 00 64 08 F7 08 EE 08 F4 00 3C 00 3C 00 3D 13 85 13 84 03 38
|
769
|
SEND: 02 03 27 24 00 14 0F 49
|
770
|
RECV: 02 03 28 13 85 00 47 00 4D 00 4F 08 A0 08 9F 08 A0 00 23 00 27 00 22 13 84 13 84 13 84 00 44 00 51 00 46 00 08 00 09 00 07 00 08 BF 62
|
771
|
SEND: 02 03 27 38 00 14 CE 8F
|
772
|
RECV: 02 03 28 00 09 00 07 00 00 00 04 00 00 00 39 00 47 00 37 00 FA 08 70 08 6E 00 03 00 02 00 FA 27 D8 03 E8 00 00 00 00 00 00 00 00 81 DC
|
773
|
SEND: 02 03 27 7D 00 14 DF 5A
|
774
|
RECV: 02 03 28 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 35 64
|
775
|
SEND: 02 03 27 91 00 14 1E AF
|
776
|
RECV: 02 03 28 00 02 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 20
|
777
|
t=4691 iaddr=2 iext=0
|
778
|
410001=2301
|
779
|
410002=2289
|
780
|
410003=2297
|
781
|
410004=0
|
782
|
410005=0
|
783
|
410006=0
|
784
|
410007=4996
|
785
|
410008=4996
|
786
|
410009=4996
|
787
|
410010=100
|
788
|
410011=100
|
789
|
410012=100
|
790
|
410013=2295
|
791
|
410014=2286
|
792
|
410015=2292
|
793
|
410016=60
|
794
|
410017=60
|
795
|
410018=61
|
796
|
410019=4997
|
797
|
410020=4996
|
798
|
410021=4997
|
799
|
410022=71
|
800
|
410023=77
|
801
|
410024=79
|
802
|
410025=2208
|
803
|
410026=2207
|
804
|
410027=2208
|
805
|
410028=35
|
806
|
410029=39
|
807
|
410030=34
|
808
|
410031=4996
|
809
|
410032=4996
|
810
|
410033=4996
|
811
|
410034=68
|
812
|
410035=81
|
813
|
410036=70
|
814
|
410037=8
|
815
|
410038=9
|
816
|
410039=7
|
817
|
410040=8
|
818
|
410041=9
|
819
|
410042=7
|
820
|
410043=0
|
821
|
410044=4
|
822
|
410045=0
|
823
|
410046=57
|
824
|
410047=71
|
825
|
410048=55
|
826
|
410049=250
|
827
|
410050=2160
|
828
|
410051=2158
|
829
|
410052=3
|
830
|
410053=2
|
831
|
410054=250
|
832
|
410055=10200
|
833
|
410056=1000
|
834
|
410057=0
|
835
|
410058=0
|
836
|
410059=0
|
837
|
410060=0
|
838
|
410110=1
|
839
|
410111=1
|
840
|
410112=0
|
841
|
410113=0
|
842
|
410114=0
|
843
|
410115=0
|
844
|
410116=0
|
845
|
410117=0
|
846
|
410118=0
|
847
|
410119=0
|
848
|
410120=0
|
849
|
410121=0
|
850
|
410122=0
|
851
|
410123=0
|
852
|
410124=0
|
853
|
410125=0
|
854
|
410126=0
|
855
|
410127=0
|
856
|
410128=0
|
857
|
410129=0
|
858
|
410130=2
|
859
|
410131=2
|
860
|
410132=0
|
861
|
410133=0
|
862
|
410134=0
|
863
|
410135=0
|
864
|
410136=0
|
865
|
410137=0
|
866
|
410138=0
|
867
|
410139=0
|
868
|
410140=0
|
869
|
410141=0
|
870
|
410142=0
|
871
|
410143=0
|
872
|
410144=0
|
873
|
410145=0
|
874
|
410146=0
|
875
|
410147=0
|
876
|
410148=0
|
877
|
410149=0
|
878
|
brief=▒▒▒▒▒▒▒ѹA: 229.5 V, ▒▒▒▒▒▒▒ѹB: 228.6 V ,▒▒▒▒▒▒▒ѹC: 229.2 V ▒▒▒▒▒▒ѹA: 220.8 V, ▒▒▒▒▒▒ѹB: 220.7 V ,▒▒▒▒▒▒ѹC: 220.8 V ,▒▒·▒▒▒ѹA: 230.1 V, ▒▒·▒▒▒ѹB: 228.9 V ,▒▒·▒▒▒ѹC: 229.7 V
|
879
|
^C
|
880
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4691 2 0 0 0 RS485-2:9600,n,8,1^C
|
881
|
[root@OM-A6-T300A:NandFlash]# ^C
|
882
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
883
|
Input the com prot: RS485-4
|
884
|
baudrate: 9600
|
885
|
Parity(n\o\e): n
|
886
|
DataBit(5\6\7\8): 8
|
887
|
StopBit(1\2): 1
|
888
|
data types:
|
889
|
1. hex
|
890
|
2. ascii
|
891
|
select data type: 1
|
892
|
select com prot: /dev/RS485-4, 9600, n, 8, 1 for hex
|
893
|
send: 01 01 00 01 00 01 AC 0A
|
894
|
rece: 01 01 01 00 51 88
|
895
|
send: 01 01 00 01 00 01 AC 0A
|
896
|
rece: 01 01 01 00 51 88
|
897
|
send: 01 01 00 01 00 01 AC 0A
|
898
|
rece: 01 01 01 00 51 88
|
899
|
send: ^C
|
900
|
[root@OM-A6-T300A:NandFlash]# ./sscomx
|
901
|
Input the com prot: RS485-3
|
902
|
baudrate: 9600
|
903
|
Parity(n\o\e): n
|
904
|
DataBit(5\6\7\8): 8
|
905
|
StopBit(1\2): 1
|
906
|
data types:
|
907
|
1. hex
|
908
|
2. ascii
|
909
|
select data type: 1
|
910
|
select com prot: /dev/RS485-3, 9600, n, 8, 1 for hex
|
911
|
send: 01 01 00 01 00 01 AC 0A
|
912
|
rece: 01 01 01 00 51 88
|
913
|
send: 01 01 00 01 00 01 AC 0A
|
914
|
rece: 01 01 01 00 51 88
|
915
|
send: 01 01 00 01 00 01 AC 0A
|
916
|
rece: 01 01 01 00 51 88
|
917
|
send:
|