Modifying gen_cfile.py for generating C file from a node as data rather than a manager
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>TestMasterMicroMod </TITLE>
<META NAME="description" CONTENT="TestMasterMicroMod ">
<META NAME="keywords" CONTENT="manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="manual.css">
<LINK REL="previous" HREF="node54.html">
<LINK REL="up" HREF="node52.html">
<LINK REL="next" HREF="node56.html">
</HEAD>
<BODY >
<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html852"
HREF="node56.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A>
<A NAME="tex2html848"
HREF="node52.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A>
<A NAME="tex2html844"
HREF="node54.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A>
<A NAME="tex2html850"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/share/latex2html/icons/contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html853"
HREF="node56.html">Developing a new node</A>
<B> Up:</B> <A NAME="tex2html849"
HREF="node52.html">Example and test program:</A>
<B> Previous:</B> <A NAME="tex2html845"
HREF="node54.html">gene_SYNC_HCS12 :</A>
<B> <A NAME="tex2html851"
HREF="node1.html">Contents</A></B>
<BR>
<BR></DIV>
<!--End of Navigation Panel-->
<H2><A NAME="SECTION00093000000000000000">
TestMasterMicroMod </A>
</H2>
<TT>**************************************************************</TT>
<P>
<TT>*
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>*
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>* simple example for PC.
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>* CanOpen master that control a MicroMod module:
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>* #417#>- setup module TPDO 1 transmit type
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>*</TT>
<P>
<TT>* #418#>- setup module RPDO 1 transmit type
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>*</TT>
<P>
<TT>* #419#>- setup module hearbeatbeat period
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>* #420#>- disable others TPDOs
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>* #421#>- set state to operational
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>* #422#>- send periodic SYNC
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>* #423#>- send periodic RPDO 1 to Micromod (digital output)
<BR>
<BR>
<BR>*</TT>
<P>
<TT>* #424#>- listen Micromods TPDO 1 (digital input)
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>* #426#>- Mapping RPDO 1 bit per bit (digital input)
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>*
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>*
<BR>
Usage:
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>*</TT>
<P>
<TT>*
<BR>./TestMasterMicroMod OPTIONS]
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>*
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>*
<BR>
OPTIONS:
<BR>
<BR>
<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
<BR>-M : 1M,500K,250K,125K,100K,50K,20K,10K
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>*
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>&sstarf#star;</TT>
<P>
<TT>**************************************************************</TT>
<P>
<DIV CLASS="navigation"><HR>
<!--Navigation Panel-->
<A NAME="tex2html852"
HREF="node56.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A>
<A NAME="tex2html848"
HREF="node52.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A>
<A NAME="tex2html844"
HREF="node54.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A>
<A NAME="tex2html850"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/share/latex2html/icons/contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html853"
HREF="node56.html">Developing a new node</A>
<B> Up:</B> <A NAME="tex2html849"
HREF="node52.html">Example and test program:</A>
<B> Previous:</B> <A NAME="tex2html845"
HREF="node54.html">gene_SYNC_HCS12 :</A>
<B> <A NAME="tex2html851"
HREF="node1.html">Contents</A></B> </DIV>
<!--End of Navigation Panel-->
<ADDRESS>
epimerde
2007-06-08
</ADDRESS>
</BODY>
</HTML>