author | etisserant |
Fri, 25 Apr 2008 16:48:34 +0200 | |
changeset 449 | 85f6acbb9d54 |
parent 369 | 8b67289d50b5 |
child 623 | 36b62c854ee2 |
permissions | -rw-r--r-- |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
1 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
2 |
/* File generated by gen_cfile.py. Should not be modified. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
3 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
4 |
#include "example_objdict.h" |
0 | 5 |
|
6 |
/**************************************************************************/ |
|
7 |
/* Declaration of the mapped variables */ |
|
8 |
/**************************************************************************/ |
|
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
9 |
UNS8 Time_seconds = 0x0; /* Mapped at index 0x2000, subindex 0x01 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
10 |
UNS8 Time_minutes = 0x0; /* Mapped at index 0x2000, subindex 0x02 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
11 |
UNS8 Time_hours = 0x0; /* Mapped at index 0x2000, subindex 0x03 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
12 |
UNS8 Time_days = 0x0; /* Mapped at index 0x2000, subindex 0x04 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
13 |
UNS32 canopenErrNB = 0x0; /* Mapped at index 0x2001, subindex 0x00 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
14 |
UNS32 canopenErrVal = 0x0; /* Mapped at index 0x2002, subindex 0x00 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
15 |
UNS8 strTest[10] = ""; /* Mapped at index 0x2003, subindex 0x00 */ |
0 | 16 |
|
17 |
/**************************************************************************/ |
|
18 |
/* Declaration of the value range types */ |
|
19 |
/**************************************************************************/ |
|
20 |
||
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
21 |
UNS32 Linux_slave_valueRangeTest (UNS8 typeValue, void * value) |
0 | 22 |
{ |
23 |
switch (typeValue) { |
|
24 |
} |
|
25 |
return 0; |
|
26 |
} |
|
27 |
||
28 |
/**************************************************************************/ |
|
29 |
/* The node id */ |
|
30 |
/**************************************************************************/ |
|
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
31 |
/* node_id default value.*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
32 |
UNS8 Linux_slave_bDeviceNodeId = 0x00; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
33 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
34 |
/**************************************************************************/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
35 |
/* Array of message processing information */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
36 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
37 |
const UNS8 Linux_slave_iam_a_slave = 1; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
38 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
39 |
TIMER_HANDLE Linux_slave_heartBeatTimers[1] = {TIMER_NONE,}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
40 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
41 |
/* |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
42 |
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
43 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
44 |
OBJECT DICTIONARY |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
45 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
46 |
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ |
0 | 47 |
*/ |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
48 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
49 |
/* index 0x1000 : Device Type. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
50 |
UNS32 Linux_slave_obj1000 = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
51 |
subindex Linux_slave_Index1000[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
52 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
53 |
{ RO, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1000 } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
54 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
55 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
56 |
/* index 0x1001 : Error Register. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
57 |
UNS8 Linux_slave_obj1001 = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
58 |
subindex Linux_slave_Index1001[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
59 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
60 |
{ RO, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1001 } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
61 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
62 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
63 |
/* index 0x1005 : SYNC COB ID */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
64 |
UNS32 Linux_slave_obj1005 = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
65 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
66 |
/* index 0x1006 : Communication / Cycle Period */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
67 |
UNS32 Linux_slave_obj1006 = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
68 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
69 |
/* index 0x1008 : Manufacturer Device Name. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
70 |
UNS8 Linux_slave_obj1008[10] = "Appli_Slave_HC12"; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
71 |
subindex Linux_slave_Index1008[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
72 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
73 |
{ RO, visible_string, 16, (void*)&Linux_slave_obj1008 } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
74 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
75 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
76 |
/* index 0x1016 : Consumer Heartbeat Time. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
77 |
UNS8 Linux_slave_highestSubIndex_obj1016 = 1; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
78 |
UNS32 Linux_slave_obj1016[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
79 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
80 |
0x0 /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
81 |
}; |
0 | 82 |
subindex Linux_slave_Index1016[] = |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
83 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
84 |
{ RO, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1016 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
85 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1016[0] } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
86 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
87 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
88 |
/* index 0x1017 : Producer Heartbeat Time */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
89 |
UNS16 Linux_slave_obj1017 = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
90 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
91 |
/* index 0x1018 : Identity. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
92 |
UNS8 Linux_slave_highestSubIndex_obj1018 = 4; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
93 |
UNS32 Linux_slave_obj1018_Vendor_ID = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
94 |
UNS32 Linux_slave_obj1018_Product_Code = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
95 |
UNS32 Linux_slave_obj1018_Revision_Number = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
96 |
UNS32 Linux_slave_obj1018_Serial_Number = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
97 |
subindex Linux_slave_Index1018[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
98 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
99 |
{ RO, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1018 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
100 |
{ RO, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1018_Vendor_ID }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
101 |
{ RO, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1018_Product_Code }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
102 |
{ RO, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1018_Revision_Number }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
103 |
{ RO, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1018_Serial_Number } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
104 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
105 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
106 |
/* index 0x1280 : Client SDO 1 Parameter. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
107 |
UNS8 Linux_slave_highestSubIndex_obj1280 = 3; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
108 |
UNS32 Linux_slave_obj1280_COB_ID_Client_to_Server_Transmit_SDO = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
109 |
UNS32 Linux_slave_obj1280_COB_ID_Server_to_Client_Receive_SDO = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
110 |
UNS8 Linux_slave_obj1280_Node_ID_of_the_SDO_Server = 0x0; /* 0 */ |
0 | 111 |
subindex Linux_slave_Index1280[] = |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
112 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
113 |
{ RO, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1280 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
114 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1280_COB_ID_Client_to_Server_Transmit_SDO }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
115 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1280_COB_ID_Server_to_Client_Receive_SDO }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
116 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1280_Node_ID_of_the_SDO_Server } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
117 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
118 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
119 |
/* index 0x1400 : Receive PDO 1 Parameter. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
120 |
UNS8 Linux_slave_highestSubIndex_obj1400 = 5; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
121 |
UNS32 Linux_slave_obj1400_COB_ID_used_by_PDO = 0x200; /* 512 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
122 |
UNS8 Linux_slave_obj1400_Transmission_Type = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
123 |
UNS16 Linux_slave_obj1400_Inhibit_Time = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
124 |
UNS8 Linux_slave_obj1400_Compatibility_Entry = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
125 |
UNS16 Linux_slave_obj1400_Event_Timer = 0x0; /* 0 */ |
0 | 126 |
subindex Linux_slave_Index1400[] = |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
127 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
128 |
{ RO, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1400 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
129 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1400_COB_ID_used_by_PDO }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
130 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1400_Transmission_Type }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
131 |
{ RW, uint16, sizeof (UNS16), (void*)&Linux_slave_obj1400_Inhibit_Time }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
132 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1400_Compatibility_Entry }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
133 |
{ RW, uint16, sizeof (UNS16), (void*)&Linux_slave_obj1400_Event_Timer } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
134 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
135 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
136 |
/* index 0x1401 : Receive PDO 2 Parameter. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
137 |
UNS8 Linux_slave_highestSubIndex_obj1401 = 5; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
138 |
UNS32 Linux_slave_obj1401_COB_ID_used_by_PDO = 0x300; /* 768 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
139 |
UNS8 Linux_slave_obj1401_Transmission_Type = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
140 |
UNS16 Linux_slave_obj1401_Inhibit_Time = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
141 |
UNS8 Linux_slave_obj1401_Compatibility_Entry = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
142 |
UNS16 Linux_slave_obj1401_Event_Timer = 0x0; /* 0 */ |
0 | 143 |
subindex Linux_slave_Index1401[] = |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
144 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
145 |
{ RO, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1401 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
146 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1401_COB_ID_used_by_PDO }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
147 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1401_Transmission_Type }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
148 |
{ RW, uint16, sizeof (UNS16), (void*)&Linux_slave_obj1401_Inhibit_Time }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
149 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1401_Compatibility_Entry }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
150 |
{ RW, uint16, sizeof (UNS16), (void*)&Linux_slave_obj1401_Event_Timer } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
151 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
152 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
153 |
/* index 0x1402 : Receive PDO 3 Parameter. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
154 |
UNS8 Linux_slave_highestSubIndex_obj1402 = 5; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
155 |
UNS32 Linux_slave_obj1402_COB_ID_used_by_PDO = 0x400; /* 1024 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
156 |
UNS8 Linux_slave_obj1402_Transmission_Type = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
157 |
UNS16 Linux_slave_obj1402_Inhibit_Time = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
158 |
UNS8 Linux_slave_obj1402_Compatibility_Entry = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
159 |
UNS16 Linux_slave_obj1402_Event_Timer = 0x0; /* 0 */ |
0 | 160 |
subindex Linux_slave_Index1402[] = |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
161 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
162 |
{ RO, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1402 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
163 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1402_COB_ID_used_by_PDO }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
164 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1402_Transmission_Type }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
165 |
{ RW, uint16, sizeof (UNS16), (void*)&Linux_slave_obj1402_Inhibit_Time }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
166 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1402_Compatibility_Entry }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
167 |
{ RW, uint16, sizeof (UNS16), (void*)&Linux_slave_obj1402_Event_Timer } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
168 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
169 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
170 |
/* index 0x1403 : Receive PDO 4 Parameter. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
171 |
UNS8 Linux_slave_highestSubIndex_obj1403 = 5; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
172 |
UNS32 Linux_slave_obj1403_COB_ID_used_by_PDO = 0x500; /* 1280 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
173 |
UNS8 Linux_slave_obj1403_Transmission_Type = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
174 |
UNS16 Linux_slave_obj1403_Inhibit_Time = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
175 |
UNS8 Linux_slave_obj1403_Compatibility_Entry = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
176 |
UNS16 Linux_slave_obj1403_Event_Timer = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
177 |
subindex Linux_slave_Index1403[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
178 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
179 |
{ RO, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1403 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
180 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1403_COB_ID_used_by_PDO }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
181 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1403_Transmission_Type }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
182 |
{ RW, uint16, sizeof (UNS16), (void*)&Linux_slave_obj1403_Inhibit_Time }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
183 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1403_Compatibility_Entry }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
184 |
{ RW, uint16, sizeof (UNS16), (void*)&Linux_slave_obj1403_Event_Timer } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
185 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
186 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
187 |
/* index 0x1600 : Receive PDO 1 Mapping. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
188 |
UNS8 Linux_slave_highestSubIndex_obj1600 = 1; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
189 |
UNS32 Linux_slave_obj1600[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
190 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
191 |
0x0 /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
192 |
}; |
0 | 193 |
subindex Linux_slave_Index1600[] = |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
194 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
195 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1600 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
196 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1600[0] } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
197 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
198 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
199 |
/* index 0x1601 : Receive PDO 2 Mapping. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
200 |
UNS8 Linux_slave_highestSubIndex_obj1601 = 1; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
201 |
UNS32 Linux_slave_obj1601[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
202 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
203 |
0x0 /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
204 |
}; |
0 | 205 |
subindex Linux_slave_Index1601[] = |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
206 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
207 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1601 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
208 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1601[0] } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
209 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
210 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
211 |
/* index 0x1602 : Receive PDO 3 Mapping. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
212 |
UNS8 Linux_slave_highestSubIndex_obj1602 = 1; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
213 |
UNS32 Linux_slave_obj1602[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
214 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
215 |
0x0 /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
216 |
}; |
0 | 217 |
subindex Linux_slave_Index1602[] = |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
218 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
219 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1602 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
220 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1602[0] } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
221 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
222 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
223 |
/* index 0x1603 : Receive PDO 4 Mapping. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
224 |
UNS8 Linux_slave_highestSubIndex_obj1603 = 1; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
225 |
UNS32 Linux_slave_obj1603[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
226 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
227 |
0x0 /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
228 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
229 |
subindex Linux_slave_Index1603[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
230 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
231 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1603 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
232 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1603[0] } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
233 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
234 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
235 |
/* index 0x1800 : Transmit PDO 1 Parameter. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
236 |
UNS8 Linux_slave_highestSubIndex_obj1800 = 5; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
237 |
UNS32 Linux_slave_obj1800_COB_ID_used_by_PDO = 0x180; /* 384 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
238 |
UNS8 Linux_slave_obj1800_Transmission_Type = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
239 |
UNS16 Linux_slave_obj1800_Inhibit_Time = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
240 |
UNS8 Linux_slave_obj1800_Compatibility_Entry = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
241 |
UNS16 Linux_slave_obj1800_Event_Timer = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
242 |
ODCallback_t Linux_slave_Index1800_callbacks[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
243 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
244 |
NULL, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
245 |
NULL, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
246 |
NULL, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
247 |
NULL, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
248 |
NULL, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
249 |
NULL, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
250 |
}; |
0 | 251 |
subindex Linux_slave_Index1800[] = |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
252 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
253 |
{ RO, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1800 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
254 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1800_COB_ID_used_by_PDO }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
255 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1800_Transmission_Type }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
256 |
{ RW, uint16, sizeof (UNS16), (void*)&Linux_slave_obj1800_Inhibit_Time }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
257 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1800_Compatibility_Entry }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
258 |
{ RW, uint16, sizeof (UNS16), (void*)&Linux_slave_obj1800_Event_Timer } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
259 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
260 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
261 |
/* index 0x1801 : Transmit PDO 2 Parameter. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
262 |
UNS8 Linux_slave_highestSubIndex_obj1801 = 5; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
263 |
UNS32 Linux_slave_obj1801_COB_ID_used_by_PDO = 0x280; /* 640 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
264 |
UNS8 Linux_slave_obj1801_Transmission_Type = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
265 |
UNS16 Linux_slave_obj1801_Inhibit_Time = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
266 |
UNS8 Linux_slave_obj1801_Compatibility_Entry = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
267 |
UNS16 Linux_slave_obj1801_Event_Timer = 0x0; /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
268 |
ODCallback_t Linux_slave_Index1801_callbacks[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
269 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
270 |
NULL, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
271 |
NULL, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
272 |
NULL, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
273 |
NULL, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
274 |
NULL, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
275 |
NULL, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
276 |
}; |
0 | 277 |
subindex Linux_slave_Index1801[] = |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
278 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
279 |
{ RO, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1801 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
280 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1801_COB_ID_used_by_PDO }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
281 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1801_Transmission_Type }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
282 |
{ RW, uint16, sizeof (UNS16), (void*)&Linux_slave_obj1801_Inhibit_Time }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
283 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_obj1801_Compatibility_Entry }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
284 |
{ RW, uint16, sizeof (UNS16), (void*)&Linux_slave_obj1801_Event_Timer } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
285 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
286 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
287 |
/* index 0x1A00 : Transmit PDO 1 Mapping. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
288 |
UNS8 Linux_slave_highestSubIndex_obj1A00 = 1; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
289 |
UNS32 Linux_slave_obj1A00[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
290 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
291 |
0x0 /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
292 |
}; |
0 | 293 |
subindex Linux_slave_Index1A00[] = |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
294 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
295 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1A00 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
296 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1A00[0] } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
297 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
298 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
299 |
/* index 0x1A01 : Transmit PDO 2 Mapping. */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
300 |
UNS8 Linux_slave_highestSubIndex_obj1A01 = 1; /* number of subindex - 1*/ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
301 |
UNS32 Linux_slave_obj1A01[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
302 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
303 |
0x0 /* 0 */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
304 |
}; |
0 | 305 |
subindex Linux_slave_Index1A01[] = |
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
306 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
307 |
{ RW, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj1A01 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
308 |
{ RW, uint32, sizeof (UNS32), (void*)&Linux_slave_obj1A01[0] } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
309 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
310 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
311 |
/* index 0x2000 : Mapped variable Time */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
312 |
UNS8 Linux_slave_highestSubIndex_obj2000 = 4; /* number of subindex - 1*/ |
0 | 313 |
subindex Linux_slave_Index2000[] = |
314 |
{ |
|
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
315 |
{ RO, uint8, sizeof (UNS8), (void*)&Linux_slave_highestSubIndex_obj2000 }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
316 |
{ RW, uint8, sizeof (UNS8), (void*)&Time_seconds }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
317 |
{ RW, uint8, sizeof (UNS8), (void*)&Time_minutes }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
318 |
{ RW, uint8, sizeof (UNS8), (void*)&Time_hours }, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
319 |
{ RW, uint8, sizeof (UNS8), (void*)&Time_days } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
320 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
321 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
322 |
/* index 0x2001 : Mapped variable canopenErrNB */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
323 |
subindex Linux_slave_Index2001[] = |
0 | 324 |
{ |
325 |
{ RW, uint32, sizeof (UNS32), (void*)&canopenErrNB } |
|
326 |
}; |
|
327 |
||
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
328 |
/* index 0x2002 : Mapped variable canopenErrVal */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
329 |
subindex Linux_slave_Index2002[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
330 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
331 |
{ RW, uint32, sizeof (UNS32), (void*)&canopenErrVal } |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
332 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
333 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
334 |
/* index 0x2003 : Mapped variable strTest */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
335 |
subindex Linux_slave_Index2003[] = |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
336 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
337 |
{ RW, visible_string, 0, (void*)&strTest } |
0 | 338 |
}; |
339 |
||
340 |
const indextable Linux_slave_objdict[] = |
|
341 |
{ |
|
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
342 |
{ (subindex*)Linux_slave_Index1000,sizeof(Linux_slave_Index1000)/sizeof(Linux_slave_Index1000[0]), 0x1000}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
343 |
{ (subindex*)Linux_slave_Index1001,sizeof(Linux_slave_Index1001)/sizeof(Linux_slave_Index1001[0]), 0x1001}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
344 |
{ (subindex*)Linux_slave_Index1008,sizeof(Linux_slave_Index1008)/sizeof(Linux_slave_Index1008[0]), 0x1008}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
345 |
{ (subindex*)Linux_slave_Index1016,sizeof(Linux_slave_Index1016)/sizeof(Linux_slave_Index1016[0]), 0x1016}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
346 |
{ (subindex*)Linux_slave_Index1018,sizeof(Linux_slave_Index1018)/sizeof(Linux_slave_Index1018[0]), 0x1018}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
347 |
{ (subindex*)Linux_slave_Index1280,sizeof(Linux_slave_Index1280)/sizeof(Linux_slave_Index1280[0]), 0x1280}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
348 |
{ (subindex*)Linux_slave_Index1400,sizeof(Linux_slave_Index1400)/sizeof(Linux_slave_Index1400[0]), 0x1400}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
349 |
{ (subindex*)Linux_slave_Index1401,sizeof(Linux_slave_Index1401)/sizeof(Linux_slave_Index1401[0]), 0x1401}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
350 |
{ (subindex*)Linux_slave_Index1402,sizeof(Linux_slave_Index1402)/sizeof(Linux_slave_Index1402[0]), 0x1402}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
351 |
{ (subindex*)Linux_slave_Index1403,sizeof(Linux_slave_Index1403)/sizeof(Linux_slave_Index1403[0]), 0x1403}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
352 |
{ (subindex*)Linux_slave_Index1600,sizeof(Linux_slave_Index1600)/sizeof(Linux_slave_Index1600[0]), 0x1600}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
353 |
{ (subindex*)Linux_slave_Index1601,sizeof(Linux_slave_Index1601)/sizeof(Linux_slave_Index1601[0]), 0x1601}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
354 |
{ (subindex*)Linux_slave_Index1602,sizeof(Linux_slave_Index1602)/sizeof(Linux_slave_Index1602[0]), 0x1602}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
355 |
{ (subindex*)Linux_slave_Index1603,sizeof(Linux_slave_Index1603)/sizeof(Linux_slave_Index1603[0]), 0x1603}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
356 |
{ (subindex*)Linux_slave_Index1800,sizeof(Linux_slave_Index1800)/sizeof(Linux_slave_Index1800[0]), 0x1800}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
357 |
{ (subindex*)Linux_slave_Index1801,sizeof(Linux_slave_Index1801)/sizeof(Linux_slave_Index1801[0]), 0x1801}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
358 |
{ (subindex*)Linux_slave_Index1A00,sizeof(Linux_slave_Index1A00)/sizeof(Linux_slave_Index1A00[0]), 0x1A00}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
359 |
{ (subindex*)Linux_slave_Index1A01,sizeof(Linux_slave_Index1A01)/sizeof(Linux_slave_Index1A01[0]), 0x1A01}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
360 |
{ (subindex*)Linux_slave_Index2000,sizeof(Linux_slave_Index2000)/sizeof(Linux_slave_Index2000[0]), 0x2000}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
361 |
{ (subindex*)Linux_slave_Index2001,sizeof(Linux_slave_Index2001)/sizeof(Linux_slave_Index2001[0]), 0x2001}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
362 |
{ (subindex*)Linux_slave_Index2002,sizeof(Linux_slave_Index2002)/sizeof(Linux_slave_Index2002[0]), 0x2002}, |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
363 |
{ (subindex*)Linux_slave_Index2003,sizeof(Linux_slave_Index2003)/sizeof(Linux_slave_Index2003[0]), 0x2003}, |
0 | 364 |
}; |
365 |
||
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
366 |
const indextable * Linux_slave_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks) |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
367 |
{ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
368 |
int i; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
369 |
*callbacks = NULL; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
370 |
switch(wIndex){ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
371 |
case 0x1000: i = 0;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
372 |
case 0x1001: i = 1;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
373 |
case 0x1008: i = 2;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
374 |
case 0x1016: i = 3;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
375 |
case 0x1018: i = 4;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
376 |
case 0x1280: i = 5;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
377 |
case 0x1400: i = 6;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
378 |
case 0x1401: i = 7;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
379 |
case 0x1402: i = 8;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
380 |
case 0x1403: i = 9;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
381 |
case 0x1600: i = 10;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
382 |
case 0x1601: i = 11;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
383 |
case 0x1602: i = 12;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
384 |
case 0x1603: i = 13;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
385 |
case 0x1800: i = 14;*callbacks = Linux_slave_Index1800_callbacks; break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
386 |
case 0x1801: i = 15;*callbacks = Linux_slave_Index1801_callbacks; break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
387 |
case 0x1A00: i = 16;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
388 |
case 0x1A01: i = 17;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
389 |
case 0x2000: i = 18;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
390 |
case 0x2001: i = 19;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
391 |
case 0x2002: i = 20;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
392 |
case 0x2003: i = 21;break; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
393 |
default: |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
394 |
*errorCode = OD_NO_SUCH_OBJECT; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
395 |
return NULL; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
396 |
} |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
397 |
*errorCode = OD_SUCCESSFUL; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
398 |
return &Linux_slave_objdict[i]; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
399 |
} |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
400 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
401 |
/* |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
402 |
* To count at which received SYNC a PDO must be sent. |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
403 |
* Even if no pdoTransmit are defined, at least one entry is computed |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
404 |
* for compilations issues. |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
405 |
*/ |
369 | 406 |
s_PDO_status Linux_slave_PDO_status[2] = {s_PDO_status_Initializer,s_PDO_status_Initializer}; |
0 | 407 |
|
408 |
quick_index Linux_slave_firstIndex = { |
|
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
409 |
0, /* SDO_SVR */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
410 |
5, /* SDO_CLT */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
411 |
6, /* PDO_RCV */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
412 |
10, /* PDO_RCV_MAP */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
413 |
14, /* PDO_TRS */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
414 |
16 /* PDO_TRS_MAP */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
415 |
}; |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
416 |
|
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
417 |
quick_index Linux_slave_lastIndex = { |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
418 |
0, /* SDO_SVR */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
419 |
5, /* SDO_CLT */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
420 |
9, /* PDO_RCV */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
421 |
13, /* PDO_RCV_MAP */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
422 |
15, /* PDO_TRS */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
423 |
17 /* PDO_TRS_MAP */ |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
424 |
}; |
0 | 425 |
|
426 |
UNS16 Linux_slave_ObjdictSize = sizeof(Linux_slave_objdict)/sizeof(Linux_slave_objdict[0]); |
|
427 |
||
281
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
428 |
CO_Data Linux_slave_Data = CANOPEN_NODE_DATA_INITIALIZER(Linux_slave); |
685d9a26e4f9
Obsolete example files in objdictgen/examples replaced by some new equivalents
lbessard
parents:
0
diff
changeset
|
429 |