Drives and Control Solutions

Motors, Control Solutions, Power Transmission and Advanced Motion Technology                                                                 

June 2, 2020

The CiA 402 application profile is used to standardize the control of VFDs and servo drives.  A previous post provided an introduction to the profile.  This post will go into more detail on how the profile functions and how it can be implemented.

CAN System

The Controller Area Network (CAN) system is built upon the ISO Open System Interconnection (OSI) seven-layer model.  This model is designed for the interoperability in the communication of a computing system without defining how this goal is achieved through actual hardware or software.  The model is made up of seven layers: physical, data link, network, transport, session, presentation, and application.

Each layer is served by the layer below it and serves the layer above it (e.g. the data link layer is served by the physical layer and serves the network layer).  For CAN networks the physical and data link layers are considered lower layer protocols and the application layer is considered a higher layer protocol.  Meanwhile the network, transport, session, and presentation layers are often not explicitly implemented.

Multiple higher layer protocols are supported by CAN systems.  The simplest and most common is CANopen.  This defines an addressing scheme, communication protocols, and, most importantly for this post, a device profile in the application layer.  CAN in Automation (CiA) specifies CiA 301 as the basic device and communication profile.  It is upon this base that more advanced application profiles are built.  Examples include CiA 401 for I/O modules, CiA 417 for lift applications, but also the CiA 402 for VFDs and servo drives.

CiA 301 Profile

Before understanding how the CiA 402 profile functions, it is beneficial to first know what is defined by CiA 301.  First, the communication is implemented and follows a state machine for starting and restarting devices.  Then there is the object dictionary which defines all variables.  The object dictionary is specified in an EDS file, which can be created for KEB drives using the Combivis 6 wizards.  Ultimately the application is what actually achieves the profile function.  The application is manipulated by the variables in the object dictionary and then data is read/write across the communication layer.

In the object dictionary each entry contains an index, object type, name, type, and attribute.  First, the index is a 16 bit hexadecimal address and for CiA 301 range from 0x1000-0x1FFF.  The object type simply defines whether the entry is an array, record, or simple variable.  Next is the name, which is a string defining the entry such as vendor ID, control word, etc.  Then the type defines the datatype of the variable (INT, USINT, BOOL, etc.).  Finally the attribute provides whether the entry is read only, write only, or read/write.

KEB-Drives-S6-and-F6.jpg

CiA 402

Building upon the basics of CAN and CiA 301, the CiA 402 profile is meant to define the behavior of inverters and servo drives.  It is based on finite state automation (FSA) which is a state machine with definitions for behavior at each state.  The system must step incrementally through the state machine; it cannot jump over state(s) to get to a final state.  The states can be changed due to internal events in the drive (terminal I/O, internal logic, etc.) or from Service Data Objects (SDO) and Process Data Objects (PDO).

PDO and SDO

PDO and SDO are the heart of the communication and operation between the controller and drive.  The more important of the two is the PDO.  This is meant to process real time data between the controller and drive.  When setting up the system, the PDO must be mapped and it is made up of the transmit (drive to PLC) and receive (PLC to drive) PDOs (TPDO and RPDO).  Entries from the object dictionary can be used equaling up to 32 bytes for each transmit and receive. Thus for each communication transfer a total of up to 64 bytes can be transmitted/received.

To comply with the various CiA 402 operating modes, a specific set of PDO must be mapped.  For KEB, the standard mapping is as follows:

  •   -  Transmit (Drive to PLC): Status Word, Position Actual Value, Velocity Actual Value, Mode of Operation Display, and Velocity Mode Actual Velocity Value
  •   -  Receive (PLC to Drive): Control Word, Target Position, Target Velocity, Mode of Operation, Homing Method, Velocity Mode Target Velocity, Profile Velocity, and End Velocity

These mappings can be customized if desired to build upon the standard mapping, pare down if only select operating modes are required, or could be built from the ground up for specialized control.

CAN-CiA-402-PDO_Process-Data-Objects.jpg

