2 /* File generated by gen_cfile.py. Should not be modified. */
6 /**************************************************************************/
7 /* Declaration of the mapped variables */
8 /**************************************************************************/
9 UNS8 Read_Inputs_8_Bit[] = /* Mapped at index 0x6000, subindex 0x01 - 0x01 */
13 UNS8 Polarity_Input_8_Bit[] = /* Mapped at index 0x6002, subindex 0x01 - 0x01 */
17 UNS8 Write_Outputs_8_Bit[] = /* Mapped at index 0x6200, subindex 0x01 - 0x01 */
21 UNS8 Change_Polarity_Outputs_8_Bit[] = /* Mapped at index 0x6202, subindex 0x01 - 0x01 */
25 UNS8 Error_Mode_Outputs_8_Bit[] = /* Mapped at index 0x6206, subindex 0x01 - 0x01 */
29 UNS8 Error_Value_Outputs_8_Bit[] = /* Mapped at index 0x6207, subindex 0x01 - 0x01 */
33 INTEGER16 Read_Analogue_Input_16_Bit[] = /* Mapped at index 0x6401, subindex 0x01 - 0x08 */
44 INTEGER16 Write_Analogue_Output_16_Bit[] = /* Mapped at index 0x6411, subindex 0x01 - 0x04 */
51 UNS8 Analogue_Input_Global_Interrupt_Enable = 0x0; /* Mapped at index 0x6423, subindex 0x00 */
52 UNS32 Analogue_Input_Interrupt_Delta_Unsigned[] = /* Mapped at index 0x6426, subindex 0x01 - 0x08 */
63 UNS8 Analogue_Output_Error_Mode[] = /* Mapped at index 0x6443, subindex 0x01 - 0x04 */
70 INTEGER32 Analogue_Output_Error_Value_Integer[] = /* Mapped at index 0x6444, subindex 0x01 - 0x04 */
78 /**************************************************************************/
79 /* Declaration of the value range types */
80 /**************************************************************************/
82 #define valueRange_EMC 0x9F /* Type for index 0x1003 subindex 0x00 (only set of value 0 is possible) */
83 UNS32 ObjDict_valueRangeTest (UNS8 typeValue, void * value)
87 if (*(UNS8*)value != (UNS8)0) return OD_VALUE_RANGE_EXCEEDED;
93 /**************************************************************************/
95 /**************************************************************************/
96 /* node_id default value.*/
97 UNS8 ObjDict_bDeviceNodeId = 0x00;
99 /**************************************************************************/
100 /* Array of message processing information */
102 const UNS8 ObjDict_iam_a_slave = 1;
104 TIMER_HANDLE ObjDict_heartBeatTimers[3] = {TIMER_NONE,};
107 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
111 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
114 /* index 0x1000 : Device Type. */
115 UNS32 ObjDict_obj1000 = 0xF0191; /* 983441 */
116 subindex ObjDict_Index1000[] =
118 { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1000 }
121 /* index 0x1001 : Error Register. */
122 UNS8 ObjDict_obj1001 = 0x0; /* 0 */
123 subindex ObjDict_Index1001[] =
125 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_obj1001 }
128 /* index 0x1002 : Manufacturer Status Register. */
129 UNS32 ObjDict_obj1002 = 0x0; /* 0 */
130 subindex ObjDict_Index1002[] =
132 { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1002 }
135 /* index 0x1003 : Pre-defined Error Field */
136 UNS8 ObjDict_highestSubIndex_obj1003 = 0; /* number of subindex - 1*/
137 UNS32 ObjDict_obj1003[] =
141 ODCallback_t ObjDict_Index1003_callbacks[] =
146 subindex ObjDict_Index1003[] =
148 { RW, valueRange_EMC, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1003 },
149 { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1003[0] }
152 /* index 0x1005 : SYNC COB ID. */
153 UNS32 ObjDict_obj1005 = 0x80; /* 128 */
154 ODCallback_t ObjDict_Index1005_callbacks[] =
158 subindex ObjDict_Index1005[] =
160 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1005 }
163 /* index 0x1006 : Communication / Cycle Period */
164 UNS32 ObjDict_obj1006 = 0x0; /* 0 */
166 /* index 0x1008 : Manufacturer Device Name. */
167 UNS8 ObjDict_obj1008[10] = "";
168 subindex ObjDict_Index1008[] =
170 { RO, visible_string, 10, (void*)&ObjDict_obj1008 }
173 /* index 0x1009 : Manufacturer Hardware Version. */
174 UNS8 ObjDict_obj1009[10] = "";
175 subindex ObjDict_Index1009[] =
177 { RO, visible_string, 10, (void*)&ObjDict_obj1009 }
180 /* index 0x100A : Manufacturer Software Version. */
181 UNS8 ObjDict_obj100A[10] = "";
182 subindex ObjDict_Index100A[] =
184 { RO, visible_string, 10, (void*)&ObjDict_obj100A }
187 /* index 0x100C : Guard Time. */
188 UNS16 ObjDict_obj100C = 0x0; /* 0 */
189 subindex ObjDict_Index100C[] =
191 { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj100C }
194 /* index 0x100D : Life Time Factor. */
195 UNS8 ObjDict_obj100D = 0x0; /* 0 */
196 subindex ObjDict_Index100D[] =
198 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj100D }
201 /* index 0x1010 : Store parameters. */
202 UNS8 ObjDict_highestSubIndex_obj1010 = 1; /* number of subindex - 1*/
203 UNS32 ObjDict_obj1010_Save_All_Parameters = 0x0; /* 0 */
204 subindex ObjDict_Index1010[] =
206 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1010 },
207 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1010_Save_All_Parameters }
210 /* index 0x1011 : Restore Default Parameters. */
211 UNS8 ObjDict_highestSubIndex_obj1011 = 1; /* number of subindex - 1*/
212 UNS32 ObjDict_obj1011_Restore_All_Default_Parameters = 0x0; /* 0 */
213 subindex ObjDict_Index1011[] =
215 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1011 },
216 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1011_Restore_All_Default_Parameters }
219 /* index 0x1014 : Emergency COB ID */
220 UNS32 ObjDict_obj1014 = 0x0; /* 0 */
222 /* index 0x1016 : Consumer Heartbeat Time. */
223 UNS8 ObjDict_highestSubIndex_obj1016 = 3; /* number of subindex - 1*/
224 UNS32 ObjDict_obj1016[] =
230 subindex ObjDict_Index1016[] =
232 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1016 },
233 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1016[0] },
234 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1016[1] },
235 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1016[2] }
238 /* index 0x1017 : Producer Heartbeat Time. */
239 UNS16 ObjDict_obj1017 = 0x0; /* 0 */
240 ODCallback_t ObjDict_Index1017_callbacks[] =
244 subindex ObjDict_Index1017[] =
246 { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1017 }
249 /* index 0x1018 : Identity. */
250 UNS8 ObjDict_highestSubIndex_obj1018 = 3; /* number of subindex - 1*/
251 UNS32 ObjDict_obj1018_Vendor_ID = 0x175; /* 373 */
252 UNS32 ObjDict_obj1018_Product_Code = 0x100000; /* 1048576 */
253 UNS32 ObjDict_obj1018_Revision_Number = 0x10001; /* 65537 */
254 subindex ObjDict_Index1018[] =
256 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1018 },
257 { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1018_Vendor_ID },
258 { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1018_Product_Code },
259 { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1018_Revision_Number }
262 /* index 0x1020 : Verify Configuration. */
263 UNS8 ObjDict_highestSubIndex_obj1020 = 2; /* number of subindex - 1*/
264 UNS32 ObjDict_obj1020_Configuration_Date = 0x0; /* 0 */
265 UNS32 ObjDict_obj1020_Configuration_Time = 0x0; /* 0 */
266 subindex ObjDict_Index1020[] =
268 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1020 },
269 { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1020_Configuration_Date },
270 { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1020_Configuration_Time }
273 /* index 0x1200 : Server SDO Parameter. */
274 UNS8 ObjDict_highestSubIndex_obj1200 = 2; /* number of subindex - 1*/
275 UNS32 ObjDict_obj1200_COB_ID_Client_to_Server_Receive_SDO = 0x600; /* 1536 */
276 UNS32 ObjDict_obj1200_COB_ID_Server_to_Client_Transmit_SDO = 0x580; /* 1408 */
277 subindex ObjDict_Index1200[] =
279 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1200 },
280 { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1200_COB_ID_Client_to_Server_Receive_SDO },
281 { RO, uint32, sizeof (UNS32), (void*)&ObjDict_obj1200_COB_ID_Server_to_Client_Transmit_SDO }
284 /* index 0x1400 : Receive PDO 1 Parameter. */
285 UNS8 ObjDict_highestSubIndex_obj1400 = 2; /* number of subindex - 1*/
286 UNS32 ObjDict_obj1400_COB_ID_used_by_PDO = 0x200; /* 512 */
287 UNS8 ObjDict_obj1400_Transmission_Type = 0x1; /* 1 */
288 subindex ObjDict_Index1400[] =
290 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1400 },
291 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1400_COB_ID_used_by_PDO },
292 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1400_Transmission_Type }
295 /* index 0x1401 : Receive PDO 2 Parameter. */
296 UNS8 ObjDict_highestSubIndex_obj1401 = 2; /* number of subindex - 1*/
297 UNS32 ObjDict_obj1401_COB_ID_used_by_PDO = 0x300; /* 768 */
298 UNS8 ObjDict_obj1401_Transmission_Type = 0x1; /* 1 */
299 subindex ObjDict_Index1401[] =
301 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1401 },
302 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1401_COB_ID_used_by_PDO },
303 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1401_Transmission_Type }
306 /* index 0x1600 : Receive PDO 1 Mapping. */
307 UNS8 ObjDict_highestSubIndex_obj1600 = 1; /* number of subindex - 1*/
308 UNS32 ObjDict_obj1600[] =
310 0x62000108 /* 1644167432 */
312 subindex ObjDict_Index1600[] =
314 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1600 },
315 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1600[0] }
318 /* index 0x1601 : Receive PDO 2 Mapping. */
319 UNS8 ObjDict_highestSubIndex_obj1601 = 4; /* number of subindex - 1*/
320 UNS32 ObjDict_obj1601[] =
322 0x64110110, /* 1678835984 */
323 0x64110210, /* 1678836240 */
324 0x64110310, /* 1678836496 */
325 0x64110410 /* 1678836752 */
327 subindex ObjDict_Index1601[] =
329 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1601 },
330 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1601[0] },
331 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1601[1] },
332 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1601[2] },
333 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1601[3] }
336 /* index 0x1800 : Transmit PDO 1 Parameter. */
337 UNS8 ObjDict_highestSubIndex_obj1800 = 5; /* number of subindex - 1*/
338 UNS32 ObjDict_obj1800_COB_ID_used_by_PDO = 0x180; /* 384 */
339 UNS8 ObjDict_obj1800_Transmission_Type = 0x1; /* 1 */
340 UNS16 ObjDict_obj1800_Inhibit_Time = 0x0; /* 0 */
341 UNS8 ObjDict_obj1800_Compatibility_Entry = 0x0; /* 0 */
342 UNS16 ObjDict_obj1800_Event_Timer = 0x0; /* 0 */
343 ODCallback_t ObjDict_Index1800_callbacks[] =
352 subindex ObjDict_Index1800[] =
354 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1800 },
355 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1800_COB_ID_used_by_PDO },
356 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1800_Transmission_Type },
357 { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1800_Inhibit_Time },
358 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1800_Compatibility_Entry },
359 { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1800_Event_Timer }
362 /* index 0x1801 : Transmit PDO 2 Parameter. */
363 UNS8 ObjDict_highestSubIndex_obj1801 = 5; /* number of subindex - 1*/
364 UNS32 ObjDict_obj1801_COB_ID_used_by_PDO = 0x280; /* 640 */
365 UNS8 ObjDict_obj1801_Transmission_Type = 0x1; /* 1 */
366 UNS16 ObjDict_obj1801_Inhibit_Time = 0x0; /* 0 */
367 UNS8 ObjDict_obj1801_Compatibility_Entry = 0x0; /* 0 */
368 UNS16 ObjDict_obj1801_Event_Timer = 0x0; /* 0 */
369 ODCallback_t ObjDict_Index1801_callbacks[] =
378 subindex ObjDict_Index1801[] =
380 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1801 },
381 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1801_COB_ID_used_by_PDO },
382 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1801_Transmission_Type },
383 { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1801_Inhibit_Time },
384 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1801_Compatibility_Entry },
385 { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1801_Event_Timer }
388 /* index 0x1802 : Transmit PDO 3 Parameter. */
389 UNS8 ObjDict_highestSubIndex_obj1802 = 5; /* number of subindex - 1*/
390 UNS32 ObjDict_obj1802_COB_ID_used_by_PDO = 0x380; /* 896 */
391 UNS8 ObjDict_obj1802_Transmission_Type = 0x1; /* 1 */
392 UNS16 ObjDict_obj1802_Inhibit_Time = 0x0; /* 0 */
393 UNS8 ObjDict_obj1802_Compatibility_Entry = 0x0; /* 0 */
394 UNS16 ObjDict_obj1802_Event_Timer = 0x0; /* 0 */
395 ODCallback_t ObjDict_Index1802_callbacks[] =
404 subindex ObjDict_Index1802[] =
406 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1802 },
407 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1802_COB_ID_used_by_PDO },
408 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1802_Transmission_Type },
409 { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1802_Inhibit_Time },
410 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_obj1802_Compatibility_Entry },
411 { RW, uint16, sizeof (UNS16), (void*)&ObjDict_obj1802_Event_Timer }
414 /* index 0x1A00 : Transmit PDO 1 Mapping. */
415 UNS8 ObjDict_highestSubIndex_obj1A00 = 1; /* number of subindex - 1*/
416 UNS32 ObjDict_obj1A00[] =
418 0x60000108 /* 1610613000 */
420 subindex ObjDict_Index1A00[] =
422 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1A00 },
423 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1A00[0] }
426 /* index 0x1A01 : Transmit PDO 2 Mapping. */
427 UNS8 ObjDict_highestSubIndex_obj1A01 = 4; /* number of subindex - 1*/
428 UNS32 ObjDict_obj1A01[] =
430 0x64010110, /* 1677787408 */
431 0x64010210, /* 1677787664 */
432 0x64010310, /* 1677787920 */
433 0x64010410 /* 1677788176 */
435 subindex ObjDict_Index1A01[] =
437 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1A01 },
438 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1A01[0] },
439 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1A01[1] },
440 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1A01[2] },
441 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1A01[3] }
444 /* index 0x1A02 : Transmit PDO 3 Mapping. */
445 UNS8 ObjDict_highestSubIndex_obj1A02 = 4; /* number of subindex - 1*/
446 UNS32 ObjDict_obj1A02[] =
448 0x64010510, /* 1677788432 */
449 0x64010610, /* 1677788688 */
450 0x64010710, /* 1677788944 */
451 0x64010810 /* 1677789200 */
453 subindex ObjDict_Index1A02[] =
455 { RW, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj1A02 },
456 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1A02[0] },
457 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1A02[1] },
458 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1A02[2] },
459 { RW, uint32, sizeof (UNS32), (void*)&ObjDict_obj1A02[3] }
462 /* index 0x6000 : Mapped variable Read Inputs 8 Bit */
463 UNS8 ObjDict_highestSubIndex_obj6000 = 1; /* number of subindex - 1*/
464 subindex ObjDict_Index6000[] =
466 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6000 },
467 { RO, uint8, sizeof (UNS8), (void*)&Read_Inputs_8_Bit[0] }
470 /* index 0x6002 : Mapped variable Polarity Input 8 Bit */
471 UNS8 ObjDict_highestSubIndex_obj6002 = 1; /* number of subindex - 1*/
472 subindex ObjDict_Index6002[] =
474 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6002 },
475 { RW, uint8, sizeof (UNS8), (void*)&Polarity_Input_8_Bit[0] }
478 /* index 0x6200 : Mapped variable Write Outputs 8 Bit */
479 UNS8 ObjDict_highestSubIndex_obj6200 = 1; /* number of subindex - 1*/
480 subindex ObjDict_Index6200[] =
482 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6200 },
483 { RW, uint8, sizeof (UNS8), (void*)&Write_Outputs_8_Bit[0] }
486 /* index 0x6202 : Mapped variable Change Polarity Outputs 8 Bit */
487 UNS8 ObjDict_highestSubIndex_obj6202 = 1; /* number of subindex - 1*/
488 subindex ObjDict_Index6202[] =
490 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6202 },
491 { RW, uint8, sizeof (UNS8), (void*)&Change_Polarity_Outputs_8_Bit[0] }
494 /* index 0x6206 : Mapped variable Error Mode Outputs 8 Bit */
495 UNS8 ObjDict_highestSubIndex_obj6206 = 1; /* number of subindex - 1*/
496 subindex ObjDict_Index6206[] =
498 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6206 },
499 { RW, uint8, sizeof (UNS8), (void*)&Error_Mode_Outputs_8_Bit[0] }
502 /* index 0x6207 : Mapped variable Error Value Outputs 8 Bit */
503 UNS8 ObjDict_highestSubIndex_obj6207 = 1; /* number of subindex - 1*/
504 subindex ObjDict_Index6207[] =
506 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6207 },
507 { RW, uint8, sizeof (UNS8), (void*)&Error_Value_Outputs_8_Bit[0] }
510 /* index 0x6401 : Mapped variable Read Analogue Input 16 Bit */
511 UNS8 ObjDict_highestSubIndex_obj6401 = 8; /* number of subindex - 1*/
512 subindex ObjDict_Index6401[] =
514 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6401 },
515 { RO, int16, sizeof (INTEGER16), (void*)&Read_Analogue_Input_16_Bit[0] },
516 { RO, int16, sizeof (INTEGER16), (void*)&Read_Analogue_Input_16_Bit[1] },
517 { RO, int16, sizeof (INTEGER16), (void*)&Read_Analogue_Input_16_Bit[2] },
518 { RO, int16, sizeof (INTEGER16), (void*)&Read_Analogue_Input_16_Bit[3] },
519 { RO, int16, sizeof (INTEGER16), (void*)&Read_Analogue_Input_16_Bit[4] },
520 { RO, int16, sizeof (INTEGER16), (void*)&Read_Analogue_Input_16_Bit[5] },
521 { RO, int16, sizeof (INTEGER16), (void*)&Read_Analogue_Input_16_Bit[6] },
522 { RO, int16, sizeof (INTEGER16), (void*)&Read_Analogue_Input_16_Bit[7] }
525 /* index 0x6411 : Mapped variable Write Analogue Output 16 Bit */
526 UNS8 ObjDict_highestSubIndex_obj6411 = 4; /* number of subindex - 1*/
527 subindex ObjDict_Index6411[] =
529 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6411 },
530 { RW, int16, sizeof (INTEGER16), (void*)&Write_Analogue_Output_16_Bit[0] },
531 { RW, int16, sizeof (INTEGER16), (void*)&Write_Analogue_Output_16_Bit[1] },
532 { RW, int16, sizeof (INTEGER16), (void*)&Write_Analogue_Output_16_Bit[2] },
533 { RW, int16, sizeof (INTEGER16), (void*)&Write_Analogue_Output_16_Bit[3] }
536 /* index 0x6423 : Mapped variable Analogue Input Global Interrupt Enable */
537 subindex ObjDict_Index6423[] =
539 { RW, boolean, sizeof (UNS8), (void*)&Analogue_Input_Global_Interrupt_Enable }
542 /* index 0x6426 : Mapped variable Analogue Input Interrupt Delta Unsigned */
543 UNS8 ObjDict_highestSubIndex_obj6426 = 8; /* number of subindex - 1*/
544 subindex ObjDict_Index6426[] =
546 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6426 },
547 { RW, uint32, sizeof (UNS32), (void*)&Analogue_Input_Interrupt_Delta_Unsigned[0] },
548 { RW, uint32, sizeof (UNS32), (void*)&Analogue_Input_Interrupt_Delta_Unsigned[1] },
549 { RW, uint32, sizeof (UNS32), (void*)&Analogue_Input_Interrupt_Delta_Unsigned[2] },
550 { RW, uint32, sizeof (UNS32), (void*)&Analogue_Input_Interrupt_Delta_Unsigned[3] },
551 { RW, uint32, sizeof (UNS32), (void*)&Analogue_Input_Interrupt_Delta_Unsigned[4] },
552 { RW, uint32, sizeof (UNS32), (void*)&Analogue_Input_Interrupt_Delta_Unsigned[5] },
553 { RW, uint32, sizeof (UNS32), (void*)&Analogue_Input_Interrupt_Delta_Unsigned[6] },
554 { RW, uint32, sizeof (UNS32), (void*)&Analogue_Input_Interrupt_Delta_Unsigned[7] }
557 /* index 0x6443 : Mapped variable Analogue Output Error Mode */
558 UNS8 ObjDict_highestSubIndex_obj6443 = 4; /* number of subindex - 1*/
559 subindex ObjDict_Index6443[] =
561 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6443 },
562 { RW, uint8, sizeof (UNS8), (void*)&Analogue_Output_Error_Mode[0] },
563 { RW, uint8, sizeof (UNS8), (void*)&Analogue_Output_Error_Mode[1] },
564 { RW, uint8, sizeof (UNS8), (void*)&Analogue_Output_Error_Mode[2] },
565 { RW, uint8, sizeof (UNS8), (void*)&Analogue_Output_Error_Mode[3] }
568 /* index 0x6444 : Mapped variable Analogue Output Error Value Integer */
569 UNS8 ObjDict_highestSubIndex_obj6444 = 4; /* number of subindex - 1*/
570 subindex ObjDict_Index6444[] =
572 { RO, uint8, sizeof (UNS8), (void*)&ObjDict_highestSubIndex_obj6444 },
573 { RW, int32, sizeof (INTEGER32), (void*)&Analogue_Output_Error_Value_Integer[0] },
574 { RW, int32, sizeof (INTEGER32), (void*)&Analogue_Output_Error_Value_Integer[1] },
575 { RW, int32, sizeof (INTEGER32), (void*)&Analogue_Output_Error_Value_Integer[2] },
576 { RW, int32, sizeof (INTEGER32), (void*)&Analogue_Output_Error_Value_Integer[3] }
579 const indextable ObjDict_objdict[] =
581 { (subindex*)ObjDict_Index1000,sizeof(ObjDict_Index1000)/sizeof(ObjDict_Index1000[0]), 0x1000},
582 { (subindex*)ObjDict_Index1001,sizeof(ObjDict_Index1001)/sizeof(ObjDict_Index1001[0]), 0x1001},
583 { (subindex*)ObjDict_Index1002,sizeof(ObjDict_Index1002)/sizeof(ObjDict_Index1002[0]), 0x1002},
584 { (subindex*)ObjDict_Index1005,sizeof(ObjDict_Index1005)/sizeof(ObjDict_Index1005[0]), 0x1005},
585 { (subindex*)ObjDict_Index1008,sizeof(ObjDict_Index1008)/sizeof(ObjDict_Index1008[0]), 0x1008},
586 { (subindex*)ObjDict_Index1009,sizeof(ObjDict_Index1009)/sizeof(ObjDict_Index1009[0]), 0x1009},
587 { (subindex*)ObjDict_Index100A,sizeof(ObjDict_Index100A)/sizeof(ObjDict_Index100A[0]), 0x100A},
588 { (subindex*)ObjDict_Index100C,sizeof(ObjDict_Index100C)/sizeof(ObjDict_Index100C[0]), 0x100C},
589 { (subindex*)ObjDict_Index100D,sizeof(ObjDict_Index100D)/sizeof(ObjDict_Index100D[0]), 0x100D},
590 { (subindex*)ObjDict_Index1010,sizeof(ObjDict_Index1010)/sizeof(ObjDict_Index1010[0]), 0x1010},
591 { (subindex*)ObjDict_Index1011,sizeof(ObjDict_Index1011)/sizeof(ObjDict_Index1011[0]), 0x1011},
592 { (subindex*)ObjDict_Index1016,sizeof(ObjDict_Index1016)/sizeof(ObjDict_Index1016[0]), 0x1016},
593 { (subindex*)ObjDict_Index1017,sizeof(ObjDict_Index1017)/sizeof(ObjDict_Index1017[0]), 0x1017},
594 { (subindex*)ObjDict_Index1018,sizeof(ObjDict_Index1018)/sizeof(ObjDict_Index1018[0]), 0x1018},
595 { (subindex*)ObjDict_Index1020,sizeof(ObjDict_Index1020)/sizeof(ObjDict_Index1020[0]), 0x1020},
596 { (subindex*)ObjDict_Index1200,sizeof(ObjDict_Index1200)/sizeof(ObjDict_Index1200[0]), 0x1200},
597 { (subindex*)ObjDict_Index1400,sizeof(ObjDict_Index1400)/sizeof(ObjDict_Index1400[0]), 0x1400},
598 { (subindex*)ObjDict_Index1401,sizeof(ObjDict_Index1401)/sizeof(ObjDict_Index1401[0]), 0x1401},
599 { (subindex*)ObjDict_Index1600,sizeof(ObjDict_Index1600)/sizeof(ObjDict_Index1600[0]), 0x1600},
600 { (subindex*)ObjDict_Index1601,sizeof(ObjDict_Index1601)/sizeof(ObjDict_Index1601[0]), 0x1601},
601 { (subindex*)ObjDict_Index1800,sizeof(ObjDict_Index1800)/sizeof(ObjDict_Index1800[0]), 0x1800},
602 { (subindex*)ObjDict_Index1801,sizeof(ObjDict_Index1801)/sizeof(ObjDict_Index1801[0]), 0x1801},
603 { (subindex*)ObjDict_Index1802,sizeof(ObjDict_Index1802)/sizeof(ObjDict_Index1802[0]), 0x1802},
604 { (subindex*)ObjDict_Index1A00,sizeof(ObjDict_Index1A00)/sizeof(ObjDict_Index1A00[0]), 0x1A00},
605 { (subindex*)ObjDict_Index1A01,sizeof(ObjDict_Index1A01)/sizeof(ObjDict_Index1A01[0]), 0x1A01},
606 { (subindex*)ObjDict_Index1A02,sizeof(ObjDict_Index1A02)/sizeof(ObjDict_Index1A02[0]), 0x1A02},
607 { (subindex*)ObjDict_Index6000,sizeof(ObjDict_Index6000)/sizeof(ObjDict_Index6000[0]), 0x6000},
608 { (subindex*)ObjDict_Index6002,sizeof(ObjDict_Index6002)/sizeof(ObjDict_Index6002[0]), 0x6002},
609 { (subindex*)ObjDict_Index6200,sizeof(ObjDict_Index6200)/sizeof(ObjDict_Index6200[0]), 0x6200},
610 { (subindex*)ObjDict_Index6202,sizeof(ObjDict_Index6202)/sizeof(ObjDict_Index6202[0]), 0x6202},
611 { (subindex*)ObjDict_Index6206,sizeof(ObjDict_Index6206)/sizeof(ObjDict_Index6206[0]), 0x6206},
612 { (subindex*)ObjDict_Index6207,sizeof(ObjDict_Index6207)/sizeof(ObjDict_Index6207[0]), 0x6207},
613 { (subindex*)ObjDict_Index6401,sizeof(ObjDict_Index6401)/sizeof(ObjDict_Index6401[0]), 0x6401},
614 { (subindex*)ObjDict_Index6411,sizeof(ObjDict_Index6411)/sizeof(ObjDict_Index6411[0]), 0x6411},
615 { (subindex*)ObjDict_Index6423,sizeof(ObjDict_Index6423)/sizeof(ObjDict_Index6423[0]), 0x6423},
616 { (subindex*)ObjDict_Index6426,sizeof(ObjDict_Index6426)/sizeof(ObjDict_Index6426[0]), 0x6426},
617 { (subindex*)ObjDict_Index6443,sizeof(ObjDict_Index6443)/sizeof(ObjDict_Index6443[0]), 0x6443},
618 { (subindex*)ObjDict_Index6444,sizeof(ObjDict_Index6444)/sizeof(ObjDict_Index6444[0]), 0x6444},
621 const indextable * ObjDict_scanIndexOD (UNS16 wIndex, UNS32 * errorCode, ODCallback_t **callbacks)
626 case 0x1000: i = 0;break;
627 case 0x1001: i = 1;break;
628 case 0x1002: i = 2;break;
629 case 0x1005: i = 3;*callbacks = ObjDict_Index1005_callbacks; break;
630 case 0x1008: i = 4;break;
631 case 0x1009: i = 5;break;
632 case 0x100A: i = 6;break;
633 case 0x100C: i = 7;break;
634 case 0x100D: i = 8;break;
635 case 0x1010: i = 9;break;
636 case 0x1011: i = 10;break;
637 case 0x1016: i = 11;break;
638 case 0x1017: i = 12;*callbacks = ObjDict_Index1017_callbacks; break;
639 case 0x1018: i = 13;break;
640 case 0x1020: i = 14;break;
641 case 0x1200: i = 15;break;
642 case 0x1400: i = 16;break;
643 case 0x1401: i = 17;break;
644 case 0x1600: i = 18;break;
645 case 0x1601: i = 19;break;
646 case 0x1800: i = 20;*callbacks = ObjDict_Index1800_callbacks; break;
647 case 0x1801: i = 21;*callbacks = ObjDict_Index1801_callbacks; break;
648 case 0x1802: i = 22;*callbacks = ObjDict_Index1802_callbacks; break;
649 case 0x1A00: i = 23;break;
650 case 0x1A01: i = 24;break;
651 case 0x1A02: i = 25;break;
652 case 0x6000: i = 26;break;
653 case 0x6002: i = 27;break;
654 case 0x6200: i = 28;break;
655 case 0x6202: i = 29;break;
656 case 0x6206: i = 30;break;
657 case 0x6207: i = 31;break;
658 case 0x6401: i = 32;break;
659 case 0x6411: i = 33;break;
660 case 0x6423: i = 34;break;
661 case 0x6426: i = 35;break;
662 case 0x6443: i = 36;break;
663 case 0x6444: i = 37;break;
665 *errorCode = OD_NO_SUCH_OBJECT;
668 *errorCode = OD_SUCCESSFUL;
669 return &ObjDict_objdict[i];
673 * To count at which received SYNC a PDO must be sent.
674 * Even if no pdoTransmit are defined, at least one entry is computed
675 * for compilations issues.
677 s_PDO_status ObjDict_PDO_status[3] = {s_PDO_status_Initializer,s_PDO_status_Initializer,s_PDO_status_Initializer};
679 quick_index ObjDict_firstIndex = {
683 18, /* PDO_RCV_MAP */
688 quick_index ObjDict_lastIndex = {
692 19, /* PDO_RCV_MAP */
697 UNS16 ObjDict_ObjdictSize = sizeof(ObjDict_objdict)/sizeof(ObjDict_objdict[0]);
699 CO_Data ObjDict_Data = CANOPEN_NODE_DATA_INITIALIZER(ObjDict);