examples/AVR/Slave/ObjDict.c
author Mongo
Mon, 21 May 2012 17:21:57 +0200
changeset 719 438a979fda5d
parent 413 57c7a451c671
permissions -rw-r--r--
merge with main Canfestival repository
413
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
     1
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
     2
/* File generated by gen_cfile.py. Should not be modified. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
     3
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
     4
#include "ObjDict.h"
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
     5
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
     6
/**************************************************************************/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
     7
/* Declaration of the mapped variables                                    */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
     8
/**************************************************************************/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
     9
UNS8 Read_Inputs_8_Bit[] =		/* Mapped at index 0x6000, subindex 0x01 - 0x01 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    10
  {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    11
    0x0	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    12
  };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    13
UNS8 Polarity_Input_8_Bit[] =		/* Mapped at index 0x6002, subindex 0x01 - 0x01 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    14
  {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    15
    0x0	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    16
  };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    17
UNS8 Filter_Constant_Input_8_Bit[] =		/* Mapped at index 0x6003, subindex 0x01 - 0x01 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    18
  {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    19
    0x0	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    20
  };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    21
UNS8 Global_Interrupt_Enable_Digital = 0x1;		/* Mapped at index 0x6005, subindex 0x00 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    22
UNS8 Interrupt_Mask_Any_Change_8_Bit[] =		/* Mapped at index 0x6006, subindex 0x01 - 0x01 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    23
  {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    24
    0xFF	/* 255 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    25
  };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    26
UNS8 Interrupt_Mask_Low_to_High_8_Bit[] =		/* Mapped at index 0x6007, subindex 0x01 - 0x01 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    27
  {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    28
    0x0	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    29
  };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    30
UNS8 Interrupt_Mask_High_to_Low_8_Bit[] =		/* Mapped at index 0x6008, subindex 0x01 - 0x01 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    31
  {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    32
    0x0	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    33
  };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    34
UNS8 Write_Outputs_8_Bit[] =		/* Mapped at index 0x6200, subindex 0x01 - 0x01 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    35
  {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    36
    0x0	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    37
  };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    38
UNS8 Change_Polarity_Outputs_8_Bit[] =		/* Mapped at index 0x6202, subindex 0x01 - 0x01 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    39
  {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    40
    0x0	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    41
  };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    42
UNS8 Error_Mode_Outputs_8_Bit[] =		/* Mapped at index 0x6206, subindex 0x01 - 0x01 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    43
  {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    44
    0x0	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    45
  };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    46
UNS8 Error_Value_Outputs_8_Bit[] =		/* Mapped at index 0x6207, subindex 0x01 - 0x01 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    47
  {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    48
    0x0	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    49
  };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    50
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    51
/**************************************************************************/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    52
/* Declaration of the value range types                                   */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    53
/**************************************************************************/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    54
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    55
#define valueRange_EMC 0x9F /* Type for index 0x1003 subindex 0x00 (only set of value 0 is possible) */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    56
UNS32 ObjDict_valueRangeTest (UNS8 typeValue, void * value)
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    57
{
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    58
  switch (typeValue) {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    59
    case valueRange_EMC:
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    60
      if (*(UNS8*)value != (UNS8)0) return OD_VALUE_RANGE_EXCEEDED;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    61
      break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    62
  }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    63
  return 0;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    64
}
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    65
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    66
/**************************************************************************/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    67
/* The node id                                                            */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    68
/**************************************************************************/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    69
/* node_id default value.*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    70
UNS8 ObjDict_bDeviceNodeId = 0x00;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    71
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    72
/**************************************************************************/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    73
/* Array of message processing information */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    74
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    75
const UNS8 ObjDict_iam_a_slave = 1;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    76
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    77
TIMER_HANDLE ObjDict_heartBeatTimers[1] = {TIMER_NONE,};
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    78
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    79
/*
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    80
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    81
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    82
                               OBJECT DICTIONARY
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    83
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    84
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    85
*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    86
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    87
/* index 0x1000 :   Device Type. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    88
                    UNS32 ObjDict_obj1000 = 0x30191;	/* 197009 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    89
                    subindex ObjDict_Index1000[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    90
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    91
                       { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1000 }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    92
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    93
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    94
/* index 0x1001 :   Error Register. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    95
                    UNS8 ObjDict_obj1001 = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    96
                    subindex ObjDict_Index1001[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    97
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    98
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_obj1001 }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
    99
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   100
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   101
/* index 0x1003 :   Pre-defined Error Field. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   102
                    UNS8 ObjDict_highestSubIndex_obj1003 = 0; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   103
                    UNS32 ObjDict_obj1003[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   104
                    {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   105
                      0x0	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   106
                    };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   107
                    ODCallback_t ObjDict_Index1003_callbacks[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   108
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   109
                       NULL,
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   110
                       NULL,
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   111
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   112
                    subindex ObjDict_Index1003[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   113
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   114
                       { RW, valueRange_EMC, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1003 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   115
                       { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1003[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   116
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   117
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   118
/* index 0x1005 :   SYNC COB ID. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   119
                    UNS32 ObjDict_obj1005 = 0x80;	/* 128 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   120
                    ODCallback_t ObjDict_Index1005_callbacks[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   121
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   122
                       NULL,
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   123
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   124
                    subindex ObjDict_Index1005[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   125
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   126
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1005 }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   127
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   128
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   129
/* index 0x1006 :   Communication / Cycle Period */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   130
                    UNS32 ObjDict_obj1006 = 0x0;   /* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   131
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   132
/* index 0x1008 :   Manufacturer Device Name. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   133
                    UNS8 ObjDict_obj1008[10] = "";
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   134
                    subindex ObjDict_Index1008[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   135
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   136
                       { RO, visible_string, 0, (void*)&ObjDict_obj1008 }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   137
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   138
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   139
/* index 0x1009 :   Manufacturer Hardware Version. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   140
                    UNS8 ObjDict_obj1009[10] = "";
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   141
                    subindex ObjDict_Index1009[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   142
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   143
                       { RO, visible_string, 0, (void*)&ObjDict_obj1009 }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   144
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   145
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   146
/* index 0x100A :   Manufacturer Software Version. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   147
                    UNS8 ObjDict_obj100A[10] = "";
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   148
                    subindex ObjDict_Index100A[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   149
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   150
                       { RO, visible_string, 0, (void*)&ObjDict_obj100A }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   151
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   152
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   153
/* index 0x1010 :   Store parameters. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   154
                    UNS8 ObjDict_highestSubIndex_obj1010 = 4; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   155
                    UNS32 ObjDict_obj1010_Save_All_Parameters = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   156
                    UNS32 ObjDict_obj1010_Save_Communication_Parameters = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   157
                    UNS32 ObjDict_obj1010_Save_Application_Parameters = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   158
                    UNS32 ObjDict_obj1010_Save_Manufacturer_Parameters = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   159
                    subindex ObjDict_Index1010[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   160
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   161
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1010 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   162
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1010_Save_All_Parameters },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   163
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1010_Save_Communication_Parameters },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   164
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1010_Save_Application_Parameters },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   165
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1010_Save_Manufacturer_Parameters }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   166
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   167
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   168
/* index 0x1011 :   Restore Default Parameters. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   169
                    UNS8 ObjDict_highestSubIndex_obj1011 = 4; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   170
                    UNS32 ObjDict_obj1011_Restore_All_Default_Parameters = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   171
                    UNS32 ObjDict_obj1011_Restore_Communication_Default_Parameters = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   172
                    UNS32 ObjDict_obj1011_Restore_Application_Default_Parameters = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   173
                    UNS32 ObjDict_obj1011_Restore_Manufacturer_Default_Parameters = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   174
                    subindex ObjDict_Index1011[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   175
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   176
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1011 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   177
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1011_Restore_All_Default_Parameters },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   178
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1011_Restore_Communication_Default_Parameters },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   179
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1011_Restore_Application_Default_Parameters },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   180
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1011_Restore_Manufacturer_Default_Parameters }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   181
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   182
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   183
/* index 0x1014 :   Emergency COB ID. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   184
                    UNS32 ObjDict_obj1014 = 0x80;	/* 128 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   185
                    subindex ObjDict_Index1014[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   186
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   187
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1014 }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   188
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   189
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   190
/* index 0x1016 :   Consumer Heartbeat Time. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   191
                    UNS8 ObjDict_highestSubIndex_obj1016 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   192
                    UNS32 ObjDict_obj1016[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   193
                    {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   194
                      0x0	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   195
                    };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   196
                    subindex ObjDict_Index1016[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   197
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   198
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1016 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   199
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1016[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   200
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   201
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   202
/* index 0x1017 :   Producer Heartbeat Time. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   203
                    UNS16 ObjDict_obj1017 = 0x2710;	/* 10000 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   204
                    ODCallback_t ObjDict_Index1017_callbacks[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   205
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   206
                       NULL,
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   207
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   208
                    subindex ObjDict_Index1017[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   209
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   210
                       { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1017 }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   211
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   212
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   213
/* index 0x1018 :   Identity. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   214
                    UNS8 ObjDict_highestSubIndex_obj1018 = 4; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   215
                    UNS32 ObjDict_obj1018_Vendor_ID = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   216
                    UNS32 ObjDict_obj1018_Product_Code = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   217
                    UNS32 ObjDict_obj1018_Revision_Number = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   218
                    UNS32 ObjDict_obj1018_Serial_Number = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   219
                    subindex ObjDict_Index1018[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   220
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   221
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1018 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   222
                       { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1018_Vendor_ID },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   223
                       { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1018_Product_Code },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   224
                       { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1018_Revision_Number },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   225
                       { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1018_Serial_Number }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   226
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   227
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   228
/* index 0x1200 :   Server SDO Parameter. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   229
                    UNS8 ObjDict_highestSubIndex_obj1200 = 2; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   230
                    UNS32 ObjDict_obj1200_COB_ID_Client_to_Server_Receive_SDO = 0x600;	/* 1536 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   231
                    UNS32 ObjDict_obj1200_COB_ID_Server_to_Client_Transmit_SDO = 0x580;	/* 1408 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   232
                    subindex ObjDict_Index1200[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   233
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   234
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1200 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   235
                       { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1200_COB_ID_Client_to_Server_Receive_SDO },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   236
                       { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1200_COB_ID_Server_to_Client_Transmit_SDO }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   237
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   238
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   239
/* index 0x1400 :   Receive PDO 1 Parameter. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   240
                    UNS8 ObjDict_highestSubIndex_obj1400 = 5; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   241
                    UNS32 ObjDict_obj1400_COB_ID_used_by_PDO = 0x200;	/* 512 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   242
                    UNS8 ObjDict_obj1400_Transmission_Type = 0x1;	/* 1 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   243
                    UNS16 ObjDict_obj1400_Inhibit_Time = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   244
                    UNS8 ObjDict_obj1400_Compatibility_Entry = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   245
                    UNS16 ObjDict_obj1400_Event_Timer = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   246
                    subindex ObjDict_Index1400[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   247
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   248
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1400 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   249
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1400_COB_ID_used_by_PDO },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   250
                       { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1400_Transmission_Type },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   251
                       { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1400_Inhibit_Time },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   252
                       { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1400_Compatibility_Entry },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   253
                       { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1400_Event_Timer }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   254
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   255
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   256
/* index 0x1600 :   Receive PDO 1 Mapping. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   257
                    UNS8 ObjDict_highestSubIndex_obj1600 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   258
                    UNS32 ObjDict_obj1600[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   259
                    {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   260
                      0x62000108	/* 1644167432 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   261
                    };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   262
                    subindex ObjDict_Index1600[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   263
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   264
                       { RW, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1600 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   265
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1600[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   266
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   267
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   268
/* index 0x1800 :   Transmit PDO 1 Parameter. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   269
                    UNS8 ObjDict_highestSubIndex_obj1800 = 5; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   270
                    UNS32 ObjDict_obj1800_COB_ID_used_by_PDO = 0x180;	/* 384 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   271
                    UNS8 ObjDict_obj1800_Transmission_Type = 0xFF;	/* 255 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   272
                    UNS16 ObjDict_obj1800_Inhibit_Time = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   273
                    UNS8 ObjDict_obj1800_Compatibility_Entry = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   274
                    UNS16 ObjDict_obj1800_Event_Timer = 0x0;	/* 0 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   275
                    ODCallback_t ObjDict_Index1800_callbacks[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   276
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   277
                       NULL,
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   278
                       NULL,
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   279
                       NULL,
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   280
                       NULL,
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   281
                       NULL,
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   282
                       NULL,
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   283
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   284
                    subindex ObjDict_Index1800[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   285
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   286
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1800 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   287
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1800_COB_ID_used_by_PDO },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   288
                       { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1800_Transmission_Type },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   289
                       { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1800_Inhibit_Time },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   290
                       { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1800_Compatibility_Entry },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   291
                       { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1800_Event_Timer }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   292
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   293
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   294
/* index 0x1A00 :   Transmit PDO 1 Mapping. */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   295
                    UNS8 ObjDict_highestSubIndex_obj1A00 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   296
                    UNS32 ObjDict_obj1A00[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   297
                    {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   298
                      0x60000108	/* 1610613000 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   299
                    };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   300
                    subindex ObjDict_Index1A00[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   301
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   302
                       { RW, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1A00 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   303
                       { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1A00[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   304
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   305
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   306
/* index 0x6000 :   Mapped variable Read Inputs 8 Bit */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   307
                    UNS8 ObjDict_highestSubIndex_obj6000 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   308
                    subindex ObjDict_Index6000[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   309
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   310
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6000 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   311
                       { RO, uint8, sizeof (UNS8), (void*)&Read_Inputs_8_Bit[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   312
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   313
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   314
/* index 0x6002 :   Mapped variable Polarity Input 8 Bit */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   315
                    UNS8 ObjDict_highestSubIndex_obj6002 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   316
                    subindex ObjDict_Index6002[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   317
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   318
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6002 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   319
                       { RW, uint8, sizeof (UNS8), (void*)&Polarity_Input_8_Bit[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   320
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   321
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   322
/* index 0x6003 :   Mapped variable Filter Constant Input 8 Bit */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   323
                    UNS8 ObjDict_highestSubIndex_obj6003 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   324
                    subindex ObjDict_Index6003[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   325
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   326
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6003 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   327
                       { RW, uint8, sizeof (UNS8), (void*)&Filter_Constant_Input_8_Bit[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   328
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   329
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   330
/* index 0x6005 :   Mapped variable Global Interrupt Enable Digital */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   331
                    subindex ObjDict_Index6005[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   332
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   333
                       { RW, boolean, sizeof (UNS8), (void*)&Global_Interrupt_Enable_Digital }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   334
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   335
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   336
/* index 0x6006 :   Mapped variable Interrupt Mask Any Change 8 Bit */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   337
                    UNS8 ObjDict_highestSubIndex_obj6006 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   338
                    subindex ObjDict_Index6006[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   339
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   340
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6006 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   341
                       { RW, uint8, sizeof (UNS8), (void*)&Interrupt_Mask_Any_Change_8_Bit[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   342
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   343
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   344
/* index 0x6007 :   Mapped variable Interrupt Mask Low to High 8 Bit */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   345
                    UNS8 ObjDict_highestSubIndex_obj6007 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   346
                    subindex ObjDict_Index6007[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   347
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   348
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6007 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   349
                       { RW, uint8, sizeof (UNS8), (void*)&Interrupt_Mask_Low_to_High_8_Bit[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   350
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   351
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   352
/* index 0x6008 :   Mapped variable Interrupt Mask High to Low 8 Bit */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   353
                    UNS8 ObjDict_highestSubIndex_obj6008 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   354
                    subindex ObjDict_Index6008[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   355
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   356
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6008 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   357
                       { RW, uint8, sizeof (UNS8), (void*)&Interrupt_Mask_High_to_Low_8_Bit[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   358
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   359
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   360
/* index 0x6200 :   Mapped variable Write Outputs 8 Bit */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   361
                    UNS8 ObjDict_highestSubIndex_obj6200 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   362
                    subindex ObjDict_Index6200[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   363
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   364
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6200 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   365
                       { RW, uint8, sizeof (UNS8), (void*)&Write_Outputs_8_Bit[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   366
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   367
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   368
/* index 0x6202 :   Mapped variable Change Polarity Outputs 8 Bit */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   369
                    UNS8 ObjDict_highestSubIndex_obj6202 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   370
                    subindex ObjDict_Index6202[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   371
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   372
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6202 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   373
                       { RW, uint8, sizeof (UNS8), (void*)&Change_Polarity_Outputs_8_Bit[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   374
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   375
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   376
/* index 0x6206 :   Mapped variable Error Mode Outputs 8 Bit */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   377
                    UNS8 ObjDict_highestSubIndex_obj6206 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   378
                    subindex ObjDict_Index6206[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   379
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   380
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6206 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   381
                       { RW, uint8, sizeof (UNS8), (void*)&Error_Mode_Outputs_8_Bit[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   382
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   383
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   384
/* index 0x6207 :   Mapped variable Error Value Outputs 8 Bit */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   385
                    UNS8 ObjDict_highestSubIndex_obj6207 = 1; /* number of subindex - 1*/
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   386
                    subindex ObjDict_Index6207[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   387
                     {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   388
                       { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6207 },
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   389
                       { RW, uint8, sizeof (UNS8), (void*)&Error_Value_Outputs_8_Bit[0] }
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   390
                     };
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   391
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   392
const indextable ObjDict_objdict[] = 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   393
{
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   394
  { (subindex*)ObjDict_Index1000,sizeof(ObjDict_Index1000)/sizeof(ObjDict_Index1000[0]), 0x1000},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   395
  { (subindex*)ObjDict_Index1001,sizeof(ObjDict_Index1001)/sizeof(ObjDict_Index1001[0]), 0x1001},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   396
  { (subindex*)ObjDict_Index1003,sizeof(ObjDict_Index1003)/sizeof(ObjDict_Index1003[0]), 0x1003},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   397
  { (subindex*)ObjDict_Index1005,sizeof(ObjDict_Index1005)/sizeof(ObjDict_Index1005[0]), 0x1005},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   398
  { (subindex*)ObjDict_Index1008,sizeof(ObjDict_Index1008)/sizeof(ObjDict_Index1008[0]), 0x1008},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   399
  { (subindex*)ObjDict_Index1009,sizeof(ObjDict_Index1009)/sizeof(ObjDict_Index1009[0]), 0x1009},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   400
  { (subindex*)ObjDict_Index100A,sizeof(ObjDict_Index100A)/sizeof(ObjDict_Index100A[0]), 0x100A},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   401
  { (subindex*)ObjDict_Index1010,sizeof(ObjDict_Index1010)/sizeof(ObjDict_Index1010[0]), 0x1010},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   402
  { (subindex*)ObjDict_Index1011,sizeof(ObjDict_Index1011)/sizeof(ObjDict_Index1011[0]), 0x1011},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   403
  { (subindex*)ObjDict_Index1014,sizeof(ObjDict_Index1014)/sizeof(ObjDict_Index1014[0]), 0x1014},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   404
  { (subindex*)ObjDict_Index1016,sizeof(ObjDict_Index1016)/sizeof(ObjDict_Index1016[0]), 0x1016},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   405
  { (subindex*)ObjDict_Index1017,sizeof(ObjDict_Index1017)/sizeof(ObjDict_Index1017[0]), 0x1017},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   406
  { (subindex*)ObjDict_Index1018,sizeof(ObjDict_Index1018)/sizeof(ObjDict_Index1018[0]), 0x1018},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   407
  { (subindex*)ObjDict_Index1200,sizeof(ObjDict_Index1200)/sizeof(ObjDict_Index1200[0]), 0x1200},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   408
  { (subindex*)ObjDict_Index1400,sizeof(ObjDict_Index1400)/sizeof(ObjDict_Index1400[0]), 0x1400},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   409
  { (subindex*)ObjDict_Index1600,sizeof(ObjDict_Index1600)/sizeof(ObjDict_Index1600[0]), 0x1600},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   410
  { (subindex*)ObjDict_Index1800,sizeof(ObjDict_Index1800)/sizeof(ObjDict_Index1800[0]), 0x1800},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   411
  { (subindex*)ObjDict_Index1A00,sizeof(ObjDict_Index1A00)/sizeof(ObjDict_Index1A00[0]), 0x1A00},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   412
  { (subindex*)ObjDict_Index6000,sizeof(ObjDict_Index6000)/sizeof(ObjDict_Index6000[0]), 0x6000},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   413
  { (subindex*)ObjDict_Index6002,sizeof(ObjDict_Index6002)/sizeof(ObjDict_Index6002[0]), 0x6002},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   414
  { (subindex*)ObjDict_Index6003,sizeof(ObjDict_Index6003)/sizeof(ObjDict_Index6003[0]), 0x6003},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   415
  { (subindex*)ObjDict_Index6005,sizeof(ObjDict_Index6005)/sizeof(ObjDict_Index6005[0]), 0x6005},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   416
  { (subindex*)ObjDict_Index6006,sizeof(ObjDict_Index6006)/sizeof(ObjDict_Index6006[0]), 0x6006},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   417
  { (subindex*)ObjDict_Index6007,sizeof(ObjDict_Index6007)/sizeof(ObjDict_Index6007[0]), 0x6007},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   418
  { (subindex*)ObjDict_Index6008,sizeof(ObjDict_Index6008)/sizeof(ObjDict_Index6008[0]), 0x6008},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   419
  { (subindex*)ObjDict_Index6200,sizeof(ObjDict_Index6200)/sizeof(ObjDict_Index6200[0]), 0x6200},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   420
  { (subindex*)ObjDict_Index6202,sizeof(ObjDict_Index6202)/sizeof(ObjDict_Index6202[0]), 0x6202},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   421
  { (subindex*)ObjDict_Index6206,sizeof(ObjDict_Index6206)/sizeof(ObjDict_Index6206[0]), 0x6206},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   422
  { (subindex*)ObjDict_Index6207,sizeof(ObjDict_Index6207)/sizeof(ObjDict_Index6207[0]), 0x6207},
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   423
};
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   424
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   425
const indextable * ObjDict_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks)
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   426
{
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   427
	int i;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   428
	*callbacks = NULL;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   429
	switch(wIndex){
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   430
		case 0x1000: i = 0;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   431
		case 0x1001: i = 1;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   432
		case 0x1003: i = 2;*callbacks = ObjDict_Index1003_callbacks; break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   433
		case 0x1005: i = 3;*callbacks = ObjDict_Index1005_callbacks; break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   434
		case 0x1008: i = 4;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   435
		case 0x1009: i = 5;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   436
		case 0x100A: i = 6;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   437
		case 0x1010: i = 7;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   438
		case 0x1011: i = 8;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   439
		case 0x1014: i = 9;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   440
		case 0x1016: i = 10;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   441
		case 0x1017: i = 11;*callbacks = ObjDict_Index1017_callbacks; break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   442
		case 0x1018: i = 12;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   443
		case 0x1200: i = 13;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   444
		case 0x1400: i = 14;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   445
		case 0x1600: i = 15;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   446
		case 0x1800: i = 16;*callbacks = ObjDict_Index1800_callbacks; break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   447
		case 0x1A00: i = 17;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   448
		case 0x6000: i = 18;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   449
		case 0x6002: i = 19;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   450
		case 0x6003: i = 20;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   451
		case 0x6005: i = 21;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   452
		case 0x6006: i = 22;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   453
		case 0x6007: i = 23;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   454
		case 0x6008: i = 24;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   455
		case 0x6200: i = 25;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   456
		case 0x6202: i = 26;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   457
		case 0x6206: i = 27;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   458
		case 0x6207: i = 28;break;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   459
		default:
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   460
			*errorCode = OD_NO_SUCH_OBJECT;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   461
			return NULL;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   462
	}
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   463
	*errorCode = OD_SUCCESSFUL;
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   464
	return &ObjDict_objdict[i];
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   465
}
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   466
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   467
/* 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   468
 * To count at which received SYNC a PDO must be sent.
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   469
 * Even if no pdoTransmit are defined, at least one entry is computed
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   470
 * for compilations issues.
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   471
 */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   472
s_PDO_status ObjDict_PDO_status[1] = {s_PDO_status_Initializer};
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   473
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   474
quick_index ObjDict_firstIndex = {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   475
  13, /* SDO_SVR */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   476
  0, /* SDO_CLT */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   477
  14, /* PDO_RCV */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   478
  15, /* PDO_RCV_MAP */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   479
  16, /* PDO_TRS */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   480
  17 /* PDO_TRS_MAP */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   481
};
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   482
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   483
quick_index ObjDict_lastIndex = {
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   484
  13, /* SDO_SVR */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   485
  0, /* SDO_CLT */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   486
  14, /* PDO_RCV */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   487
  15, /* PDO_RCV_MAP */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   488
  16, /* PDO_TRS */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   489
  17 /* PDO_TRS_MAP */
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   490
};
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   491
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   492
UNS16 ObjDict_ObjdictSize = sizeof(ObjDict_objdict)/sizeof(ObjDict_objdict[0]); 
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   493
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   494
CO_Data ObjDict_Data = CANOPEN_NODE_DATA_INITIALIZER(ObjDict);
57c7a451c671 New named folder, first DS401 profile module, Makefile
peter
parents:
diff changeset
   495