For values that must be read/written that do not fall under the PDO, the SDO is used.  While the PDO is continuously being transmitted between the PLC and drive, the SDO can be considered a one-time read/write.  An example use of an SDO would be if the fault bit within the status word becomes true, the PLC could do a one-time read of the drive’s exception state to get a more complete error description.

State Machine

The state machine is used to define the actual operating state of the drive and how to change between operating states.  The state machine is broken up into four quadrants:

  1.   1. 24V control voltage applied, power supply to the drive can be supplied
  2.   2. Power to drive applied, no torque at motor
  3.   3. Power to drive applied, torque can be applied
  4.   4. Torque at motor

Within quadrants 1, 2, and 4 there are multiple operating states and as discussed above, it is not possible to jump over states, but instead the operation must follow logically from quadrant 1 to quadrant 4.

The state machine is largely controlled from the PLC using the control word and information is passed back from the drive using the status word.  Each is a 16 bit parameter and has a defined structure within the CiA 402 profile.  Some of these bit’s effects change with the selected operating mode and some bits are left open to allow for customization by the device manufacturer.

Operating Modes

Finally, within the CiA 402 are a defined set of operating modes for motion control.  These modes require the same commands from the PLC, have the same responses from the drive, and have the same operation to ensure interoperability between manufacturers.  It is important to note that a vendor can state they comply with parts of the standard, but not the entire specification so it is important to verify a vendor’s product meets the functionality requirement.  KEB supports the following operation modes: profile position mode, homing mode, velocity mode, cyclic synchronous position mode, cyclic synchronous velocity mode, and cyclic synchronous torque mode.  The mode can also be simply changed using the Mode of Operation RPDO.  The variety of operating modes and ease of use ensures the CiA 402 drive profile with KEB drives can meet all motion control needs.

Source


Editor's Pick: Featured Article


DCS Put to the Ultimate Test Part 1 Torsion Tests by HELUKABEL 1 400x275

Cables and wires in industrial robots and other moving machine parts are often required to withstand extreme stresses caused by torsion. Constant repetitive movements put materials under considerable strain. At the same time, operators expect components to function perfectly and reliably throughout their entire service life to avoid disruptions, outages and safety hazards.

For this reason, at HELUKABEL, we simulate intensive and continuous torsion stresses under realistic conditions with our high-tech testing equipment in Windsbach. We have several types of apparatus for doing this because some of our customers, for example those in the automotive industry, have very precise specifications for how a torsion test is carried out. The tests show that our cables and wires withstand speeds up to 1,000°/s, accelerations up to 2,000°/s² and torsion angles up to 720°. Hence, we make sure that each product always meets our customers’ high standards, and that they receive the impeccable quality they rightly expect from us as a leading supplier of cables, wires and accessories for more than 40 years.

What Is Torsion?

 

To learn the answer, click here 

 


Sponsored Content


30 Minute Live Webinar 2:30 PM ET January 19th, 2023

DCS Siemens Sponsored Content 30 Minute Live Webinar January19 2023 300x250

 

 

With PC-based automation, you can implement applications and solutions that far exceed the functions of a classic controller. SIMATIC PC-based products offer you a flexible, innovative platform with long-term availability that give you a home field advantage when meeting the challenges of the digital factory for your machines and plants.

  

Register now

 


 


DCS Festo Didactic at the Forefront of Developing Canadas Future Workforce 1 400x275

With Canadian manufacturing suffering from a growing labour shortage, the participation of industry in skills development is emerging as a vital component in hiring and retention.

The needs are stark: The Canadian Exporters and Manufacturers Association says almost 40% of its members have jobs they can’t fill. Five years from now, 60% expect to be short-staffed, especially when it comes to skilled trades. Statistics Canada forecasts the country’s labour force growth rate will remain below 0.2% for the rest of the decade, below replacement levels.

This growing shortage is affecting companies of all sizes. Already, some manufacturers acknowledge losing out on contracts because they can’t find the manpower to fulfill them.

