According to CIA (CIA meaning CAN in Automation), the international users’ and manufacturers’ group for the CAN network (Controller Area Network), “CANopen is a CAN-based communication system. It comprises higher-layer protocols and profile specifications. CANopen has been developed as a standardized embedded network with highly flexible configuration capabilities. It was designed originally for motion-oriented machine control systems, such as handling systems. Today it is used in various application fields, such as medical equipment, off-road vehicles, maritime electronics, railway applications, or building automation.”
Like DeviceNet and J1939, CANopen is another low-level industrial application layer protocol for automation applications. CANopen connects automation devices together using peer messaging. Built on the standard CAN (Controller Area Network) physical communications standard, CANopen uses CAN hardware to define an application layer protocol that structures the task of configuring, accessing and messaging between various kinds of automation devices.
A CANopen device includes three parts:
Read on to understand the basic concepts of the CANopen protocol application layer.
Object Dictionary
The CANopen Object Dictionary is the core of a CANopen device. This is essentially a table that stores configuration and process data. As CANopen is an object-based communications protocol, the object dictionary is the connection point between the communication interface and the application program. CANopen defines a 16-bit index and 8-bit sub-index.
The CANopen Object Dictionary provides standardized communication objects for real-time data (PDOs – Process Data Objects), configuration data (SDOs – Service Data Objects), and special functions (Time Stamp, Sync Message, and Emergency Message) as well as network management data (Boot-up Message, NMT Message, and Error Control Message).
The two CANopen communication mechanisms for accessing the object dictionary are Service Data Objects (SDOs) and Process Data Objects (PDOs).
The basic CANopen datatypes for object dictionary values such as booleans, integers and floats are defined in the standard (their size in bits is optionally stored in the related type definition, index range 0x0001–0x001F), as well as composite data types such as strings, arrays and records (defined in index range 0x0040–0x025F). The composite datatypes can be subindex with an 8-bit index; the value in subindex 0 of an array or record indicates the number of elements in the data structure and is of type UNSIGNED8.
A CANopen protocol stack implements several CANopen COBs that are communicated with one of the CANopen bit-rates. The CANopen communication objects enable system designers to transfer control information, to react to certain error conditions or to influence and control the network behavior. There are 7 service types mentioned under CANopen communication protocols:
Network Management (NMT)
The NMT service is used for controlling the state of CANopen devices (e.g. pre-operational, operational, stopped) by means of NMT commands (e.g. start, stop, reset).
Synchronization (SYNC)
The SYNC message is used e.g. to synchronize the sensing of inputs and actuation of several CANopen devices – typically triggered by the application master.
Emergency (EMCY)
The emergency service is used in case a device experiences a fatal error (e.g. a sensor failure), allowing it to indicate this to the rest of the network.
Timestamp (TIME) (PDO)
With this communication service, a global network time can be distributed. The TIME service contains a 6-byte date & time information.
Process Data Object (PDO)
The PDO service is used to transmit real-time data between devices – e.g. measured data such as position or command data such as torque requests. A PDO communicates up to 8 bytes of pure application data.
Service Data Object (SDO)
The SDO services are used to access/change values in the object dictionary of a CANopen device – e.g. when an application master needs to change certain configurations of a CANopen device.
CANopen is on one hand standardized, but on the other hand, it is still open to a nearly unlimited field of applications.
CANopen provides several communication objects, which enable device designers to implement desired network behavior into a device. With these communication objects, device designers can offer devices that can communicate process data, indicate device-internal error conditions or influence and control the network behavior. As CANopen defines the internal device structure, the system designer knows exactly how to access a CANopen device and how to adjust the intended device behavior.
CANopen unburdens the developer from dealing with CAN hardware-specific details such as bit timing and acceptance filtering. It provides standardized communication objects (COB) for time-critical processes, configuration as well as network management data.
The 11-bit id of a CAN-frame is known as a communication object identifier or CANopen COB-ID. In case of a transmission collision, the bus arbitration used in the CAN bus allows the frame with the smallest id to be transmitted first and without a delay.
CANopen servo drives and CANopen motor controllers offer great advantages over traditional serial servo drives and controllers. The CIA standard object dictionaries provide a faster time-to-market for applications development and improve compatibility between slave devices and master controllers.
For system designers, it is very important to reuse application software. This requires not only communication compatibility but also interoperability and interchangeability of devices. CANopen device, interface, and application profiles enable device manufacturers to provide their products with standardized interfaces to achieve CANopen devices with “plug and play” capability. CANopen allows implementing manufacturer-specific functionalities.
Since its initial release in 1996, CANopen has found broad acceptance around the world as the leading standard for CAN-based system solutions.
Functionality, parameters and the access to process data of standard devices such as I/O modules, drives, controllers, or encoders are defined by so-called device profiles. Thus, devices of different manufacturers can be accessed via the bus in exactly the same manner. This provides a high degree of vendor independence.
Messung, the pioneer of the indigenous PLC in India, has developed the XM-PRO range of advanced CANopen I/O modules, which it uses to expand the capabilities of its smart automation solutions. In fields such as machine control, factory automation and building automation, Messung utilizes the power of CANopen to deliver cutting-edge automation solutions for productivity, efficiency and sustainability.
Welcome to Messung’s innovative indigenous developments of PLCs. Being pioneers in the development and manufacture of unique products since 1981, Messung has now developed a brand new series of PLCs in the small and medium category. With a competent in-house R&D team and a robust manufacturing set-up, Messung has put its forty-three years of experience in proving, once again, that ‘Make in India’ can happen and that too successfully with products of ‘International quality and at an Affordable price’. Which was the Mission and vision of the company since its inception in 1981.
Messung seeks to maintain its position as one of the successful industrial automation companies that provide world-class services and customer support and build its business on a platform of very satisfied customers both at the OEM and End-user levels. Coupled with domain knowledge in the automation of machineries in the Automotive, Plastic, Textile, Printing, and Packaging industries; helps customers to get both a very good PLC solution and the support of a team who is highly knowledgeable in the customer’s specific domains. Through our regular training programs and continuous interaction with customers, we not only support the customer but also continuously improve our products and their features to give our customers the latest solutions at par with the best in the world.
The recently launched XMPRO-10 PLC and our in-house developed Programming software the XMPS-2000 is the beginning of many more very sophisticated products that are in the pipeline, with faster and better execution times, more efficient instructions and features but also solutions that are now required with connectivity to Cloud functionality and in future with AI and Machine learning features.