objdictgen/config/objdict.xsd
author etisserant
Mon, 02 Jul 2007 18:22:58 +0200
changeset 236 905677ed00f3
parent 0 4472ee7c6c3e
permissions -rw-r--r--
Full preliminary implementation of TPDO transmit type:
- SYNC (N) (1-240)
- RTR only + SYNC (252)
- RTR only (253)
- EVENT, with timer and inhibit time (254 and 255)

User app have to call sendPDOevent(d) to eventually signal mapped data changes.
Callbacks added to 0x140N, TPDO comm parameters for on the fly timers values change.
TestMasterSlave updated.
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
<?xml version="1.0" encoding="ISO-8859-1" ?>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     2
<!-- 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     3
This file is part of CanFestival, a library implementing CanOpen Stack. 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     4
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     5
Copyright (C): Francis DUPIN
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     6
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     7
See COPYING file for copyrights details.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     8
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     9
This library is free software; you can redistribute it and/or
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    10
modify it under the terms of the GNU Lesser General Public
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    11
License as published by the Free Software Foundation; either
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    12
version 2.1 of the License, or (at your option) any later version.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    13
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    14
This library is distributed in the hope that it will be useful,
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    15
but WITHOUT ANY WARRANTY; without even the implied warranty of
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    17
Lesser General Public License for more details.
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    18
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    19
You should have received a copy of the GNU Lesser General Public
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    20
License along with this library; if not, write to the Free Software
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    21
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    22
-->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    23
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    24
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    25
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    26
  <!-- Rangement par ordre alphabétique -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    27
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    28
  <!-- Définition des types -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    29
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    30
 <xs:simpleType name="taccess"> <!-- "ro" ou "rw" -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    31
    <xs:restriction base="xs:NMTOKEN">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    32
      <xs:pattern value="(ro|rw)" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    33
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    34
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    35
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    36
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    37
  <xs:simpleType name="tevent_timer">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    38
    <xs:restriction base="xs:unsignedInt"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    39
      <xs:maxInclusive value="65535"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    40
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    41
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    42
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    43
  <xs:simpleType name="thex64"> <!-- Un nombre hexadecimal sur 64 bits -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    44
    <xs:restriction base="xs:NMTOKEN">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    45
      <xs:pattern value="0(x|X)([0-F]|[a-f]){1,16}" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    46
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    47
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    48
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    49
  <xs:simpleType name="thex32"> <!-- Un nombre hexadecimal sur 32 bits -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    50
    <xs:restriction base="xs:NMTOKEN">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    51
      <xs:pattern value="0(x|X)([0-F]|[a-f]){1,8}" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    52
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    53
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    54
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    55
  <xs:simpleType name="thex16"> <!-- Un nombre hexadecimal sur 16 bits -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    56
    <xs:restriction base="xs:NMTOKEN">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    57
      <xs:pattern value="0(x|X)([0-F]|[a-f]){1,4}" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    58
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    59
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    60
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    61
  <xs:simpleType name="thex11"> <!-- Un nombre entre 0x0 et 0x7FF (11 bits) -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    62
    <xs:restriction base="xs:NMTOKEN">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    63
      <xs:pattern value="0(x|X)[0-7]?([0-F]|[a-f]){1,2}" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    64
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    65
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    66
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    67
  <xs:simpleType name="thex8"> <!-- Un nombre hexadecimal sur 8 bits -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    68
    <xs:restriction base="xs:NMTOKEN">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    69
      <xs:pattern value="0(x|X)([0-F]|[a-f]){1,4}" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    70
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    71
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    72
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    73
  <xs:simpleType name="thex7"> <!-- Un nombre entre 0x0 et 0x7F -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    74
    <xs:restriction base="xs:NMTOKEN">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    75
      <xs:pattern value="0(x|X)[0-7]?([0-F]|[a-f])" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    76
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    77
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    78
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    79
  <xs:simpleType name="tindex_var"> <!-- Un nombre entre 0x2000 et 0x9FFF (16 bits) -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    80
    <xs:restriction base="xs:NMTOKEN">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    81
      <xs:pattern value="0(x|X)[2-9]([0-F]|[a-f]){3}" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    82
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    83
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    84
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    85
  <xs:simpleType name="tinhibit_time">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    86
    <xs:restriction base="xs:unsignedInt">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    87
      <xs:maxInclusive value="65535"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    88
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    89
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    90
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    91
  <xs:simpleType name="tmode_pdo"> <!-- "tx" ou "rx" -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    92
    <xs:restriction base="xs:NMTOKEN">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    93
      <xs:pattern value="(tx|rx)" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    94
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    95
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    96
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    97
  <xs:simpleType name="tnbr_elts_mapped_table"> <!-- Un nombre entre 1 et 50  -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    98
    <xs:restriction base="xs:unsignedShort">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    99
      <xs:minInclusive value="1"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   100
      <xs:maxInclusive value="50"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   101
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   102
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   103
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   104
  <xs:simpleType name="tnbr_heartbeat_consumers"> <!-- Un nombre entre 1 et 50  -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   105
    <xs:restriction base="xs:unsignedShort">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   106
      <xs:minInclusive value="1"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   107
      <xs:maxInclusive value="50"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   108
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   109
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   110
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   111
  <xs:simpleType name="tmax_objects_in_pdo"> <!-- Un nombre entre 1 et 8  -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   112
    <xs:restriction base="xs:unsignedShort">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   113
      <xs:minInclusive value="1"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   114
      <xs:maxInclusive value="8"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   115
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   116
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   117
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   118
  <xs:simpleType name="tnbr_pdo"> <!-- Un nombre entre 1 et 510  -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   119
    <xs:restriction base="xs:unsignedShort">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   120
      <xs:minInclusive value="1"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   121
      <xs:maxInclusive value="510"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   122
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   123
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   124
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   125
  <xs:simpleType name="tnbr_sdo_clients"> <!-- Un nombre entre 1 et 50  -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   126
    <xs:restriction base="xs:unsignedShort">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   127
      <xs:minInclusive value="1"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   128
      <xs:maxInclusive value="50"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   129
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   130
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   131
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   132
  <xs:simpleType name="tsize"> <!-- Un nombre entre 1 et 8  -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   133
    <xs:restriction base="xs:unsignedShort">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   134
      <xs:minInclusive value="1"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   135
      <xs:maxInclusive value="8"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   136
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   137
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   138
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   139
  <xs:simpleType name="tsize_in_bits"> <!-- 8, 16 ou 32 bits -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   140
    <xs:restriction base="xs:NMTOKEN">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   141
      <xs:pattern value="(8)|(16)|(32)" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   142
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   143
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   144
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   145
  <xs:simpleType name="ttransmission_type"> <!-- Un nombre entre 0 et 255  -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   146
    <xs:restriction base="xs:unsignedShort">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   147
      <xs:minInclusive value="0"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   148
      <xs:maxInclusive value="255"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   149
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   150
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   151
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   152
  <xs:simpleType name="ttype_node"> <!-- "master" ou "slave" -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   153
    <xs:restriction base="xs:NMTOKEN">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   154
      <xs:pattern value="(master|slave)" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   155
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   156
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   157
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   158
  <xs:simpleType name="ttype_var"> 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   159
    <xs:restriction base="xs:NMTOKEN">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   160
      <xs:pattern value="(UNS|REAL)" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   161
    </xs:restriction>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   162
  </xs:simpleType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   163
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   164
  <!-- Définition des éléments de type simple -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   165
  <xs:element name="compatibility_entry" type="thex7"></xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   166
  <xs:element name="event_timer" type="tevent_timer"></xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   167
  <xs:element name="inhibit_time" type="tinhibit_time"></xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   168
  <xs:element name="node_id" type="thex11"></xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   169
  <xs:element name="size" type="tsize"></xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   170
  <xs:element name="transmission_type" type="thex8"></xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   171
  <xs:element name="value_int" type="thex64"></xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   172
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   173
  <!-- Définition des éléments de type complexe -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   174
 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   175
  <xs:element name="node">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   176
    <xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   177
      <xs:sequence  minOccurs="1" maxOccurs="1">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   178
	<xs:element ref="heartbeat_consumers" minOccurs="1" maxOccurs="1" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   179
        <xs:element ref="sdo_clients" minOccurs="1" maxOccurs="1" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   180
	<!--<xs:element ref="pdo_param" minOccurs="1" maxOccurs="1" />  Obsolet -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   181
	<!--<xs:element ref="pdo_receive" minOccurs="1" maxOccurs="1" /> Obsolet -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   182
	<!--<xs:element ref="pdo_transmit" minOccurs="1" maxOccurs="1" /> Obsolet -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   183
        <xs:element ref="pdo" minOccurs="0" maxOccurs="500" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   184
	<xs:element ref="mapped_variable" minOccurs="0" maxOccurs="200" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   185
	<xs:element ref="mapped_table" minOccurs="0" maxOccurs="200" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   186
	<xs:element ref="mapped_string_variable" minOccurs="0" maxOccurs="200" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   187
	<!--<xs:element ref="mapped_string_table" minOccurs="0" maxOccurs="200" />-->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   188
      </xs:sequence>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   189
      <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   190
      <xs:attribute name="type_node" type="ttype_node" use="required" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   191
      <xs:attribute name="node_id" type="thex11" use="optional" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   192
      <xs:attribute name="device_type_1000" type="thex32" use="optional" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   193
      <xs:attribute name="manufacturer_device_name_1008" type="xs:string" use="optional" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   194
      <xs:attribute name="manufacturer_hardware_version_1009" type="xs:string" use="optional" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   195
      <xs:attribute name="manufacturer_software_version_100A" type="xs:string" use="optional" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   196
      <xs:attribute name="vendor_id_1018" type="thex32" use="optional" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   197
      <xs:attribute name="product_code_1018" type="thex32" use="optional" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   198
      <xs:attribute name="revision_number_1018" type="thex32" use="optional" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   199
      <xs:attribute name="serial_number_1018" type="thex32" use="optional" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   200
    </xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   201
  </xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   202
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   203
  <xs:element name="heartbeat_consumers" >
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   204
    <xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   205
      <xs:attribute name="nombre" type="tnbr_heartbeat_consumers" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   206
    </xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   207
  </xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   208
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   209
  <xs:element name="sdo_clients" >
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   210
    <xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   211
      <xs:attribute name="nombre" type="tnbr_sdo_clients" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   212
    </xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   213
  </xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   214
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   215
  <xs:element name="pdo_param" > <!-- Obsolet -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   216
    <xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   217
      <xs:attribute name="max_objects_in_pdo" type="tmax_objects_in_pdo" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   218
    </xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   219
  </xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   220
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   221
  <xs:element name="pdo_receive" > <!-- Obsolet -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   222
    <xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   223
      <xs:attribute name="nombre" type="tnbr_pdo" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   224
    </xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   225
  </xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   226
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   227
  <xs:element name="pdo_transmit" >  <!-- Obsolet -->
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   228
    <xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   229
      <xs:attribute name="nombre" type="tnbr_pdo" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   230
    </xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   231
  </xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   232
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   233
  <xs:element name="pdo" >
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   234
    <xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   235
      <xs:sequence  minOccurs="1" maxOccurs="1">
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   236
	<xs:element ref="mapped_object" minOccurs="0" maxOccurs="8" />
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   237
      </xs:sequence>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   238
      <xs:attribute name="type_rx_tx" type="tmode_pdo" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   239
      <xs:attribute name="index_communication_parameter" type="thex16" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   240
      <xs:attribute name="cob_id" type="thex11" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   241
      <xs:attribute name="max_objects_in_pdo" type="tmax_objects_in_pdo" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   242
      <xs:attribute name="transmission_type" type="ttransmission_type" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   243
    </xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   244
  </xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   245
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   246
  <xs:element name="mapped_object" >
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   247
    <xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   248
      <xs:attribute name="name" type="xs:NMTOKEN" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   249
      <xs:attribute name="size_in_bits" type="tsize_in_bits" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   250
      <xs:attribute name="index" type="tindex_var" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   251
      <xs:attribute name="sub_index" type="thex8" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   252
    </xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   253
  </xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   254
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   255
  <xs:element name="mapped_variable" >
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   256
    <xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   257
      <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   258
      <xs:attribute name="size_in_bits" type="tsize_in_bits" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   259
      <xs:attribute name="index" type="tindex_var" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   260
      <xs:attribute name="sub_index" type="thex8" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   261
      <xs:attribute name="type" type="ttype_var" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   262
      <xs:attribute name="access" type="taccess" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   263
      <xs:attribute name="min_value" type="xs:anySimpleType" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   264
      <xs:attribute name="max_value" type="xs:anySimpleType" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   265
    </xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   266
  </xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   267
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   268
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   269
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   270
  <xs:element name="mapped_table" >
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   271
    <xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   272
      <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   273
      <xs:attribute name="number_elements" type="tnbr_elts_mapped_table" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   274
      <xs:attribute name="size_in_bits" type="tsize_in_bits" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   275
      <xs:attribute name="index" type="tindex_var" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   276
      <xs:attribute name="type" type="ttype_var" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   277
      <xs:attribute name="access" type="taccess" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   278
      <xs:attribute name="min_value" type="xs:decimal" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   279
      <xs:attribute name="max_value" type="xs:decimal" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   280
    </xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   281
  </xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   282
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   283
  <xs:element name="mapped_string_variable" >
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   284
    <xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   285
      <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   286
      <xs:attribute name="size_in_byte" type="xs:unsignedInt" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   287
      <xs:attribute name="index" type="tindex_var" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   288
      <xs:attribute name="sub_index" type="thex8" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   289
      <xs:attribute name="access" type="taccess" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   290
    </xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   291
  </xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   292
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   293
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   294
  <xs:element name="mapped_string_table" >
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   295
    <xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   296
      <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   297
      <xs:attribute name="number_elements" type="tnbr_elts_mapped_table" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   298
      <xs:attribute name="size_in_byte" type="xs:unsignedInt" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   299
      <xs:attribute name="index" type="tindex_var" use="required"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   300
      <xs:attribute name="access" type="taccess" use="optional"/>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   301
    </xs:complexType>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   302
  </xs:element>
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   303
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
   304
</xs:schema>