TN0002 CANopen Communication Feature Extensions
| Item | Details |
|---|---|
| Document Number | TN0002 |
| Revision | Rev. 1.0 |
| Applicable Products | JxServo Joint Module / Integrated Communication Module |
| Applicable Scenarios | CANopen parameter configuration, default parameter restore, electrical angle calibration, version reading, fault reading & fault item control, node reset |
| Language | English |
| Last Updated | 2026-06-05 |
This technical note summarizes newly added and extended CANopen communication features for product delivery, field commissioning, system integration, and project maintenance. Unless otherwise stated, all examples assume a target device with Node ID 1.
Operations involving restoring default parameters, masking/enabling fault items, clearing fault parameter overrides, modifying CAN communication bit rates, calibrating electrical angle, and resetting nodes directly impact device parameters, protection capabilities, bus communication, or motor motion. Before executing any of these commands, confirm that the Joint Module is in a safe mechanical position, the servo is Disabled, and the master has reconnection and power-cycle recovery capabilities.
1. SDO and NMT Conventions
All CANopen SDO examples in this document use the standard COB-IDs below:
| Direction | COB-ID | Note |
|---|---|---|
| Master -> Node | 0x600 + NodeID | 0x601 for Node 1 |
| Node -> Master | 0x580 + NodeID | 0x581 for Node 1 |
Common SDO command specifiers:
| Command Byte | Direction | Meaning |
|---|---|---|
0x40 | Master -> Node | SDO Upload request (read Object Dictionary entry) |
0x23 | Master -> Node | SDO Expedited Download (write 4-byte object) |
0x60 | Node -> Master | SDO Download confirmation (write succeeded) |
0x60 | Master -> Node | Segmented Upload continuation request |
0x43 | Node -> Master | SDO Expedited Upload response returning 4 bytes |
0x80 | Node -> Master | SDO Abort transfer (command rejected) |
Object Dictionary indices in SDO frames are encoded in Little-Endian byte order. For example, reading object 0x2540 Sub-index 00:
CAN ID: 0x601
DLC: 8
DATA: 40 40 25 00 00 00 00 00
2. CAN Bit Rate Configuration 0x2540
CAN communication bit rate can be modified over CANopen SDO via the manufacturer-specific Object Dictionary entry 0x2540:00.
2.1 Bit Rate Values
| Write Value | Communication Mode |
|---|---|
0 | Classic CAN 500K |
1 | Classic CAN 1M |
2 | CAN FD 1M/1M, BRS disabled |
3 | CAN FD 1M/2M, BRS enabled |
4 | CAN FD 1M/5M, BRS enabled |
2.2 Read and Write Examples
Read current bit rate setting:
CAN ID: 0x601
DLC: 8
DATA: 40 40 25 00 00 00 00 00
Set to Classic CAN 500K:
CAN ID: 0x601
DLC: 8
DATA: 23 40 25 00 00 00 00 00
Set to CAN FD 1M/5M with BRS enabled:
CAN ID: 0x601
DLC: 8
DATA: 23 40 25 00 04 00 00 00
Successful write response:
CAN ID: 0x581
DLC: 8
DATA: 60 40 25 00 00 00 00 00
2.3 Activation Conditions
Writing 0x2540 stores the setting into BootPublic. The device does not hot-switch the active CAN bit rate online; a node reset, reboot, or power cycle is required for the new rate to take effect.
Important precautions before execution:
- Keep the servo in the Disabled state when modifying communication bit rate.
- After a successful SDO write, the master must continue using the old bit rate for the remainder of the current session.
- Once the device resets or power-cycles, switch the master to the new bit rate to reconnect.
3. Restore Default Parameters 0x1011:03
Application default parameters can be restored via standard CANopen Object Dictionary entry 0x1011 Sub-index 03. Writing the 32-bit signature 0x64616F6C—the ASCII string "load"—triggers the default parameter restore.
3.1 Execution Behavior
This operation is equivalent to the "Restore System Defaults (set_boot=1)" command in the Juxie Intelligent USB host software:
- Overwrites parameter bank
DEFAULT(1)with factory/firmware defaults. - Sets the boot parameter bank to
DEFAULT(1). - Does not rely on toggling active/staging parameter banks; after restoration, active runtime parameters switch directly to default values and take effect immediately.
- No reboot is required for the restored parameters to take effect.
3.2 Interlock Conditions
- Allowed only when the servo is Disabled.
- If the servo is currently Enabled, the device immediately rejects the request with an SDO Abort.
- While Disabled, the device automatically grants the Level-2 privilege required for this restore operation without needing a separate prior unlock command.
3.3 Write Example
For Node ID 1, the master transmits:
CAN ID: 0x601
DLC: 8
DATA: 23 11 10 03 6C 6F 61 64
Byte breakdown:
| Bytes | Meaning |
|---|---|
23 | SDO expedited download, 4 bytes |
11 10 | Index = 0x1011, Little-Endian |
03 | Sub-index = 0x03 |
6C 6F 61 64 | Value = 0x64616F6C, Little-Endian ("load") |
Successful response:
CAN ID: 0x581
DLC: 8
DATA: 60 11 10 03 00 00 00 00
Verification:
0x581 = 0x580 + NodeID(1).- Byte 0 (
0x60) indicates SDO download success. - Bytes 1..3 (
11 10 03) confirm write completion on0x1011:03.
3.4 Response When Servo Is Enabled
If the device is still in the servo Enabled state, it responds with:
CAN ID: 0x581
DLC: 8
DATA: 80 11 10 03 22 00 00 08
Verification:
- Byte 0 (
0x80) indicates an SDO Abort. - The abort code is
22 00 00 08in Little-Endian, i.e.,0x08000022. - Meaning: Data cannot be transferred or stored to the application because of the present device state—Disable the servo first before resending.
4. Electrical Angle Calibration 0x2654:00
Electrical angle calibration can be started via CANopen SDO object 0x2654:00, and calibration progress/results are polled through the exact same object.
4.1 Start Command Format
Write a uint32 value structured as follows:
bits 31..24 = 0xCA
bits 23..16 = mode
bits 15..0 = align_current_mA
| Field | Meaning |
|---|---|
mode=0 | Direct detection |
mode=1 | Bidirectional fitting |
align_current_mA=0 | Use firmware's internal default alignment current |
align_current_mA != 0 | Explicit d-axis alignment current in mA |
4.2 Start Examples
Node ID 1, bidirectional fitting with default current:
CAN ID: 0x601
DLC: 8
DATA: 23 54 26 00 00 00 01 CA
Node ID 1, bidirectional fitting with 6 A (6000 mA = 0x1770) alignment current:
CAN ID: 0x601
DLC: 8
DATA: 23 54 26 00 70 17 01 CA
Successful write response:
CAN ID: 0x581
DLC: 8
DATA: 60 54 26 00 00 00 00 00
4.3 Reading Calibration Results
Read 0x2654:00:
CAN ID: 0x601
DLC: 8
DATA: 40 54 26 00 00 00 00 00
Response value format:
bits 31..24 = 0xAC
bits 23..16 = mode
bits 15..8 = status
bits 7..0 = error_code
| Field | Meaning |
|---|---|
status=0 | Calibration failed |
status=1 | Calibration succeeded |
status=2 | Calibration in progress |
error_code | Failure error code; typically 0 when succeeded or in progress |
Response examples:
Calibration in progress:
CAN ID: 0x581
DLC: 8
DATA: 43 54 26 00 00 02 01 AC
Calibration succeeded:
CAN ID: 0x581
DLC: 8
DATA: 43 54 26 00 00 01 01 AC
Calibration failed with error code 0x03:
CAN ID: 0x581
DLC: 8
DATA: 43 54 26 00 03 00 01 AC
4.4 Interlocks and Abort Codes
| Condition | Response |
|---|---|
| Started while servo is Enabled | SDO Abort 0x08000022 |
Invalid mode or invalid command header | SDO Abort 0x06090030 |
Notes:
- Both starting calibration and polling results are performed through the single SDO object
0x2654:00. - The calibration module does not send unsolicited completion frames; the master should poll
0x2654:00via SDO to check status. - Electrical angle calibration drives motor current and causes rotor motion—ensure the Joint Module is securely mounted with unobstructed travel clearance beforehand.
5. Fault Reading and Fault Item Control 0x4500
Accessing Object Dictionary entry 0x4500 via CANopen SDO enables historical fault reading, individual fault masking/enabling, Flash override clearing, and non-volatile persistence.
| Object | Purpose |
|---|---|
0x4500:00 | Read historical diagnostic fault codes |
0x4500:01 | Write fault control commands |
Use 0x603F:00 when reading the currently active / actually transmitted error code. For detailed differences between 0x4500:00 and 0x603F:00, refer to FC0001 V2.0 Fault Code Encoding and SDO Reading Guide.
5.1 32-Bit Command Format
Control commands written to Sub-index 0x4500:01 are 32-bit integers placed into the SDO payload in Little-Endian byte order:
[31:24] op
[23:16] flags
[15:0] fault code
| Field | Meaning |
|---|---|
op=0x01 | Mask (disable) the specified fault item |
op=0x02 | Enable the specified fault item |
op=0x03 | Clear fault parameter overrides in Flash and reload firmware default protection parameters into RAM |
op=0x04 | Save the current RAM fault configuration table to the Flash override region |
flags bit0=1 | Clear the fault's runtime latch state simultaneously when masking |
flags bit0=0 | Do not clear runtime state when masking |
5.2 Example: Excessive Velocity Tracking Error (0x0507)
The full 32-bit diagnostic ID for excessive velocity tracking error is:
0x02000507
Only the lower 16-bit fault code is passed in the SDO control command:
code = 0x0507
Common command values written to 0x4500:01 via SDO:
| Write Value | Effect | SDO Payload Bytes (Little-Endian) |
|---|---|---|
0x01010507 | Mask excessive velocity error and clear its runtime state | 07 05 01 01 |
0x01000507 | Mask excessive velocity error without clearing runtime state | 07 05 00 01 |
0x02000507 | Re-enable excessive velocity error protection | 07 05 00 02 |
0x03000000 | Clear Flash fault overrides and reload firmware default protection table to RAM | 00 00 00 03 |
0x04000000 | Save current RAM fault table to Flash override region | 00 00 00 04 |
Example frame—mask excessive velocity tracking error and clear its runtime state:
CAN ID: 0x601
DLC: 8
DATA: 23 00 45 01 07 05 01 01
Successful write response:
CAN ID: 0x581
DLC: 8
DATA: 60 00 45 01 00 00 00 00
5.3 Reading Fault Codes
Read historical diagnostic code:
CAN ID: 0x601
DLC: 8
DATA: 40 00 45 00 00 00 00 00
Read currently active / transmitted error code:
CAN ID: 0x601
DLC: 8
DATA: 40 3F 60 00 00 00 00 00
5.4 Execution Notes
- All operations
op=0x01/0x02/0x03/0x04require the servo to be Disabled. - If the servo is Enabled, the SDO write is rejected without modifying RAM or Flash.
- Upon receipt, the device validates
opandcodefirst; invalid fault codes never touch the internal fault table. - Masking or enabling directly updates the
enabledfield in the active RAM fault table. - Setting
flags bit0=1clears the runtime state of only the targeted fault item without affecting any other active faults. op=0x03is equivalent toP0=3(Clear Override) in the Juxie Intelligent USB host tool's "Fault Parameter Save/Load" command: it erases the Flash override region and reloads firmware default protection parameters into RAM.op=0x04persists the current RAM fault table to Flash so that mask/enable settings survive power cycles.- Masking faults reduces protective coverage and should only be used during controlled commissioning or project-specific scenarios with well-understood risk boundaries.
ZLG CAN Tool .list Example: Read / Mask / Enable / Clear Override / Save Faults
<?xml version="1.0"?>
<SendList m_dwCycles="1">
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="100" iTimes="1" len="1" szname="01_Read_0x4500_HistoryFault_CheckNode1" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="010600000801000040004501000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="100" iTimes="1" len="1" szname="02_Mask_VelError_KeepRuntime_code0507" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="010600000801000023004501070500010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="100" iTimes="1" len="1" szname="03_Enable_VelError_code0507" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="010600000801000023004501070500020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="100" iTimes="1" len="1" szname="04_Mask_VelError_ClearRuntime_code0507" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="010600000801000023004501070501010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="300" iTimes="1" len="1" szname="05_Clear_FlashFaultOverride_RestoreDefault" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="010600000801000023004501000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="300" iTimes="1" len="1" szname="06_Save_RAMFaultTable_ToFlashOverride" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="010600000801000023004501000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="100" iTimes="1" len="1" szname="07_ReRead_0x4500_HistoryFault_VerifySDO" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="010600000801000040004501000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
</SendList>
6. CANopen Version Information Reading
Standard CiA 301 version objects remain unchanged, while extended Bootloader and Mainline version strings are exposed under Object Dictionary entry 0x3100 (firmwareVersion).
6.1 Version Objects
| OD Entry | Name | Example Return Value |
|---|---|---|
0x1008:00 | Manufacturer Device Name | JXZN |
0x1009:00 | Manufacturer Hardware Version | V2.0.0 |
0x100A:00 | Manufacturer Software Version | V2.0.1 |
0x3100:04 | Boot Version | V1.1.0 |
0x3100:05 | Mainline Version | V2.1.0 |
Version strings are returned in ASCII. When a string exceeds 4 bytes, CANopen uses SDO Segmented Upload: after receiving the initiate upload response, the master must send 0x60 segment upload requests (toggling the toggle bit if multiple segments follow) until transfer completes.
6.2 Read Frame Examples
Read Device Name 0x1008:00:
CAN ID: 0x601
DLC: 8
DATA: 40 08 10 00 00 00 00 00
Read Hardware Version 0x1009:00:
CAN ID: 0x601
DLC: 8
DATA: 40 09 10 00 00 00 00 00
Read Software Version 0x100A:00:
CAN ID: 0x601
DLC: 8
DATA: 40 0A 10 00 00 00 00 00
Read Boot Version 0x3100:04:
CAN ID: 0x601
DLC: 8
DATA: 40 00 31 04 00 00 00 00
Read Mainline Version 0x3100:05:
CAN ID: 0x601
DLC: 8
DATA: 40 00 31 05 00 00 00 00
Segmented upload continuation request:
CAN ID: 0x601
DLC: 8
DATA: 60 00 00 00 00 00 00 00
ZLG CAN Tool .list Example: Read Device, Hardware, Software, Boot, and Mainline Versions
<?xml version="1.0" encoding="UTF-8"?>
<SendList m_dwCycles="1">
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="50" iTimes="1" len="1" szname="01_Read_DeviceName_1008" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="01060000080100004008100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="50" iTimes="1" len="1" szname="02_Read_HardwareVersion_1009" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="01060000080100004009100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="50" iTimes="1" len="1" szname="03_HardwareVersion_SegmentReq" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="01060000080100006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="50" iTimes="1" len="1" szname="04_Read_SoftwareVersion_100A" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="0106000008010000400A100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="50" iTimes="1" len="1" szname="05_SoftwareVersion_SegmentReq" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="01060000080100006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="50" iTimes="1" len="1" szname="06_Read_BootVersion_3100_04" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="01060000080100004000310400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="50" iTimes="1" len="1" szname="07_BootVersion_SegmentReq" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="01060000080100006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="50" iTimes="1" len="1" szname="08_Read_MainlineVersion_3100_05" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="01060000080100004000310500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
<tagSendUint bIncreaseID="0" bIncreaseData="0" start_index="0" byte_length="0" iInterval="50" iTimes="1" len="1" szname="09_MainlineVersion_SegmentReq" select="1" transmitas="2" e2e="0" e2eDataId="0" obj="01060000080100006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" is_canfd="1"></tagSendUint>
</SendList>
7. CANopen NMT Safe Node Reset
Standard CANopen NMT commands can reset the MCU of a specified node. Rather than rebooting abruptly upon frame reception, reset requests pass through a unified safe-reset sequence.
7.1 Reset Frame Format
Transmit an 11-bit standard CAN frame:
| Field | Value |
|---|---|
| CAN ID | 0x000 |
| DLC | 2 |
| Byte0 | 0x81, Reset Node |
| Byte1 | Target Node ID, 1..127; 0 for broadcast |
Reset Node 1:
CAN ID: 0x000
DLC: 2
DATA: 81 01
Also currently supported:
CAN ID: 0x000
DLC: 2
DATA: 82 01
0x82 is CANopen Reset Communication. Currently, this command enters the same safe MCU soft-reset sequence as Reset Node; restarting only the CANopen communication stack will be separated in a future release.
7.2 Safe Reset Interlock Sequence
Reset requests are processed in the following order:
- Receive the NMT reset command.
- Check whether the drive is currently in
Operation Enabled(servo Enabled). - If
Operation Enabled, reject the reset request. - If not
Operation Enabled, accept the reset request. - Perform pre-reset safety preparation: turn off PWM output; engage/lock holding brake hardware if configured.
- Start a
100 msdelayed reset timer task. - Re-check
Operation Enabledafter100 ms. - If the drive entered
Operation Enabledduring the100 mswindow, cancel the pending reset. - Otherwise, execute an MCU soft reset.
7.3 Post-Reset Verification
A standard CANopen NMT reset does not write the backup domain magic word and does not enter the Bootloader (only an explicit Bootloader reset reason writes the backup magic word prior to reset).
After resetting and rebooting, the node transmits a Boot-up frame (0x700 + NodeID) with payload byte 00.
For Node 1, the Boot-up frame is:
CAN ID: 0x701
DLC: 1
DATA: 00
By default, the node enters Pre-Operational after boot-up. To start cyclic PDO communication, the master then sends:
CAN ID: 0x000
DLC: 2
DATA: 01 01
This NMT Start Remote Node frame transitions Node 1 into Operational.