1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|
2 |
|
3 <!--Converted with LaTeX2HTML 2002-2-1 (1.71) |
|
4 original version by: Nikos Drakos, CBLU, University of Leeds |
|
5 * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan |
|
6 * with significant contributions from: |
|
7 Jens Lippmann, Marek Rouchal, Martin Wilck and others --> |
|
8 <HTML> |
|
9 <HEAD> |
|
10 <TITLE>TestMasterMicroMod </TITLE> |
|
11 <META NAME="description" CONTENT="TestMasterMicroMod "> |
|
12 <META NAME="keywords" CONTENT="manual"> |
|
13 <META NAME="resource-type" CONTENT="document"> |
|
14 <META NAME="distribution" CONTENT="global"> |
|
15 |
|
16 <META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1"> |
|
17 <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> |
|
18 |
|
19 <LINK REL="STYLESHEET" HREF="manual.css"> |
|
20 |
|
21 <LINK REL="previous" HREF="node54.html"> |
|
22 <LINK REL="up" HREF="node52.html"> |
|
23 <LINK REL="next" HREF="node56.html"> |
|
24 </HEAD> |
|
25 |
|
26 <BODY > |
|
27 |
|
28 <DIV CLASS="navigation"><!--Navigation Panel--> |
|
29 <A NAME="tex2html852" |
|
30 HREF="node56.html"> |
|
31 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" |
|
32 SRC="/usr/share/latex2html/icons/next.png"></A> |
|
33 <A NAME="tex2html848" |
|
34 HREF="node52.html"> |
|
35 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" |
|
36 SRC="/usr/share/latex2html/icons/up.png"></A> |
|
37 <A NAME="tex2html844" |
|
38 HREF="node54.html"> |
|
39 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" |
|
40 SRC="/usr/share/latex2html/icons/prev.png"></A> |
|
41 <A NAME="tex2html850" |
|
42 HREF="node1.html"> |
|
43 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" |
|
44 SRC="/usr/share/latex2html/icons/contents.png"></A> |
|
45 <BR> |
|
46 <B> Next:</B> <A NAME="tex2html853" |
|
47 HREF="node56.html">Developing a new node</A> |
|
48 <B> Up:</B> <A NAME="tex2html849" |
|
49 HREF="node52.html">Example and test program:</A> |
|
50 <B> Previous:</B> <A NAME="tex2html845" |
|
51 HREF="node54.html">gene_SYNC_HCS12 :</A> |
|
52 <B> <A NAME="tex2html851" |
|
53 HREF="node1.html">Contents</A></B> |
|
54 <BR> |
|
55 <BR></DIV> |
|
56 <!--End of Navigation Panel--> |
|
57 |
|
58 <H2><A NAME="SECTION00093000000000000000"> |
|
59 TestMasterMicroMod </A> |
|
60 </H2> |
|
61 <TT>**************************************************************</TT> |
|
62 |
|
63 <P> |
|
64 <TT>* |
|
65 |
|
66 <BR> |
|
67 <BR> |
|
68 <BR> |
|
69 <BR> |
|
70 <BR> |
|
71 <BR> |
|
72 <BR> |
|
73 <BR> |
|
74 <BR> |
|
75 <BR> |
|
76 <BR> |
|
77 <BR> |
|
78 <BR> |
|
79 <BR> |
|
80 <BR> |
|
81 <BR> |
|
82 <BR> |
|
83 <BR> |
|
84 <BR>&sstarf#star;</TT> |
|
85 |
|
86 <P> |
|
87 <TT>* |
|
88 |
|
89 <BR> |
|
90 <BR> |
|
91 <BR> |
|
92 <BR> |
|
93 <BR> |
|
94 <BR> |
|
95 <BR> |
|
96 <BR> |
|
97 <BR> |
|
98 <BR> |
|
99 <BR> |
|
100 <BR> |
|
101 <BR> |
|
102 <BR> |
|
103 <BR> |
|
104 <BR> |
|
105 <BR> |
|
106 <BR> |
|
107 <BR> |
|
108 <BR> |
|
109 <BR> |
|
110 <BR> |
|
111 <BR> |
|
112 <BR> |
|
113 <BR> |
|
114 <BR> |
|
115 <BR> |
|
116 <BR> |
|
117 <BR>&sstarf#star;</TT> |
|
118 |
|
119 <P> |
|
120 <TT>* simple example for PC. |
|
121 |
|
122 <BR> |
|
123 <BR> |
|
124 <BR> |
|
125 <BR> |
|
126 <BR> |
|
127 <BR> |
|
128 <BR> |
|
129 <BR> |
|
130 <BR> |
|
131 <BR> |
|
132 <BR> |
|
133 <BR> |
|
134 <BR> |
|
135 <BR> |
|
136 <BR> |
|
137 <BR>&sstarf#star;</TT> |
|
138 |
|
139 <P> |
|
140 <TT>* CanOpen master that control a MicroMod module: |
|
141 |
|
142 <BR> |
|
143 <BR> |
|
144 <BR> |
|
145 <BR>&sstarf#star;</TT> |
|
146 |
|
147 <P> |
|
148 <TT>* #417#>- setup module TPDO 1 transmit type |
|
149 |
|
150 <BR> |
|
151 <BR> |
|
152 <BR> |
|
153 <BR> |
|
154 <BR> |
|
155 <BR> |
|
156 <BR> |
|
157 <BR> |
|
158 <BR> |
|
159 <BR> |
|
160 <BR>*</TT> |
|
161 |
|
162 <P> |
|
163 <TT>* #418#>- setup module RPDO 1 transmit type |
|
164 |
|
165 <BR> |
|
166 <BR> |
|
167 <BR> |
|
168 <BR> |
|
169 <BR> |
|
170 <BR> |
|
171 <BR> |
|
172 <BR> |
|
173 <BR> |
|
174 <BR> |
|
175 <BR>*</TT> |
|
176 |
|
177 <P> |
|
178 <TT>* #419#>- setup module hearbeatbeat period |
|
179 |
|
180 <BR> |
|
181 <BR> |
|
182 <BR> |
|
183 <BR> |
|
184 <BR> |
|
185 <BR> |
|
186 <BR> |
|
187 <BR> |
|
188 <BR> |
|
189 <BR> |
|
190 <BR>&sstarf#star;</TT> |
|
191 |
|
192 <P> |
|
193 <TT>* #420#>- disable others TPDOs |
|
194 |
|
195 <BR> |
|
196 <BR> |
|
197 <BR> |
|
198 <BR> |
|
199 <BR> |
|
200 <BR> |
|
201 <BR> |
|
202 <BR> |
|
203 <BR> |
|
204 <BR> |
|
205 <BR> |
|
206 <BR> |
|
207 <BR> |
|
208 <BR> |
|
209 <BR> |
|
210 <BR> |
|
211 <BR>&sstarf#star;</TT> |
|
212 |
|
213 <P> |
|
214 <TT>* #421#>- set state to operational |
|
215 |
|
216 <BR> |
|
217 <BR> |
|
218 <BR> |
|
219 <BR> |
|
220 <BR> |
|
221 <BR> |
|
222 <BR> |
|
223 <BR> |
|
224 <BR> |
|
225 <BR> |
|
226 <BR> |
|
227 <BR> |
|
228 <BR> |
|
229 <BR> |
|
230 <BR>&sstarf#star;</TT> |
|
231 |
|
232 <P> |
|
233 <TT>* #422#>- send periodic SYNC |
|
234 |
|
235 <BR> |
|
236 <BR> |
|
237 <BR> |
|
238 <BR> |
|
239 <BR> |
|
240 <BR> |
|
241 <BR> |
|
242 <BR> |
|
243 <BR> |
|
244 <BR> |
|
245 <BR> |
|
246 <BR> |
|
247 <BR> |
|
248 <BR> |
|
249 <BR> |
|
250 <BR> |
|
251 <BR> |
|
252 <BR>&sstarf#star;</TT> |
|
253 |
|
254 <P> |
|
255 <TT>* #423#>- send periodic RPDO 1 to Micromod (digital output) |
|
256 <BR> |
|
257 <BR> |
|
258 <BR>*</TT> |
|
259 |
|
260 <P> |
|
261 <TT>* #424#>- listen Micromods TPDO 1 (digital input) |
|
262 |
|
263 <BR> |
|
264 <BR> |
|
265 <BR> |
|
266 <BR> |
|
267 <BR> |
|
268 <BR> |
|
269 <BR>&sstarf#star;</TT> |
|
270 |
|
271 <P> |
|
272 <TT>* #426#>- Mapping RPDO 1 bit per bit (digital input) |
|
273 |
|
274 <BR> |
|
275 <BR> |
|
276 <BR> |
|
277 <BR> |
|
278 <BR> |
|
279 <BR>&sstarf#star;</TT> |
|
280 |
|
281 <P> |
|
282 <TT>* |
|
283 |
|
284 <BR> |
|
285 <BR> |
|
286 <BR> |
|
287 <BR> |
|
288 <BR> |
|
289 <BR> |
|
290 <BR> |
|
291 <BR> |
|
292 <BR> |
|
293 <BR> |
|
294 <BR> |
|
295 <BR> |
|
296 <BR> |
|
297 <BR> |
|
298 <BR> |
|
299 <BR> |
|
300 <BR> |
|
301 <BR> |
|
302 <BR> |
|
303 <BR> |
|
304 <BR> |
|
305 <BR> |
|
306 <BR> |
|
307 <BR> |
|
308 <BR> |
|
309 <BR> |
|
310 <BR> |
|
311 <BR> |
|
312 <BR>&sstarf#star;</TT> |
|
313 |
|
314 <P> |
|
315 <TT>* |
|
316 <BR> |
|
317 Usage: |
|
318 |
|
319 <BR> |
|
320 <BR> |
|
321 <BR> |
|
322 <BR> |
|
323 <BR> |
|
324 <BR> |
|
325 <BR> |
|
326 <BR> |
|
327 <BR> |
|
328 <BR> |
|
329 <BR> |
|
330 <BR> |
|
331 <BR> |
|
332 <BR> |
|
333 <BR> |
|
334 <BR> |
|
335 <BR> |
|
336 <BR> |
|
337 <BR> |
|
338 <BR> |
|
339 <BR> |
|
340 <BR> |
|
341 <BR> |
|
342 <BR> |
|
343 <BR>*</TT> |
|
344 |
|
345 <P> |
|
346 <TT>* |
|
347 <BR>./TestMasterMicroMod OPTIONS] |
|
348 |
|
349 <BR> |
|
350 <BR> |
|
351 <BR> |
|
352 <BR> |
|
353 <BR> |
|
354 <BR> |
|
355 <BR> |
|
356 <BR> |
|
357 <BR> |
|
358 <BR> |
|
359 <BR> |
|
360 <BR>&sstarf#star;</TT> |
|
361 |
|
362 <P> |
|
363 <TT>* |
|
364 |
|
365 <BR> |
|
366 <BR> |
|
367 <BR> |
|
368 <BR> |
|
369 <BR> |
|
370 <BR> |
|
371 <BR> |
|
372 <BR> |
|
373 <BR> |
|
374 <BR> |
|
375 <BR> |
|
376 <BR> |
|
377 <BR> |
|
378 <BR> |
|
379 <BR> |
|
380 <BR> |
|
381 <BR> |
|
382 <BR> |
|
383 <BR> |
|
384 <BR> |
|
385 <BR> |
|
386 <BR> |
|
387 <BR> |
|
388 <BR> |
|
389 <BR> |
|
390 <BR> |
|
391 <BR> |
|
392 <BR> |
|
393 <BR>&sstarf#star;</TT> |
|
394 |
|
395 <P> |
|
396 <TT>* |
|
397 <BR> |
|
398 OPTIONS: |
|
399 |
|
400 <BR> |
|
401 <BR> |
|
402 <BR> |
|
403 <BR> |
|
404 <BR> |
|
405 <BR> |
|
406 <BR> |
|
407 <BR> |
|
408 <BR> |
|
409 <BR> |
|
410 <BR> |
|
411 <BR> |
|
412 <BR> |
|
413 <BR> |
|
414 <BR> |
|
415 <BR> |
|
416 <BR> |
|
417 <BR> |
|
418 <BR> |
|
419 <BR> |
|
420 <BR> |
|
421 <BR> |
|
422 <BR> |
|
423 <BR>*</TT> |
|
424 |
|
425 <P> |
|
426 <TT>* |
|
427 <BR> |
|
428 <BR>-l : Can library |
|
429 [libcanfestival_can_virtual.so] |
|
430 |
|
431 <BR> |
|
432 <BR>*</TT> |
|
433 |
|
434 <P> |
|
435 <TT>* |
|
436 |
|
437 <BR> |
|
438 <BR> |
|
439 <BR> |
|
440 <BR> |
|
441 <BR> |
|
442 <BR> |
|
443 <BR> |
|
444 <BR> |
|
445 <BR> |
|
446 <BR> |
|
447 <BR> |
|
448 <BR> |
|
449 <BR> |
|
450 <BR> |
|
451 <BR> |
|
452 <BR> |
|
453 <BR> |
|
454 <BR> |
|
455 <BR> |
|
456 <BR> |
|
457 <BR> |
|
458 <BR> |
|
459 <BR> |
|
460 <BR> |
|
461 <BR> |
|
462 <BR> |
|
463 <BR> |
|
464 <BR> |
|
465 <BR>&sstarf#star;</TT> |
|
466 |
|
467 <P> |
|
468 <TT>* |
|
469 <BR>: |
|
470 |
|
471 <BR> |
|
472 <BR> |
|
473 <BR> |
|
474 <BR> |
|
475 <BR> |
|
476 <BR> |
|
477 <BR> |
|
478 <BR> |
|
479 <BR> |
|
480 <BR> |
|
481 <BR> |
|
482 <BR> |
|
483 <BR> |
|
484 <BR> |
|
485 <BR> |
|
486 <BR> |
|
487 <BR> |
|
488 <BR> |
|
489 <BR> |
|
490 <BR> |
|
491 <BR> |
|
492 <BR> |
|
493 <BR> |
|
494 <BR>&sstarf#star;</TT> |
|
495 |
|
496 <P> |
|
497 <TT>* |
|
498 <BR> |
|
499 <BR>-i : Slave Node id format [0x01 , 0x7F] |
|
500 |
|
501 <BR> |
|
502 <BR> |
|
503 <BR> |
|
504 <BR> |
|
505 <BR> |
|
506 <BR> |
|
507 <BR>&sstarf#star;</TT> |
|
508 |
|
509 <P> |
|
510 <TT>* |
|
511 |
|
512 <BR> |
|
513 <BR> |
|
514 <BR> |
|
515 <BR> |
|
516 <BR> |
|
517 <BR> |
|
518 <BR> |
|
519 <BR> |
|
520 <BR> |
|
521 <BR> |
|
522 <BR> |
|
523 <BR> |
|
524 <BR> |
|
525 <BR> |
|
526 <BR> |
|
527 <BR> |
|
528 <BR> |
|
529 <BR> |
|
530 <BR> |
|
531 <BR> |
|
532 <BR> |
|
533 <BR> |
|
534 <BR> |
|
535 <BR> |
|
536 <BR> |
|
537 <BR> |
|
538 <BR> |
|
539 <BR> |
|
540 <BR>&sstarf#star;</TT> |
|
541 |
|
542 <P> |
|
543 <TT>* |
|
544 <BR>: |
|
545 |
|
546 <BR> |
|
547 <BR> |
|
548 <BR> |
|
549 <BR> |
|
550 <BR> |
|
551 <BR> |
|
552 <BR> |
|
553 <BR> |
|
554 <BR> |
|
555 <BR> |
|
556 <BR> |
|
557 <BR> |
|
558 <BR> |
|
559 <BR> |
|
560 <BR> |
|
561 <BR> |
|
562 <BR> |
|
563 <BR> |
|
564 <BR> |
|
565 <BR> |
|
566 <BR> |
|
567 <BR> |
|
568 <BR> |
|
569 <BR>*</TT> |
|
570 |
|
571 <P> |
|
572 <TT>* |
|
573 <BR> |
|
574 <BR>-m : bus name [1] |
|
575 |
|
576 <BR> |
|
577 <BR> |
|
578 <BR> |
|
579 <BR> |
|
580 <BR> |
|
581 <BR> |
|
582 <BR> |
|
583 <BR> |
|
584 <BR> |
|
585 <BR> |
|
586 <BR> |
|
587 <BR> |
|
588 <BR> |
|
589 <BR> |
|
590 <BR> |
|
591 <BR> |
|
592 <BR>&sstarf#star;</TT> |
|
593 |
|
594 <P> |
|
595 <TT>* |
|
596 <BR> |
|
597 <BR>-M : 1M,500K,250K,125K,100K,50K,20K,10K |
|
598 |
|
599 <BR> |
|
600 <BR> |
|
601 <BR> |
|
602 <BR> |
|
603 <BR> |
|
604 <BR> |
|
605 <BR>&sstarf#star;</TT> |
|
606 |
|
607 <P> |
|
608 <TT>* |
|
609 |
|
610 <BR> |
|
611 <BR> |
|
612 <BR> |
|
613 <BR> |
|
614 <BR> |
|
615 <BR> |
|
616 <BR> |
|
617 <BR> |
|
618 <BR> |
|
619 <BR> |
|
620 <BR> |
|
621 <BR> |
|
622 <BR> |
|
623 <BR> |
|
624 <BR> |
|
625 <BR> |
|
626 <BR> |
|
627 <BR> |
|
628 <BR> |
|
629 <BR> |
|
630 <BR> |
|
631 <BR> |
|
632 <BR> |
|
633 <BR> |
|
634 <BR> |
|
635 <BR> |
|
636 <BR> |
|
637 <BR> |
|
638 <BR>&sstarf#star;</TT> |
|
639 |
|
640 <P> |
|
641 <TT>**************************************************************</TT> |
|
642 |
|
643 <P> |
|
644 |
|
645 <DIV CLASS="navigation"><HR> |
|
646 <!--Navigation Panel--> |
|
647 <A NAME="tex2html852" |
|
648 HREF="node56.html"> |
|
649 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" |
|
650 SRC="/usr/share/latex2html/icons/next.png"></A> |
|
651 <A NAME="tex2html848" |
|
652 HREF="node52.html"> |
|
653 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" |
|
654 SRC="/usr/share/latex2html/icons/up.png"></A> |
|
655 <A NAME="tex2html844" |
|
656 HREF="node54.html"> |
|
657 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" |
|
658 SRC="/usr/share/latex2html/icons/prev.png"></A> |
|
659 <A NAME="tex2html850" |
|
660 HREF="node1.html"> |
|
661 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" |
|
662 SRC="/usr/share/latex2html/icons/contents.png"></A> |
|
663 <BR> |
|
664 <B> Next:</B> <A NAME="tex2html853" |
|
665 HREF="node56.html">Developing a new node</A> |
|
666 <B> Up:</B> <A NAME="tex2html849" |
|
667 HREF="node52.html">Example and test program:</A> |
|
668 <B> Previous:</B> <A NAME="tex2html845" |
|
669 HREF="node54.html">gene_SYNC_HCS12 :</A> |
|
670 <B> <A NAME="tex2html851" |
|
671 HREF="node1.html">Contents</A></B> </DIV> |
|
672 <!--End of Navigation Panel--> |
|
673 <ADDRESS> |
|
674 epimerde |
|
675 2007-06-08 |
|
676 </ADDRESS> |
|
677 </BODY> |
|
678 </HTML> |
|