Skip to content

CANopen CiA 402 Profile with SOLO: A Practical Guide

Knowledge & Insights

Introduction

CiA 402 is the one profile that lets a drive talk to almost any CANopen master without custom glue code. It defines six bits in a control word, a handful of states, and a few modes of operation. Learn those, and a SOLO unit behaves like any other standard servo drive on the bus.

This guide shows you how to speak CiA 402 with SOLO in practice. You will see the object dictionary, the state machine, the modes of operation, and a minimal sequence to bring a motor to Operation Enabled and move it.

What CiA 402 Is (and Why It Matters)

CiA 402 is a device profile for electric drives that run on CANopen. CANopen itself is the transport: it moves objects over a CAN bus. CiA 402 sits on top and standardizes what those objects mean for a motor drive. It defines the control word, the status word, the state machine, and the modes of operation that every compliant drive shares.

The payoff is interoperability. A PLC or motion master that already drives one CiA 402 device can drive a SOLO unit the same way, because the control word and the standard objects are identical. You write less device-specific code, and you can swap or add drives with little rework.

If you need the layer below first, read our guide to CANopen communication for motors. It covers node-ID, bit-rate, and the basics of how the bus carries data.

Takeaway: CANopen carries the data, CiA 402 gives that data a standard meaning for drives.

CANopen Basics on SOLO

Before the state machine, you need to know how SOLO exposes its data on the bus. Two things matter: the object dictionary and the way objects move across the network.

Diagram of CANopen communication stack between CAN bus and process environment

Object Dictionary

The object dictionary is the map of everything a CANopen device exposes. Each entry has a 16-bit index and an 8-bit sub-index, so the master can read or write any parameter by address. CiA 402 reserves a known range for drive objects. The control word lives at index 0x6040, the status word at 0x6041, and the modes of operation at 0x6060. SOLO maps its drive parameters onto these standard indices, so a generic master finds them where the profile says they should be.

Each SOLO unit on the bus has a unique node-ID from 1 to 127. The node-ID sets the CAN identifiers the device listens to and replies on.

PDO and SDO

CANopen moves objects two ways. SDO (Service Data Object) is a request-and-reply channel for configuration. You use it to read or write any object dictionary entry by index and sub-index, one at a time. It is reliable but not fast, so it fits setup and one-off parameter changes.

PDO (Process Data Object) carries real-time data with no per-message handshake. You map the control word, status word, and the active setpoint into PDOs, then they stream on every cycle or on change. This is how you keep latency low while the drive runs. As a rule, configure with SDO, then run with PDO.

Takeaway: SOLO puts the CiA 402 objects at their standard indices, so use SDO to set up and PDO to run.

The CiA 402 State Machine

A CiA 402 drive does not jump straight to spinning. It walks through a defined state machine that protects the hardware. You drive the transitions by writing the control word (0x6040), and you read the result in the status word (0x6041). The motor only produces torque in the Operation Enabled state.

The table below shows the main path from power-on to a running motor. The control word values are the standard CiA 402 commands.

StateControl word commandStatus word indicatesTransition to
Switch On Disabled(after power-on or reset)Ready bit clearReady to Switch On
Ready to Switch OnShutdown (0x0006)Ready to switch onSwitched On
Switched OnSwitch On (0x0007)Switched on, voltage enabledOperation Enabled
Operation EnabledEnable Operation (0x000F)Operation enabled, motor active(running)
FaultFault Reset (0x0080)Fault bit set until clearedSwitch On Disabled

Controlword and Statusword

The control word is a 16-bit object. Its low bits form the commands above: Switch On, Enable Voltage, Quick Stop, Enable Operation, plus Fault Reset on bit 7. You change states by sending the right combination, not by writing a state number.

The status word is the mirror. Its bits report the current state, whether voltage is enabled, whether a fault is active, and whether the setpoint was reached. Always read the status word back after a command, and confirm the expected bits before you send the next one. This is how you avoid commanding a transition that the drive has not yet accepted.

Bringing the Drive to “Operation Enabled”

The sequence is short and always the same. Send Shutdown (0x0006), check the status word for Ready to Switch On. Send Switch On (0x0007), check for Switched On. Send Enable Operation (0x000F), check for Operation Enabled. After that last step the drive is live and will follow the setpoint in the active mode. If a Fault appears at any point, clear it with Fault Reset (0x0080) and start again from Shutdown.

Takeaway: write the control word, read the status word back, and only advance once the expected bits are set.

Modes of Operation

The mode of operation decides what kind of setpoint the drive follows. You select it by writing object 0x6060, and you confirm it in 0x6061. SOLO supports the common profile modes and the cyclic synchronous modes. Pick the one that matches your control loop.

Profile Position (PP)

In Profile Position mode, you send a target position (0x607A) and the drive moves there using its own trapezoidal or limited profile, with set velocity, acceleration, and deceleration. You trigger each move with the new-setpoint bit in the control word. PP fits point-to-point motion where the master gives a goal and lets the drive plan the trajectory.

