h void myFuncGlob(void) { /* Direct address instead of OD_find() */ OD_entry_t *entry_errReg = ODxyz_1001_errorRegister; /* Direct access to OD variable */ uint32_t devType = ODxyz_0.x1000_deviceType; ODxyz_0.x1018_identity.serialNumber = 0x12345678; }...
In case of a configuration error, the corresponding error code will be set within the node error.When this configuration is set to 0, all the Emergency service support is disabled within the stack. Integer between 1 and 255 (default is 6) CANOPEN_EMCY_REG_CLASS_EN This constant enables ...
Example - 42 - UNS32 OnODDataChanged(HACONODE hNode, UNS16 wIndex, UNS8 SubIndex, UNS8 DataType, UNS32 DataLen, void * pData, LPVOID pvArg) { //To do. Return 0; } void RegNodeEvents(void) { acoRegODDataChangedEvent(hSlaveNode, 0x1800, 0x02, OnODDataChanged, NULL); } acoUnRe...
h void myFuncGlob(void) { //Direct address instead of OD_find() OD_entry_t *entry_errReg = ODxyz_1001_errorRegister; //Direct access to OD variable uint32_t devType = ODxyz_0.x1000_deviceType; ODxyz_0.x1018_identity.serialNumber = 0x12345678; }...
h void myFuncGlob(void) { /* Direct address instead of OD_find() */ OD_entry_t *entry_errReg = ODxyz_1001_errorRegister; /* Direct access to OD variable */ uint32_t devType = ODxyz_0.x1000_deviceType; ODxyz_0.x1018_identity.serialNumber = 0x12345678; } Object Dictionary ...
h void myFuncGlob(void) { //Direct address instead of OD_find() OD_entry_t *entry_errReg = ODxyz_1001_errorRegister; //Direct access to OD variable uint32_t devType = ODxyz_0.x1000_deviceType; ODxyz_0.x1018_identity.serialNumber = 0x12345678; }...
h void myFuncGlob(void) { /* Direct address instead of OD_find() */ OD_entry_t *entry_errReg = ODxyz_1001_errorRegister; /* Direct access to OD variable */ uint32_t devType = ODxyz_0.x1000_deviceType; ODxyz_0.x1018_identity.serialNumber = 0x12345678; } Object Dictionary ...
h void myFuncGlob(void) { //Direct address instead of OD_find() OD_entry_t *entry_errReg = ODxyz_1001_errorRegister; //Direct access to OD variable uint32_t devType = ODxyz_0.x1000_deviceType; ODxyz_0.x1018_identity.serialNumber = 0x12345678; } Object Dictionary Example {#object...