Appendix R – CANopen Import/Export description template specifiers and variables
specifier name | category | description |
${index.address} | description: | numerical number of the main-index. |
category: | mandatory | |
value range: | 0x0040 - 0xAFFF | |
${index.dataType.address} | description: | numerical value of the data type according to /CiA-301/. |
category: | mandatory | |
value range: | 0x0001 - 0x025F | |
${index.CName} | description: | name of the complex data type or of the variable in the generated C code. If no name is specified the name is generated by the Communication Creator as follow:
· for data types: DATATYPE_<index>_T, example: DATATYPE_0040_T · for variables: obj_<index>, example: obj_2000 |
category: | optional | |
value range: | String with C-syntax | |
${index.name} | description: | name of the object for the documentation in the EDS/XDD file. If no name is specified the Communication Creator uses the C name, see csv-specifier ${index.CName}. |
category: | optional | |
value range: | String | |
${index.objectCode} | description: | numerical value of the object code according to /CiA-301/. Variable value is one of the following:
|
category: | mandatory | |
value range: | 0x06 for DEFSTRUCT 0x07 for VAR 0x08 for ARRAY 0x09 for RECORD | |
${index.CCallback} | description: | name of the C callback function.
condition: callback functions must be enabled (see GUI Project Settings > Objects > Enable object-specific callback functions) |
category: | optional | |
value range: | String with C-syntax | |
${index.description} | description: | documentation of the object. |
category: | optional | |
value range: | String | |
${index.constantDefault} | description: | memory area that shall be used to store the default value of the object in C code. |
category: | optional | |
value range: | 0 - stored in RAM 1- stored in program memory
Default: 1 |