CANopen Slave Protocol Stack 
Version 7.04.00
Loading...
Searching...
No Matches
CANopen Slave Protocol Stack

The files of the CANopen Slave protocol stack are located inside the source/stack-cos directory. The file cos_conf.h holds all definitions for the configuration of the CANopen Slave protocol stack. The following CANopen services are supported:

  • Service Data Objects (SDO Client, CANopen CC)
  • Universal Service Data Objects (USDO Client, CANopen FD)
  • Process Data Objects (PDO)
  • Network Management (NMT)
  • Emergency Service (EMCY)
  • Synchronisation Service (SYNC)
  • Time Service (TIME)
  • Layer Setting Services (LSS, Slave)

The functionality of the different CANopen services can be configured individually in order to achieve an optimal performance for different platforms and applications.

Naming Conventions

All functions, structures, definitions and constant values have the prefix Cos. The following table shows the used nomenclature:

CANopen Slave Stack Prefix
Functions Cos<Service><Name>
Enumerations eCOS_<NAME>
Structures Cos<Name>_ts
Defines COS_<SERVICE>_<NAME>
Error Codes eCOS_ERR_<NAME>

CANopen Slave protocol stack files

FileDescription
canopen.hGeneral CANopen definitions
cos_defs.hCANopen Slave definitions
cos_dict.hCANopen Slave object dictionary
cos_emcy.hCANopen Slave Emergency (EMCY) service
cos_led.hCANopen Slave LED management
cos_lss.hCANopen Slave layer setting service (LSS)
cos_mgr.hCANopen Slave management functions
cos_nmt.hCANopen Slave NMT service
com_pdo.hCANopen Slave PDO service
cos_sdo.hCANopen CC Slave SDO server service
cos_sync.hCANopen Slave SYNC service
cos_time.hCANopen Slave TIME service
com_usdo.hCANopen FD Slave USDO server service