CANopen Slave Documentation
Version 7.00.02
|
The add-on module CANopen Device Profile CiA 410 allows the integration of an inclinometer as specified in CiA 410.
The module version is defined by COS_DS410_VERSION_MAJOR and COS_DS410_VERSION_MINOR. Please refer to the history for changes between different versions.
The module is configured by setting of the following symbols inside the cos_conf.h
file:
COS_DS410 | Enable device profile CiA 410 (Inclinometer) |
Use the header file cos410.h
to get access to the CANopen Device Profile CiA 410 API.
16-bit slope values are read by the application and forwarded to the protocol stack by means of Cos410_SetAngleValue16(). If dynamic PDO mapping is supported (COS_PDO_MAPPING > 0) the default mapping can be set inside the CosPdoComSetup() function, as shown in the following example:
32-bit slope values are read by the application and forwarded to the protocol stack by means of Cos410_SetAngleValue32(). If dynamic PDO mapping is supported (COS_PDO_MAPPING > 0) the default mapping can be set inside the CosPdoComSetup() function, as shown in the following example:
cos410.h | CiA 410 - Inclinometer |