Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The architecture of a CANopen device is standardized and shown in the following figure:


Panel
titleFigure - Device Architecture

Image Added


The central component in a CANopen device is the "Object Directory (OD)". The OD is organized as a table with object entries. Each "Entry" is addressed with a unique combination of "Index" and "SubIdx". The index is a 16 bit value (from 0 ... 0xFFFF), and the sub-index is a 8 bit value (from 0 ... 0xFF). Within the CANopen standard, the layout and usage of many object entries is specified and marked as "mandatory", "optional" or "manufacturer specific". The following table shows an overview of the OD areas:


IndexContent
0x0000Reserved
0x0001 – 0x025FData types
0x0260 – 0x0FFFReserved
0x1000 – 0x1FFFCommunication profile area
0x2000 – 0x5FFFManufacturer specific profile area
0x6000 – 0x9FFFStandardized device profile area
0xA000 – 0xBFFFStandardized interface profile area
0xC000 – 0xFFFFReserved


The "Communication Unit (CU)" uses the OD to set and get configuration settings, inform the device application about new received process data and transmit the device process data to the CAN network. For the different requirements of these activities, different CANopen protocol elements are specified. The CU takes care of all necessary operations to be compliant with the CANopen standard. The following table shows an overview of the UC modules and their responsibility:


CU ModuleResponsibility
NMTNetwork Management
SDOService Data Object Transfer
PDOProcess Data Object Transfer
SYNCSynchronization Module
EMCYEmergency Transfer
TIMETime Management


The "Network Management Management State Machine (NMT)" of all CANopen devices within a CANopen network is controlled by the CANopen network master. The following state machine is specified:


Panel
titleFigure - Network Management State Machine

Image Added


Within this state machine, the state transitions with a number (e.g. [129]) will be activated with a network management command equal to this number. If no transition criteria is stated, the transition will be activated after finished state operations automatically. The following table summarizes the network management commands:


NMT CommandDescription
1Start remote node
2Stop remote node
128Enter "Pre-Operational" state
129Reset node
130Reset communication


These NMT commands used by the CANopen network boot-up master to control the network. During the different states, the listed communication services are allowed:


 

InitializingPre-Op.OperationalStop
PDO Transfer
  


X
 

SDO Transfer
 

XX
 

SYNC Object
 

XX
 

Time Stamp Object
 

XX
 

Emergency Object
 

XX
 

Boot-Up ObjectX
  
 



NMT Object
 

XXX


Note: The Boot-Up message is sent only once during the transition from "Initialization" to "Pre-Operational".