doc/manual/en/html/node56.html
author lbessard
Wed, 25 Jul 2007 18:01:14 +0200
changeset 245 d43ebbed895f
parent 215 f49e5a6b7804
permissions -rw-r--r--
Modifying gen_cfile.py for generating C file from a node as data rather than a manager
210
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     2
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     3
<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     4
original version by:  Nikos Drakos, CBLU, University of Leeds
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     5
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     6
* with significant contributions from:
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     7
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     8
<HTML>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
     9
<HEAD>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    10
<TITLE>Developing a new node</TITLE>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    11
<META NAME="description" CONTENT="Developing a new node">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    12
<META NAME="keywords" CONTENT="manual">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    13
<META NAME="resource-type" CONTENT="document">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    14
<META NAME="distribution" CONTENT="global">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    15
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    16
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    17
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    18
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    19
<LINK REL="STYLESHEET" HREF="manual.css">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    20
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    21
<LINK REL="next" HREF="node71.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    22
<LINK REL="previous" HREF="node52.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    23
<LINK REL="up" HREF="manual.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    24
<LINK REL="next" HREF="node57.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    25
</HEAD>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    26
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    27
<BODY >
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    28
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    29
<DIV CLASS="navigation"><!--Navigation Panel-->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    30
<A NAME="tex2html864"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    31
  HREF="node57.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    33
 SRC="/usr/share/latex2html/icons/next.png"></A> 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    34
<A NAME="tex2html860"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    35
  HREF="manual.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    36
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    37
 SRC="/usr/share/latex2html/icons/up.png"></A> 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    38
<A NAME="tex2html854"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    39
  HREF="node55.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    40
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    41
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    42
<A NAME="tex2html862"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    43
  HREF="node1.html">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    44
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    45
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    46
<BR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    47
<B> Next:</B> <A NAME="tex2html865"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    48
  HREF="node57.html">Using Dictionary Editor GUI</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    49
<B> Up:</B> <A NAME="tex2html861"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    50
  HREF="manual.html">Documentation</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    51
<B> Previous:</B> <A NAME="tex2html855"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    52
  HREF="node55.html">TestMasterMicroMod</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    53
 &nbsp; <B>  <A NAME="tex2html863"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    54
  HREF="node1.html">Contents</A></B> 
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    55
<BR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    56
<BR></DIV>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    57
<!--End of Navigation Panel-->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    58
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    59
<H1><A NAME="SECTION000100000000000000000">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    60
Developing a new node</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    61
</H1>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    62
Using provided examples as a base for your new node is generally a good
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    63
idea. You can also use the provided *.od files as a base for your node
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    64
object dictionary.
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    65
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    66
<P>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    67
Creating a new CanOpen node implies to define the Object Dictionary of
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    68
this node. For that, developer have to provide a C file. This C file
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    69
contains the definition of all dictionary entries, and some kind of
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    70
index table that helps the stack to access some entries directly.
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    71
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    72
<P>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    73
<BR><HR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    74
<!--Table of Child-Links-->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    75
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    76
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    77
<UL CLASS="ChildLinks">
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    78
<LI><A NAME="tex2html866"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    79
  HREF="node57.html">Using Dictionary Editor GUI</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    80
<UL>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    81
<LI><A NAME="tex2html867"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    82
  HREF="node58.html">Installation and usage on Linux</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    83
<LI><A NAME="tex2html868"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    84
  HREF="node59.html">Installation and usage on Windows</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    85
<LI><A NAME="tex2html869"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    86
  HREF="node60.html">About</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    87
<LI><A NAME="tex2html870"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    88
  HREF="node61.html">Main view</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    89
<LI><A NAME="tex2html871"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    90
  HREF="node62.html">New node</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    91
<LI><A NAME="tex2html872"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    92
  HREF="node63.html">Node info</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    93
<LI><A NAME="tex2html873"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    94
  HREF="node64.html">Profile editor</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    95
<LI><A NAME="tex2html874"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    96
  HREF="node65.html">User types</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    97
<LI><A NAME="tex2html875"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    98
  HREF="node66.html">Mapped variable</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
    99
<LI><A NAME="tex2html876"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   100
  HREF="node67.html">Integrated help</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   101
</UL>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   102
<BR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   103
<LI><A NAME="tex2html877"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   104
  HREF="node68.html">Generating the object Dictionary</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   105
<UL>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   106
<LI><A NAME="tex2html878"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   107
  HREF="node69.html">With GUI</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   108
<LI><A NAME="tex2html879"
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   109
  HREF="node70.html">With command line</A>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   110
</UL></UL>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   111
<!--End of Table of Child-Links-->
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   112
<BR><HR>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   113
<ADDRESS>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   114
epimerde
215
f49e5a6b7804 Manual and Documentation finish
nico
parents: 211
diff changeset
   115
2007-06-08
210
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   116
</ADDRESS>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   117
</BODY>
6b5a4c21e061 Manual and Documentation finish
nico
parents:
diff changeset
   118
</HTML>