#include <objdict.h>
Defines | |
#define | FILL_DATA_S_PDO_MAPPING 0, 0, 0, 0 |
#define | FILL_DATA_S_PDO_MAPPING 0, 0, 0, 0 |
Variables | |
const CODE UNSIGNED32 | devicetype = 0xFFFF |
const CODE subindex | Index1000 [] |
const CODE UNSIGNED8 | errorRegister |
const CODE subindex CODE | Index1001 [] |
RAM subindex | Index1016 [] |
RAM subindex | Index1017 [] |
const CODE s_identity | theIdentity |
const CODE subindex | Index1018 [] |
const CODE indextable FAR | CommunicationProfileArea [] |
const CODE indextable FAR | receivePDOParameter [] |
const CODE indextable FAR | transmitPDOParameter [] |
RAM subindex | Index1600 [] |
const CODE indextable FAR | RxPDOMappingTable [] |
RAM subindex | Index1A00 [] |
const CODE indextable FAR | TxPDOMappingTable [] |
RAM subindex | Index6000 [] |
const CODE indextable FAR | digitalInputTable [] |
RAM subindex | Index6200 [] |
const CODE indextable FAR | digitalOutputTable [] |
|
the following count of defined variables has to be the same as defined in the objdict.h file with the define: RECEIVE_PDO_MAPPING_LAST and the define: TRANSMIT_PDO_MAPPING_LAST |
|
the following count of defined variables has to be the same as defined in the objdict.h file with the define: RECEIVE_PDO_MAPPING_LAST and the define: TRANSMIT_PDO_MAPPING_LAST |
|
Initial value: { DeclareIndexTableEntry(Index1000), DeclareIndexTableEntry(Index1001), { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, { NULL, 0 }, DeclareIndexTableEntry(Index1016), DeclareIndexTableEntry(Index1017), DeclareIndexTableEntry(Index1018), } |
|
index 1000h: device type. You have to change the value below, so it fits your canopen-slave-module |
|
Initial value: This variable indexes all entries which are responsible for digital inputs. (input means: a value which is captured by this node and sent to another node e.g. the state of a port is sent to the server ) |
|
Initial value: This variable indexes all entries which are responsible for digital outputs. |
|
index 1001: error register. Change the entries to fit your application |
|
Initial value: { { RO, uint32, sizeof(UNSIGNED32), (void*)&devicetype } } |
|
Initial value: { { RO, uint8, sizeof(UNSIGNED8), (void*)&errorRegister } } |
|
Initial value: |
|
Initial value: |
|
Initial value: { { RO, uint8, sizeof(UNSIGNED8), (void*)&theIdentity.count }, { RO, uint32, sizeof(UNSIGNED32), (void*)&theIdentity.vendor_id}, { RO, uint32, sizeof(UNSIGNED32), (void*)&theIdentity.product_code}, { RO, uint32, sizeof(UNSIGNED32), (void*)&theIdentity.revision_number}, { RO, uint32, sizeof(UNSIGNED32), (void*)&theIdentity.serial_number} } |
|
Initial value: { { RW, uint8, sizeof( UNSIGNED8 ), (void*)&RxMap1.count }, { RW, uint32, sizeof( UNSIGNED32 ), (void*)&RxMap1.object[0] }, { RW, uint32, sizeof( UNSIGNED32 ), (void*)&RxMap1.object[1] }, { RW, uint32, sizeof( UNSIGNED32 ), (void*)&RxMap1.object[2] }, { RW, uint32, sizeof( UNSIGNED32 ), (void*)&RxMap1.object[3] } } |
|
Initial value: { { RW, uint8, sizeof( UNSIGNED8 ), (void*)&TxMap1.count }, { RW, uint32, sizeof( UNSIGNED32 ), (void*)&TxMap1.object[0] }, { RW, uint32, sizeof( UNSIGNED32 ), (void*)&TxMap1.object[1] }, { RW, uint32, sizeof( UNSIGNED32 ), (void*)&TxMap1.object[2] }, { RW, uint32, sizeof( UNSIGNED32 ), (void*)&TxMap1.object[3] } } |
|
Initial value: |
|
Initial value: |
|
Initial value: { DeclareIndexTableEntry(Index1400) } |
|
Initial value: This variable indexes all entries neccessary for pdo-mapping for receiving PDOs |
|
Initial value: { 4, 0x1234, 0x5678, 0x1364, 0x7964, } |
|
Initial value: { DeclareIndexTableEntry(Index1800) } |
|
Initial value: This variable indexes all entries neccessary for pdo-mapping for transmitting PDOs |