In reality, the challenge is two-fold: to replenish and expand the workforce to help close the gap between the number of job seekers and vacancies through 2030 when the last baby boomers reach age 65, and ensure workers get opportunities throughout their careers to upgrade or add to their skillset as current technologies evolve and new ones emerge. Festo, through Festo Didactic, one of the world leading provider of equipment and solutions for technical education, intends to help Canada meet this challenge on both fronts. In essence, the approach Festo has always taken is that the learning never stops.

 

Read more here


 

Product News

  • Prev
  When working with industrial pumping, such as crop irrigation or wastewater ...
  Littelfuse, Inc. has announced the new C&K Switches NanoT product line, a series ...
  VFD cables are a critical component to extend a motor’s life cycle within a VFD ...
  AutomationDirect has added new models of Dold safety relays to their line of safety ...
  AutomationDirect has added more low-cost ProSense float level switches. The new ...
  AutomationDirect has added new cable entry system options to their Murrplastik ...
   Emerson recently introduced the ASCO™ Series 209 proportional flow control ...
  Omron Automation Americas will introduce two new AOI systems at IPC Apex 2023 in San ...
  Teledyne FLIR Integrated Imaging Solutions is pleased to announce the all new ...
  ABB’s Sensi+ analyzer offers a reliable new solution which simplifies and reduces the ...

New Product

DCS New Emerson Valves Deliver Proportional Flow Control Performance 1 400x275

Emerson recently introduced the ASCO™ Series 209 proportional flow control valves, which offer the highest standards of precision, pressure ratings, flow characteristics and energy efficiency available in a purpose-built, compact architecture. With this combination of size and performance, Series 209 valves allow users to precisely regulate the flow of fluid in a wide range of devices that require exacting performance, like those found in the medical equipment, food and beverage, and heating, ventilation and air conditioning (HVAC) industries. 

Accuracy, response time and repeatability are critical in high-precision flow control applications, such as controlling tool speed in dental chairs, the flow of steam in coffee makers, water flow in cooling systems and hydrogen flow in fuel cells. Series 209 valves have low hysteresis (less than or equal to 5%), excellent repeatability (less than or equal to 1%) and high sensitivity (less than or equal to 0.2%) that contribute to their precision. 


To find out more, click here


 


Featured Product

DCS Teledyne Announces New Ladybug6 Cameras for High Accuracy 1 400x275 

Teledyne FLIR Integrated Imaging Solutions is pleased to announce the all new Ladybug6— the latest addition to its field proven Ladybug series. Ladybug6 is the leading high-resolution camera designed to capture 360-degree spherical images from moving platforms in all-weather conditions. Its industrial grade design and out-of-the-box factory calibration produces 72 Megapixel (MP) images with pixel values that are spatially accurate within +/- 2 mm at 10-meter distance.

“The new Teledyne Ladybug6 is designed for mobile mapping and all-weather inspection projects requiring excellent image quality and high resolution,” said Mike Lee, Senior Product Manager at Teledyne FLIR. “With the addition of Ladybug6, we are now pleased to offer a wider variety of spherical cameras with higher resolutions ranging from 30 MP to 72 MP.”

 

To learn more, click here


 

Latest News

  • Prev
  The Ontario government has concluded a successful trade mission to South Korea and ...
  ABB and Hydrogen Optimized Inc. (HOI), the Canadian technology innovator unlocking ...
  World leaders from government and industry will meet in the southern Denmark city of ...
  The ABB #BuildtheFuture Roadshow delivers the latest electrical products, services, ...
  Global industry is accelerating its investment in energy efficiency in the next five ...
  In March 2022, the new edition of the installation standard IEC 61918:2018/AMD1:2022 ...
  On this episode of the Allied Expert Advice podcast, Carlos Riano, Senior Offer ...
  Advanced Micro Controls Inc. (AMCI) has realized growth throughout the Midwest United ...
  Ballard Power Systems recently announced that the company has launched a three-year ...
  Discover the difference a Gutor-backed setup can have on your business and ...

538 Elizabeth Street, Midland,Ontario, Canada L4R2A3 +1 705 527 7666
©2025 All rights reserved

Use of this Site constitutes acceptance of our Privacy Policy (effective 1.1.2016)
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Kerrwil