CANopen Slave Documentation
Version 6.16.04
|
This file holds definition CiA 404 version and includes all activated sub-modules.
Macros | |
#define | COS_DS404_VERSION_MAJOR 2 |
#define | COS_DS404_VERSION_MINOR 2 |
Functions | |
uint16_t | Cos404_GetActiveDataType (void) |
uint8_t | Cos404_SetActiveDataType (uint16_t uwDataTypeV) |
enum Cos404_Channel_e |
This enumeration provides channel values used in conjunction with CiA 404. Note that the maximum channel value is defined by one of the following definitions in #cos_conf.h:
COS_DS404_AI
: if the analog input function block is supportedCOS_DS404_AO
: if the analog output function block is supported uint16_t Cos404_GetActiveDataType | ( | void | ) |
Get Active data type according to CiA 404 Draft Standard Proposal.
CoDT
This fuctions returns active data type of CiA 404 software module.
uint8_t Cos404_SetActiveDataType | ( | uint16_t | uwDataTypeV | ) |
[in] | uwDataTypeV | Value from CoDT that corresponds to data type |
eCosSdo_WRITE_OK
on success or any other value from CosSdo_e in case of an errorThis function is used to setup the active data type of the CiA 404 profile. The supported values are:
This parameter has impact on data elements for process and field values of CiA 404 AI and AO.