In the field of industrial motion control, CANopen has become a standardized communication interface for driving devices due to its open protocol stack and powerful real-time performance. Bonfiglioli has provided CM-CAN communication modules for its ACTION series frequency converters, enabling seamless integration into CANopen networks and compliance with CiA DS402 driver control specifications.
Chapter 1: Hardware Installation and CAN Bus Physical Layer
The CM-CAN module, as a communication expansion component of the frequency converter, needs to be installed in the card slot of the equipment. Proper installation and bus networking are the foundation of stable communication.
1.1 Key points of module assembly
According to the guidelines in Chapter 3 of the manual, the assembly process should follow the following safety steps:
Safe power-off: Before installing the module, it is necessary to ensure that the frequency converter has completely cut off the power supply and that the DC bus capacitor has been fully discharged (at least wait for 3 minutes).
PE spring grounding: The accompanying PE spring needs to be fixed to the inverter body with M4 screws, and then the communication module should be securely connected to the spring with M2 screws. This step realizes the low impedance connection between the CAN cable shielding layer and the equipment ground (PE), which is the key to ensuring EMC performance.
Cover plate treatment: After installation, the pre punched holes on the upper cover plate need to be knocked off to expose the Sub-D 9-pin socket X310.
1.2 CAN Bus Terminal Resistance and Cable Specification
The CAN bus requires terminal resistors to be configured at the first and last nodes of the physical bus (Chapter 4):
Activation method: Implemented through DIP switch S1 on the module (factory default is OFF). External terminals can also be configured in the bus connection plug.
Key Warning: Terminal resistors are only allowed to be activated at both ends of the bus and can only be terminated using one method (internal DIP or external plug). Configuration errors will directly lead to communication failures.
Definition of socket (DS102 specification): The X310 socket follows the CiA DS102 standard, with Pin 2 (CAN_L) and Pin 7 (CAN_S) as signal lines, Pin 3 and Pin 6 as CAN_SND, and the housing connected to PE.
Cable requirements: A twisted pair cable with a braided shielding layer must be used, and the shielding layer must be grounded with a large area and low impedance at both ends.
Chapter 2: CANopen Protocol Stack and Communication Objects (DS301)
The CANopen protocol of the CM-CAN module is based on the CiA DS301 (V4.01) standard, and its object dictionary is the core for understanding all communication functions.
2.1 Node Address and Baud Rate Setting
Node ID (CAN Node Number 387) (Chapter 6): Value range 0~127. Note: Node ID=0 (factory default) indicates that the CANopen interface is disabled. After setting a valid address, the frequency converter will automatically reset to apply the new address.
Baud rate (CAN Baud rate 385) (Chapter 5): The baud rate of all nodes must be consistent, which determines the maximum bus length:
50 kbps → 1000 meters
250 kbps → 250 meters
1000 kbps → 25 meters
2.2 Core Communication Object (0x1nn)
CM-CAN implements the core communication object defined by DS301 (Chapter 8.1):
0x1000/0 Device Type: Report that the device follows the DS402 driver specification (device type 402).
0x1001/0 Error Register: A bit encoded error status register, where Bit 4 indicates a communication error.
0x100C/0 protection time&0x100D/0 lifecycle factor: cooperate to achieve node guarding function.
0x1016/n Consumer heartbeat time: Supports monitoring up to 3 heartbeat producers. The numerical encoding is: the high 16 bits are the heartbeat time (ms), and the low 16 bits are the node ID.
0x1017/0 Producer heartbeat time: Set the interval for this node to send heartbeat messages. Set to 0 to disable heartbeat.
0x1018/n Identity object: Contains vendor ID (0x000000D5, VECTRON Elektronik GmbH).
2.3 The principle of choosing between heartbeat and node protection
Key Warning (Chapter 2): DS301 V4.01 supports two monitoring mechanisms: Guarding and Heartbeat, but only one can be selected. Mixing two mechanisms will lead to unpredictable network behavior.
Chapter 3: Process Data (PDO) and Service Data (SDO) Channels
3.1 PDO Mapping and Transport Types
CM-CAN implements two receive PDOs and two send PDOs by default (Chapter 8.2.1), both following the DS402 specification:
RxPDO1 (index 0x1400):
Mapping object: 0x6040 Control Word
Used to send control commands.
RxPDO2 (index 0x1401):
Mapping Object: 0x6040 Control Word+0x6042 Target Velocity
Sending control words and speed setpoint simultaneously within a single frame is more efficient.
TxPDO1 (index 0x1800):
Mapping object: 0x6041 Status Word
Default event triggering (sent when the status word changes).
TxPDO2 (index 0x1801):
Mapping object: 0x6041 status word+0x6044 control value (Control Effort, i.e. actual speed)