1
|
login as: root
|
2
|
root@192.168.0.16's password:
|
3
|
Last login: Fri Jun 14 16:40:22 2024 from 192.168.0.100
|
4
|
[root@OM-A6-T300A:~]# cd /NandFlash
|
5
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4932 2 0 0 0 RS485-1:9600,n,8,1
|
6
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
7
|
MemFree: 205384 kB
|
8
|
MemAvailable: 216516 kB
|
9
|
Buffers: 0 kB
|
10
|
!!!MemVsz 0: 4876 KB
|
11
|
SIGRTMAX-1= 63
|
12
|
SerManager new: 8fb710
|
13
|
!!!MemVsz change: 128 KB
|
14
|
!!!MemVsz change: 5148 KB
|
15
|
!!!MemVsz change: 1248 KB
|
16
|
|
17
|
SMxxx: Type=4932 Addr=2 Port=0 Tag1=0 Ext1=0
|
18
|
|
19
|
SerDef=RS485-1:9600,n,8,1 Type=4932
|
20
|
CSMManager::GetSM NULL: type=4932
|
21
|
testSM SM=0
|
22
|
CSerCom InitCom: 8fe5b8 1
|
23
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
24
|
aSM.SM=0 aSer=8fe5b8
|
25
|
SerManager delete: 8fb710
|
26
|
SerManager free: 8fb710
|
27
|
exit 0
|
28
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4923 2 0 0 0 RS485-1:9600,n,8,1
|
29
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
30
|
MemFree: 205472 kB
|
31
|
MemAvailable: 216628 kB
|
32
|
Buffers: 0 kB
|
33
|
!!!MemVsz 0: 4876 KB
|
34
|
SIGRTMAX-1= 63
|
35
|
SerManager new: 1b9e710
|
36
|
!!!MemVsz change: 128 KB
|
37
|
!!!MemVsz change: 5148 KB
|
38
|
!!!MemVsz change: 1248 KB
|
39
|
|
40
|
SMxxx: Type=4923 Addr=2 Port=0 Tag1=0 Ext1=0
|
41
|
|
42
|
SerDef=RS485-1:9600,n,8,1 Type=4923
|
43
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
44
|
testSM SM=1ba15b8
|
45
|
CSerCom InitCom: 1ba21e0 1
|
46
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
47
|
CSerCom::Open: /dev/RS485-1,9600,8,N,0
|
48
|
set serial done+!
|
49
|
RS485-1:9600,n,8,1[110001] open ok!
|
50
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
51
|
MemFree: 205232 kB
|
52
|
MemAvailable: 216388 kB
|
53
|
Buffers: 0 kB
|
54
|
start SMxxx->DataGet ...
|
55
|
SEND: 02 03 00 24 00 1E 85 FA
|
56
|
RECV:
|
57
|
testSM-0001 17:53:32 RS485-1:9600,n,8,1
|
58
|
SEND: 02 03 00 24 00 1E 85 FA
|
59
|
RECV:
|
60
|
testSM-0002 17:53:33 RS485-1:9600,n,8,1
|
61
|
SEND: 02 03 00 24 00 1E 85 FA
|
62
|
^C
|
63
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4923 3 0 0 0 RS485-1:9600,n,8,1
|
64
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
65
|
MemFree: 205516 kB
|
66
|
MemAvailable: 216672 kB
|
67
|
Buffers: 0 kB
|
68
|
!!!MemVsz 0: 4876 KB
|
69
|
SIGRTMAX-1= 63
|
70
|
SerManager new: 589710
|
71
|
!!!MemVsz change: 128 KB
|
72
|
!!!MemVsz change: 5148 KB
|
73
|
!!!MemVsz change: 1248 KB
|
74
|
|
75
|
SMxxx: Type=4923 Addr=3 Port=0 Tag1=0 Ext1=0
|
76
|
|
77
|
SerDef=RS485-1:9600,n,8,1 Type=4923
|
78
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
79
|
testSM SM=58c5b8
|
80
|
CSerCom InitCom: 58d1e0 1
|
81
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
82
|
CSerCom::Open: /dev/RS485-1,9600,8,N,0
|
83
|
set serial done+!
|
84
|
RS485-1:9600,n,8,1[110001] open ok!
|
85
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
86
|
MemFree: 205216 kB
|
87
|
MemAvailable: 216372 kB
|
88
|
Buffers: 0 kB
|
89
|
start SMxxx->DataGet ...
|
90
|
SEND: 03 03 00 24 00 1E 84 2B
|
91
|
RECV:
|
92
|
testSM-0001 17:53:41 RS485-1:9600,n,8,1
|
93
|
SEND: 03 03 00 24 00 1E 84 2B
|
94
|
RECV:
|
95
|
testSM-0002 17:53:43 RS485-1:9600,n,8,1
|
96
|
SEND: 03 03 00 24 00 1E 84 2B
|
97
|
RECV:
|
98
|
testSM-0003 17:53:45 RS485-1:9600,n,8,1
|
99
|
SEND: 03 03 00 24 00 1E 84 2B
|
100
|
RECV:
|
101
|
testSM-0004 17:53:46 RS485-1:9600,n,8,1
|
102
|
SEND: 03 03 00 24 00 1E 84 2B
|
103
|
RECV:
|
104
|
testSM-0005 17:53:48 RS485-1:9600,n,8,1
|
105
|
SEND: 03 03 00 24 00 1E 84 2B
|
106
|
RECV:
|
107
|
testSM-0006 17:53:49 RS485-1:9600,n,8,1
|
108
|
SEND: 03 03 00 24 00 1E 84 2B
|
109
|
RECV:
|
110
|
testSM-0007 17:53:51 RS485-1:9600,n,8,1
|
111
|
SEND: 03 03 00 24 00 1E 84 2B
|
112
|
RECV:
|
113
|
testSM-0008 17:53:53 RS485-1:9600,n,8,1
|
114
|
SEND: 03 03 00 24 00 1E 84 2B
|
115
|
RECV:
|
116
|
testSM-0009 17:53:54 RS485-1:9600,n,8,1
|
117
|
SEND: 03 03 00 24 00 1E 84 2B
|
118
|
RECV:
|
119
|
testSM-0010 17:53:56 RS485-1:9600,n,8,1
|
120
|
SEND: 03 03 00 24 00 1E 84 2B
|
121
|
RECV:
|
122
|
testSM-0011 17:53:57 RS485-1:9600,n,8,1
|
123
|
SEND: 03 03 00 24 00 1E 84 2B
|
124
|
RECV:
|
125
|
testSM-0012 17:53:59 RS485-1:9600,n,8,1
|
126
|
SEND: 03 03 00 24 00 1E 84 2B
|
127
|
RECV:
|
128
|
testSM-0013 17:54:01 RS485-1:9600,n,8,1
|
129
|
SEND: 03 03 00 24 00 1E 84 2B
|
130
|
RECV:
|
131
|
^C
|
132
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4923 3 0 0 0 RS485-2:9600,n,8,1
|
133
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
134
|
MemFree: 205396 kB
|
135
|
MemAvailable: 216552 kB
|
136
|
Buffers: 0 kB
|
137
|
!!!MemVsz 0: 4876 KB
|
138
|
SIGRTMAX-1= 63
|
139
|
SerManager new: 960710
|
140
|
!!!MemVsz change: 128 KB
|
141
|
!!!MemVsz change: 5148 KB
|
142
|
!!!MemVsz change: 1248 KB
|
143
|
|
144
|
SMxxx: Type=4923 Addr=3 Port=0 Tag1=0 Ext1=0
|
145
|
|
146
|
SerDef=RS485-2:9600,n,8,1 Type=4923
|
147
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
148
|
testSM SM=9635b8
|
149
|
CSerCom InitCom: 9641e0 1
|
150
|
CSerCom UpdParams: ComPort: RS485-2, 0, 0
|
151
|
CSerCom::Open: /dev/RS485-2,9600,8,N,0
|
152
|
set serial done+!
|
153
|
RS485-2:9600,n,8,1[110002] open ok!
|
154
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
155
|
MemFree: 205036 kB
|
156
|
MemAvailable: 216192 kB
|
157
|
Buffers: 0 kB
|
158
|
start SMxxx->DataGet ...
|
159
|
SEND: 03 03 00 24 00 1E 84 2B
|
160
|
RECV:
|
161
|
testSM-0001 17:54:43 RS485-2:9600,n,8,1
|
162
|
SEND: 03 03 00 24 00 1E 84 2B
|
163
|
RECV:
|
164
|
testSM-0002 17:54:45 RS485-2:9600,n,8,1
|
165
|
SEND: 03 03 00 24 00 1E 84 2B
|
166
|
RECV:
|
167
|
testSM-0003 17:54:47 RS485-2:9600,n,8,1
|
168
|
SEND: 03 03 00 24 00 1E 84 2B
|
169
|
RECV:
|
170
|
^C
|
171
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4923 2 0 0 0 RS485-2:9600,n,8,1
|
172
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
173
|
MemFree: 205440 kB
|
174
|
MemAvailable: 216596 kB
|
175
|
Buffers: 0 kB
|
176
|
!!!MemVsz 0: 4876 KB
|
177
|
SIGRTMAX-1= 63
|
178
|
SerManager new: 1b8710
|
179
|
!!!MemVsz change: 128 KB
|
180
|
!!!MemVsz change: 5148 KB
|
181
|
!!!MemVsz change: 1248 KB
|
182
|
|
183
|
SMxxx: Type=4923 Addr=2 Port=0 Tag1=0 Ext1=0
|
184
|
|
185
|
SerDef=RS485-2:9600,n,8,1 Type=4923
|
186
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
187
|
testSM SM=1bb5b8
|
188
|
CSerCom InitCom: 1bc1e0 1
|
189
|
CSerCom UpdParams: ComPort: RS485-2, 0, 0
|
190
|
CSerCom::Open: /dev/RS485-2,9600,8,N,0
|
191
|
set serial done+!
|
192
|
RS485-2:9600,n,8,1[110002] open ok!
|
193
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
194
|
MemFree: 205056 kB
|
195
|
MemAvailable: 216212 kB
|
196
|
Buffers: 0 kB
|
197
|
start SMxxx->DataGet ...
|
198
|
SEND: 02 03 00 24 00 1E 85 FA
|
199
|
RECV:
|
200
|
testSM-0001 17:54:55 RS485-2:9600,n,8,1
|
201
|
SEND: 02 03 00 24 00 1E 85 FA
|
202
|
RECV:
|
203
|
^C
|
204
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4923 1 0 0 0 RS485-2:9600,n,8,1
|
205
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
206
|
MemFree: 205356 kB
|
207
|
MemAvailable: 216512 kB
|
208
|
Buffers: 0 kB
|
209
|
!!!MemVsz 0: 4876 KB
|
210
|
SIGRTMAX-1= 63
|
211
|
SerManager new: 1903710
|
212
|
!!!MemVsz change: 128 KB
|
213
|
!!!MemVsz change: 5148 KB
|
214
|
!!!MemVsz change: 1248 KB
|
215
|
|
216
|
SMxxx: Type=4923 Addr=1 Port=0 Tag1=0 Ext1=0
|
217
|
|
218
|
SerDef=RS485-2:9600,n,8,1 Type=4923
|
219
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
220
|
testSM SM=19065b8
|
221
|
CSerCom InitCom: 19071e0 1
|
222
|
CSerCom UpdParams: ComPort: RS485-2, 0, 0
|
223
|
CSerCom::Open: /dev/RS485-2,9600,8,N,0
|
224
|
set serial done+!
|
225
|
RS485-2:9600,n,8,1[110002] open ok!
|
226
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
227
|
MemFree: 205032 kB
|
228
|
MemAvailable: 216188 kB
|
229
|
Buffers: 0 kB
|
230
|
start SMxxx->DataGet ...
|
231
|
SEND: 01 03 00 24 00 1E 85 C9
|
232
|
RECV:
|
233
|
testSM-0001 17:55:04 RS485-2:9600,n,8,1
|
234
|
SEND: 01 03 00 24 00 1E 85 C9
|
235
|
RECV:
|
236
|
^C
|
237
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4923 2 0 0 0 RS485-2:9600,n,8,1
|
238
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
239
|
MemFree: 205348 kB
|
240
|
MemAvailable: 216504 kB
|
241
|
Buffers: 0 kB
|
242
|
!!!MemVsz 0: 4876 KB
|
243
|
SIGRTMAX-1= 63
|
244
|
SerManager new: 512710
|
245
|
!!!MemVsz change: 128 KB
|
246
|
!!!MemVsz change: 5148 KB
|
247
|
!!!MemVsz change: 1248 KB
|
248
|
|
249
|
SMxxx: Type=4923 Addr=2 Port=0 Tag1=0 Ext1=0
|
250
|
|
251
|
SerDef=RS485-2:9600,n,8,1 Type=4923
|
252
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
253
|
testSM SM=5155b8
|
254
|
CSerCom InitCom: 5161e0 1
|
255
|
CSerCom UpdParams: ComPort: RS485-2, 0, 0
|
256
|
CSerCom::Open: /dev/RS485-2,9600,8,N,0
|
257
|
set serial done+!
|
258
|
RS485-2:9600,n,8,1[110002] open ok!
|
259
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
260
|
MemFree: 204980 kB
|
261
|
MemAvailable: 216136 kB
|
262
|
Buffers: 0 kB
|
263
|
start SMxxx->DataGet ...
|
264
|
SEND: 02 03 00 24 00 1E 85 FA
|
265
|
RECV:
|
266
|
testSM-0001 18:01:34 RS485-2:9600,n,8,1
|
267
|
SEND: 02 03 00 24 00 1E 85 FA
|
268
|
RECV:
|
269
|
testSM-0002 18:01:36 RS485-2:9600,n,8,1
|
270
|
SEND: 02 03 00 24 00 1E 85 FA
|
271
|
RECV:
|
272
|
testSM-0003 18:01:37 RS485-2:9600,n,8,1
|
273
|
SEND: 02 03 00 24 00 1E 85 FA
|
274
|
RECV:
|
275
|
testSM-0004 18:01:39 RS485-2:9600,n,8,1
|
276
|
SEND: 02 03 00 24 00 1E 85 FA
|
277
|
RECV:
|
278
|
testSM-0005 18:01:40 RS485-2:9600,n,8,1
|
279
|
SEND: 02 03 00 24 00 1E 85 FA
|
280
|
RECV:
|
281
|
testSM-0006 18:01:42 RS485-2:9600,n,8,1
|
282
|
SEND: 02 03 00 24 00 1E 85 FA
|
283
|
RECV:
|
284
|
^C
|
285
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4923 3 0 0 0 RS485-2:9600,n,8,1
|
286
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
287
|
MemFree: 205368 kB
|
288
|
MemAvailable: 216524 kB
|
289
|
Buffers: 0 kB
|
290
|
!!!MemVsz 0: 4876 KB
|
291
|
SIGRTMAX-1= 63
|
292
|
SerManager new: 16ee710
|
293
|
!!!MemVsz change: 128 KB
|
294
|
!!!MemVsz change: 5148 KB
|
295
|
!!!MemVsz change: 1248 KB
|
296
|
|
297
|
SMxxx: Type=4923 Addr=3 Port=0 Tag1=0 Ext1=0
|
298
|
|
299
|
SerDef=RS485-2:9600,n,8,1 Type=4923
|
300
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
301
|
testSM SM=16f15b8
|
302
|
CSerCom InitCom: 16f21e0 1
|
303
|
CSerCom UpdParams: ComPort: RS485-2, 0, 0
|
304
|
CSerCom::Open: /dev/RS485-2,9600,8,N,0
|
305
|
set serial done+!
|
306
|
RS485-2:9600,n,8,1[110002] open ok!
|
307
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
308
|
MemFree: 205000 kB
|
309
|
MemAvailable: 216156 kB
|
310
|
Buffers: 0 kB
|
311
|
start SMxxx->DataGet ...
|
312
|
SEND: 03 03 00 24 00 1E 84 2B
|
313
|
RECV:
|
314
|
testSM-0001 18:01:51 RS485-2:9600,n,8,1
|
315
|
SEND: 03 03 00 24 00 1E 84 2B
|
316
|
RECV:
|
317
|
testSM-0002 18:01:53 RS485-2:9600,n,8,1
|
318
|
SEND: 03 03 00 24 00 1E 84 2B
|
319
|
RECV:
|
320
|
testSM-0003 18:01:54 RS485-2:9600,n,8,1
|
321
|
SEND: 03 03 00 24 00 1E 84 2B
|
322
|
RECV:
|
323
|
testSM-0004 18:01:56 RS485-2:9600,n,8,1
|
324
|
SEND: 03 03 00 24 00 1E 84 2B
|
325
|
RECV:
|
326
|
testSM-0005 18:01:57 RS485-2:9600,n,8,1
|
327
|
SEND: 03 03 00 24 00 1E 84 2B
|
328
|
RECV:
|
329
|
testSM-0006 18:01:59 RS485-2:9600,n,8,1
|
330
|
SEND: 03 03 00 24 00 1E 84 2B
|
331
|
RECV:
|
332
|
testSM-0007 18:02:01 RS485-2:9600,n,8,1
|
333
|
SEND: 03 03 00 24 00 1E 84 2B
|
334
|
RECV:
|
335
|
testSM-0008 18:02:02 RS485-2:9600,n,8,1
|
336
|
SEND: 03 03 00 24 00 1E 84 2B
|
337
|
RECV:
|
338
|
testSM-0009 18:02:04 RS485-2:9600,n,8,1
|
339
|
SEND: 03 03 00 24 00 1E 84 2B
|
340
|
RECV:
|
341
|
testSM-0010 18:02:05 RS485-2:9600,n,8,1
|
342
|
SEND: 03 03 00 24 00 1E 84 2B
|
343
|
RECV:
|
344
|
testSM-0011 18:02:07 RS485-2:9600,n,8,1
|
345
|
SEND: 03 03 00 24 00 1E 84 2B
|
346
|
RECV:
|
347
|
testSM-0012 18:02:09 RS485-2:9600,n,8,1
|
348
|
SEND: 03 03 00 24 00 1E 84 2B
|
349
|
RECV:
|
350
|
testSM-0013 18:02:10 RS485-2:9600,n,8,1
|
351
|
SEND: 03 03 00 24 00 1E 84 2B
|
352
|
RECV:
|
353
|
testSM-0014 18:02:12 RS485-2:9600,n,8,1
|
354
|
SEND: 03 03 00 24 00 1E 84 2B
|
355
|
RECV:
|
356
|
testSM-0015 18:02:13 RS485-2:9600,n,8,1
|
357
|
SEND: 03 03 00 24 00 1E 84 2B
|
358
|
RECV:
|
359
|
testSM-0016 18:02:15 RS485-2:9600,n,8,1
|
360
|
SEND: 03 03 00 24 00 1E 84 2B
|
361
|
RECV:
|
362
|
testSM-0017 18:02:17 RS485-2:9600,n,8,1
|
363
|
SEND: 03 03 00 24 00 1E 84 2B
|
364
|
RECV:
|
365
|
testSM-0018 18:02:18 RS485-2:9600,n,8,1
|
366
|
SEND: 03 03 00 24 00 1E 84 2B
|
367
|
RECV:
|
368
|
testSM-0019 18:02:20 RS485-2:9600,n,8,1
|
369
|
SEND: 03 03 00 24 00 1E 84 2B
|
370
|
RECV:
|
371
|
testSM-0020 18:02:21 RS485-2:9600,n,8,1
|
372
|
SEND: 03 03 00 24 00 1E 84 2B
|
373
|
RECV:
|
374
|
testSM-0021 18:02:23 RS485-2:9600,n,8,1
|
375
|
SEND: 03 03 00 24 00 1E 84 2B
|
376
|
RECV:
|
377
|
testSM-0022 18:02:25 RS485-2:9600,n,8,1
|
378
|
SEND: 03 03 00 24 00 1E 84 2B
|
379
|
RECV:
|
380
|
testSM-0023 18:02:26 RS485-2:9600,n,8,1
|
381
|
SEND: 03 03 00 24 00 1E 84 2B
|
382
|
RECV:
|
383
|
testSM-0024 18:02:28 RS485-2:9600,n,8,1
|
384
|
SEND: 03 03 00 24 00 1E 84 2B
|
385
|
RECV:
|
386
|
testSM-0025 18:02:29 RS485-2:9600,n,8,1
|
387
|
SEND: 03 03 00 24 00 1E 84 2B
|
388
|
RECV:
|
389
|
testSM-0026 18:02:31 RS485-2:9600,n,8,1
|
390
|
SEND: 03 03 00 24 00 1E 84 2B
|
391
|
RECV:
|
392
|
testSM-0027 18:02:33 RS485-2:9600,n,8,1
|
393
|
SEND: 03 03 00 24 00 1E 84 2B
|
394
|
RECV:
|
395
|
testSM-0028 18:02:34 RS485-2:9600,n,8,1
|
396
|
SEND: 03 03 00 24 00 1E 84 2B
|
397
|
RECV:
|
398
|
testSM-0029 18:02:36 RS485-2:9600,n,8,1
|
399
|
SEND: 03 03 00 24 00 1E 84 2B
|
400
|
RECV:
|
401
|
testSM-0030 18:02:37 RS485-2:9600,n,8,1
|
402
|
SEND: 03 03 00 24 00 1E 84 2B
|
403
|
RECV:
|
404
|
testSM-0031 18:02:39 RS485-2:9600,n,8,1
|
405
|
SEND: 03 03 00 24 00 1E 84 2B
|
406
|
RECV:
|
407
|
testSM-0032 18:02:41 RS485-2:9600,n,8,1
|
408
|
SEND: 03 03 00 24 00 1E 84 2B
|
409
|
RECV:
|
410
|
testSM-0033 18:02:42 RS485-2:9600,n,8,1
|
411
|
SEND: 03 03 00 24 00 1E 84 2B
|
412
|
RECV:
|
413
|
testSM-0034 18:02:44 RS485-2:9600,n,8,1
|
414
|
SEND: 03 03 00 24 00 1E 84 2B
|
415
|
RECV:
|
416
|
testSM-0035 18:02:45 RS485-2:9600,n,8,1
|
417
|
SEND: 03 03 00 24 00 1E 84 2B
|
418
|
RECV:
|
419
|
testSM-0036 18:02:47 RS485-2:9600,n,8,1
|
420
|
SEND: 03 03 00 24 00 1E 84 2B
|
421
|
RECV:
|
422
|
testSM-0037 18:02:49 RS485-2:9600,n,8,1
|
423
|
SEND: 03 03 00 24 00 1E 84 2B
|
424
|
RECV:
|
425
|
testSM-0038 18:02:50 RS485-2:9600,n,8,1
|
426
|
SEND: 03 03 00 24 00 1E 84 2B
|
427
|
RECV:
|
428
|
testSM-0039 18:02:52 RS485-2:9600,n,8,1
|
429
|
SEND: 03 03 00 24 00 1E 84 2B
|
430
|
RECV:
|
431
|
testSM-0040 18:02:53 RS485-2:9600,n,8,1
|
432
|
SEND: 03 03 00 24 00 1E 84 2B
|
433
|
RECV:
|
434
|
testSM-0041 18:02:55 RS485-2:9600,n,8,1
|
435
|
SEND: 03 03 00 24 00 1E 84 2B
|
436
|
RECV:
|
437
|
^C
|
438
|
[root@OM-A6-T300A:NandFlash]# ./omDemo1 4923 3 0 0 0 RS485-1:9600,n,8,1
|
439
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
440
|
MemFree: 205244 kB
|
441
|
MemAvailable: 216400 kB
|
442
|
Buffers: 0 kB
|
443
|
!!!MemVsz 0: 4876 KB
|
444
|
SIGRTMAX-1= 63
|
445
|
SerManager new: 190d710
|
446
|
!!!MemVsz change: 128 KB
|
447
|
!!!MemVsz change: 5148 KB
|
448
|
!!!MemVsz change: 1248 KB
|
449
|
|
450
|
SMxxx: Type=4923 Addr=3 Port=0 Tag1=0 Ext1=0
|
451
|
|
452
|
SerDef=RS485-1:9600,n,8,1 Type=4923
|
453
|
CSMModbus::UpdLoad d=1 50ms tout=300 DataByte=0
|
454
|
testSM SM=19105b8
|
455
|
CSerCom InitCom: 19111e0 1
|
456
|
CSerCom UpdParams: ComPort: RS485-1, 0, 0
|
457
|
CSerCom::Open: /dev/RS485-1,9600,8,N,0
|
458
|
set serial done+!
|
459
|
RS485-1:9600,n,8,1[110001] open ok!
|
460
|
VIDIOC_QUERYCAPno captureno streamingMemTotal: 248284 kB
|
461
|
MemFree: 205064 kB
|
462
|
MemAvailable: 216220 kB
|
463
|
Buffers: 0 kB
|
464
|
start SMxxx->DataGet ...
|
465
|
SEND: 03 03 00 24 00 1E 84 2B
|
466
|
RECV: 03 03 3C 02 00 09 0E 09 12 09 13 0F B2 0F B9 0F B3 00 AE 00 BB 00 FA 01 8C 01 90 02 3E 05 5A 00 00 00 00 00 00 00 00 03 DB 03 9B 03 DC 03 C6 01 92 01 B1 02 45 05 88 13 8A 00 00 41 89 00 00 82 97
|
467
|
t=4923 iaddr=3 iext=0
|
468
|
40037=512
|
469
|
40038=2318
|
470
|
40039=2322
|
471
|
40040=2323
|
472
|
40041=4018
|
473
|
40042=4025
|
474
|
40043=4019
|
475
|
40044=174
|
476
|
40045=187
|
477
|
40046=250
|
478
|
40047=396
|
479
|
40048=400
|
480
|
40049=574
|
481
|
40050=1370
|
482
|
40051=0
|
483
|
40052=0
|
484
|
40053=0
|
485
|
40054=0
|
486
|
40055=987
|
487
|
40056=923
|
488
|
40057=988
|
489
|
40058=966
|
490
|
40059=402
|
491
|
40060=433
|
492
|
40061=581
|
493
|
40062=1416
|
494
|
40063=5002
|
495
|
40064=0
|
496
|
40065=16777
|
497
|
40066=0
|
498
|
brief=A▒▒▒ѹ: 231.8V , A▒▒▒▒▒: 0.174 A
|
499
|
testSM-0001 18:03:27 RS485-1:9600,n,8,1
|
500
|
SEND: 03 03 00 24 00 1E 84 2B
|
501
|
RECV: 03 03 3C 02 00 09 0E 09 12 09 13 0F B1 0F B9 0F B3 00 AE 00 BB 00 FA 01 8D 01 91 02 3D 05 5A 00 00 00 00 00 00 00 00 03 D9 03 9B 03 DB 03 C7 01 93 01 B2 02 45 05 8A 13 89 00 00 41 89 00 00 15 43
|
502
|
t=4923 iaddr=3 iext=0
|
503
|
40037=512
|
504
|
40038=2318
|
505
|
40039=2322
|
506
|
40040=2323
|
507
|
40041=4017
|
508
|
40042=4025
|
509
|
40043=4019
|
510
|
40044=174
|
511
|
40045=187
|
512
|
40046=250
|
513
|
40047=397
|
514
|
40048=401
|
515
|
40049=573
|
516
|
40050=1370
|
517
|
40051=0
|
518
|
40052=0
|
519
|
40053=0
|
520
|
40054=0
|
521
|
40055=985
|
522
|
40056=923
|
523
|
40057=987
|
524
|
40058=967
|
525
|
40059=403
|
526
|
40060=434
|
527
|
40061=581
|
528
|
40062=1418
|
529
|
40063=5001
|
530
|
40064=0
|
531
|
40065=16777
|
532
|
40066=0
|
533
|
brief=A▒▒▒ѹ: 231.8V , A▒▒▒▒▒: 0.174 A
|
534
|
testSM-0002 18:03:28 RS485-1:9600,n,8,1
|
535
|
SEND: 03 03 00 24 00 1E 84 2B
|
536
|
RECV: 03 03 3C 02 00 09 10 09 13 09 15 0F B4 0F BB 0F B6 00 AE 00 BB 00 FA 01 8D 01 90 02 3E 05 5A 00 00 00 00 00 00 00 00 03 D9 03 9B 03 DB 03 C6 01 93 01 B1 02 45 05 8A 13 89 00 00 41 89 00 00 7A 3B
|
537
|
t=4923 iaddr=3 iext=0
|
538
|
40037=512
|
539
|
40038=2320
|
540
|
40039=2323
|
541
|
40040=2325
|
542
|
40041=4020
|
543
|
40042=4027
|
544
|
40043=4022
|
545
|
40044=174
|
546
|
40045=187
|
547
|
40046=250
|
548
|
40047=397
|
549
|
40048=400
|
550
|
40049=574
|
551
|
40050=1370
|
552
|
40051=0
|
553
|
40052=0
|
554
|
40053=0
|
555
|
40054=0
|
556
|
40055=985
|
557
|
40056=923
|
558
|
40057=987
|
559
|
40058=966
|
560
|
40059=403
|
561
|
40060=433
|
562
|
40061=581
|
563
|
40062=1418
|
564
|
40063=5001
|
565
|
40064=0
|
566
|
40065=16777
|
567
|
40066=0
|
568
|
brief=A▒▒▒ѹ: 232.0V , A▒▒▒▒▒: 0.174 A
|
569
|
testSM-0003 18:03:29 RS485-1:9600,n,8,1
|
570
|
SEND: 03 03 00 24 00 1E 84 2B
|
571
|
RECV: 03 03 3C 02 00 09 10 09 13 09 15 0F B4 0F BB 0F B6 00 AE 00 BB 00 FA 01 8D 01 90 02 3E 05 5A 00 00 00 00 00 00 00 00 03 D9 03 9B 03 DB 03 C6 01 93 01 B1 02 45 05 8A 13 89 00 00 41 89 00 00 7A 3B
|
572
|
t=4923 iaddr=3 iext=0
|
573
|
40037=512
|
574
|
40038=2320
|
575
|
40039=2323
|
576
|
40040=2325
|
577
|
40041=4020
|
578
|
40042=4027
|
579
|
40043=4022
|
580
|
40044=174
|
581
|
40045=187
|
582
|
40046=250
|
583
|
40047=397
|
584
|
40048=400
|
585
|
40049=574
|
586
|
40050=1370
|
587
|
40051=0
|
588
|
40052=0
|
589
|
40053=0
|
590
|
40054=0
|
591
|
40055=985
|
592
|
40056=923
|
593
|
40057=987
|
594
|
40058=966
|
595
|
40059=403
|
596
|
40060=433
|
597
|
40061=581
|
598
|
40062=1418
|
599
|
40063=5001
|
600
|
40064=0
|
601
|
40065=16777
|
602
|
40066=0
|
603
|
brief=A▒▒▒ѹ: 232.0V , A▒▒▒▒▒: 0.174 A
|
604
|
testSM-0004 18:03:31 RS485-1:9600,n,8,1
|
605
|
SEND: 03 03 00 24 00 1E 84 2B
|
606
|
RECV: 03 03 3C 02 00 09 10 09 13 09 16 0F B4 0F BD 0F B7 00 AE 00 BB 00 FA 01 8E 01 91 02 3F 05 5C 00 00 00 00 00 00 00 00 03 D9 03 9B 03 DC 03 C7 01 94 01 B2 02 46 05 8C 13 89 00 00 41 89 00 00 93 F3
|
607
|
t=4923 iaddr=3 iext=0
|
608
|
40037=512
|
609
|
40038=2320
|
610
|
40039=2323
|
611
|
40040=2326
|
612
|
40041=4020
|
613
|
40042=4029
|
614
|
40043=4023
|
615
|
40044=174
|
616
|
40045=187
|
617
|
40046=250
|
618
|
40047=398
|
619
|
40048=401
|
620
|
40049=575
|
621
|
40050=1372
|
622
|
40051=0
|
623
|
40052=0
|
624
|
40053=0
|
625
|
40054=0
|
626
|
40055=985
|
627
|
40056=923
|
628
|
40057=988
|
629
|
40058=967
|
630
|
40059=404
|
631
|
40060=434
|
632
|
40061=582
|
633
|
40062=1420
|
634
|
40063=5001
|
635
|
40064=0
|
636
|
40065=16777
|
637
|
40066=0
|
638
|
brief=A▒▒▒ѹ: 232.0V , A▒▒▒▒▒: 0.174 A
|
639
|
testSM-0005 18:03:32 RS485-1:9600,n,8,1
|
640
|
SEND: 03 03 00 24 00 1E 84 2B
|
641
|
RECV: 03 03 3C 02 00 09 10 09 12 09 15 0F B3 0F BB 0F B6 00 AE 00 BB 00 FB 01 8E 01 91 02 3F 05 5C 00 00 00 00 00 00 00 00 03 D9 03 9B 03 DC 03 C7 01 94 01 B2 02 46 05 8C 13 89 00 00 41 89 00 00 06 78
|
642
|
t=4923 iaddr=3 iext=0
|
643
|
40037=512
|
644
|
40038=2320
|
645
|
40039=2322
|
646
|
40040=2325
|
647
|
40041=4019
|
648
|
40042=4027
|
649
|
40043=4022
|
650
|
40044=174
|
651
|
40045=187
|
652
|
40046=251
|
653
|
40047=398
|
654
|
40048=401
|
655
|
40049=575
|
656
|
40050=1372
|
657
|
40051=0
|
658
|
40052=0
|
659
|
40053=0
|
660
|
40054=0
|
661
|
40055=985
|
662
|
40056=923
|
663
|
40057=988
|
664
|
40058=967
|
665
|
40059=404
|
666
|
40060=434
|
667
|
40061=582
|
668
|
40062=1420
|
669
|
40063=5001
|
670
|
40064=0
|
671
|
40065=16777
|
672
|
40066=0
|
673
|
brief=A▒▒▒ѹ: 232.0V , A▒▒▒▒▒: 0.174 A
|
674
|
testSM-0006 18:03:34 RS485-1:9600,n,8,1
|
675
|
SEND: 03 03 00 24 00 1E 84 2B
|
676
|
^C
|
677
|
[root@OM-A6-T300A:NandFlash]#
|
678
|
|
679
|
send: 02 03 00 22 00 02 64 32
|
680
|
rece: 02 03 04 00 00 03 00 C9 C3
|
681
|
|
682
|
send: 02 03 00 22 00 04 E4 30
|
683
|
rece: 02 03 08 00 00 03 00 02 C0 09 04 9C B7
|
684
|
|
685
|
send: 02 03 00 55 00 0C 55 EC
|
686
|
rece: 02 03 18 43 C7 7A E1 43 C7 D9 9A 43 C7 AF 5C 40 17 0A 3D 00 00 00 00 40 8B 85 1F F5 22
|
687
|
|
688
|
|