Profile Velocity (PV)

In Profile Velocity mode, you send a target velocity (0x60FF) and the drive ramps to it and holds it. The drive applies its acceleration and deceleration limits. PV fits conveyors, pumps, and any job where steady speed matters more than a final position.

Profile Torque (PT)

In Profile Torque mode, you command a target torque (0x6071) and the drive regulates current to hold it, within its limits. PT fits tensioning, winding, and test rigs where force is the controlled quantity rather than speed or position.

Cyclic Synchronous Modes (CSP/CSV/CST)

The cyclic synchronous modes (CSP for position, CSV for velocity, CST for torque) move the trajectory planning to the master. The master sends a fresh setpoint every cycle, and the drive just follows it, tightly synchronized to the network clock. These modes suit coordinated multi-axis motion and hard real-time control, and they typically run on EtherCAT rather than plain CANopen. For the timing side, see our overview of time-sensitive protocols.

Takeaway: use PP, PV, or PT when the drive plans the move, and the cyclic modes when the master plans every step.

A Minimal CiA 402 Sequence with SOLO

Here is the smallest useful flow, end to end. It assumes the node-ID and bit-rate are already set and the bus is up.

  1. Set the mode. Write 0x6060 with the mode value, for example Profile Velocity. Read 0x6061 to confirm.
  2. Enable the drive. Send Shutdown (0x0006), then Switch On (0x0007), then Enable Operation (0x000F) to 0x6040, checking the status word at each step.
  3. Send the setpoint. Write the target object for your mode, for example target velocity (0x60FF) in PV.
  4. Read status. Poll 0x6041 to confirm the drive is enabled, the setpoint is reached, and no fault is set.

The videos below show this in action: a BLDC speed run over CANopen, and a position profile on a SOLO MINI.

Wiring diagram: SOLO UNO with CAN shield, CANopen, BLDC motor, 8-58VDC

Takeaway: set mode, enable, send setpoint, read status. The same four steps work for every mode.

From One Drive to a Network

One drive is the building block. Most real systems run several. Once you add nodes, you deal with device addressing, heartbeat monitoring, and bus design, which is its own topic with its own rules. The CiA 402 profile per node stays exactly the same, so what you learned here still applies to each unit.

Diagram of versatile communication topology with UART, CAN, and EtherCAT

If a PLC is your master, the same control word and object dictionary are what the PLC writes and reads, so the integration pattern carries over to ladder or structured text on the controller side.

Takeaway: CiA 402 scales node by node, so a single-drive setup is the template for the whole network.

How SOLO Supports CiA 402 Integration

SOLO controllers support CANopen with the CiA 402 drive profile, so a standard master can use the control word, status word, and the modes of operation described above. The same units also handle other interfaces, which helps when a project mixes CANopen with UART or other links. To make integration faster, SOLO provides libraries and SDKs that wrap the object dictionary access, so you can read and write the standard objects from your own code instead of building the CANopen layer from scratch. You can find the current libraries, documentation, and examples on the SOLO resources page.

Conclusion

CiA 402 turns a motor drive into a standard CANopen device. You map the control word and status word to their fixed indices, walk the state machine to Operation Enabled, pick a mode of operation, and send the matching setpoint. SOLO exposes these objects where the profile expects them, so a generic master can drive it with little custom code. Start with one node and the simple four-step sequence, then scale out when you need a network. To get the libraries and examples that wrap this for you, head to the SOLO resources page.

FAQ

What is the difference between CANopen and CiA 402?

CANopen is the communication system that moves objects over a CAN bus, with an object dictionary, SDO, and PDO. CiA 402 is a device profile on top of CANopen that standardizes what those objects mean for a motor drive: the control word, status word, state machine, and modes of operation. CANopen is the transport, CiA 402 is the drive language.

How do I enable the drive over CiA 402?

Walk the state machine using the control word at 0x6040. Send Shutdown (0x0006), then Switch On (0x0007), then Enable Operation (0x000F), and check the status word at 0x6041 after each step. The drive produces torque only once it reaches the Operation Enabled state.

Which modes of operation does SOLO support?

SOLO supports the common profile modes, Profile Position (PP), Profile Velocity (PV), and Profile Torque (PT), and the cyclic synchronous modes (CSP, CSV, CST). You select the mode by writing object 0x6060 and confirm it in 0x6061.

Do I need CiA 402 for a single motor?

Not always. For a single motor on a simple link you can use a more direct command set. CiA 402 pays off when you want interoperability with a standard CANopen or motion master, or when you plan to add more drives later and want one consistent way to control them all.

Tags:CANopenCiA 402Integration

Browse all categories

Drive your next innovation today

Discover our High-Performance Motor Controllers, Test Benches, and Services trusted worldwide.