Skip to main content

TN0002 CANopen Communication Feature Extensions

ItemDetails
Document NumberTN0002
RevisionRev. 1.0
Applicable ProductsJxServo Joint Module / Integrated Communication Module
Applicable ScenariosCANopen parameter configuration, default parameter restore, electrical angle calibration, version reading, fault reading & fault item control, node reset
LanguageEnglish
Last Updated2026-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.

warning

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:

DirectionCOB-IDNote
Master -> Node0x600 + NodeID0x601 for Node 1
Node -> Master0x580 + NodeID0x581 for Node 1

Common SDO command specifiers:

Command ByteDirectionMeaning
0x40Master -> NodeSDO Upload request (read Object Dictionary entry)
0x23Master -> NodeSDO Expedited Download (write 4-byte object)
0x60Node -> MasterSDO Download confirmation (write succeeded)
0x60Master -> NodeSegmented Upload continuation request
0x43Node -> MasterSDO Expedited Upload response returning 4 bytes
0x80Node -> MasterSDO 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 ValueCommunication Mode
0Classic CAN 500K
1Classic CAN 1M
2CAN FD 1M/1M, BRS disabled
3CAN FD 1M/2M, BRS enabled
4CAN 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:

BytesMeaning
23SDO expedited download, 4 bytes
11 10Index = 0x1011, Little-Endian
03Sub-index = 0x03
6C 6F 61 64Value = 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 on 0x1011: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 08 in 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
FieldMeaning
mode=0Direct detection
mode=1Bidirectional fitting
align_current_mA=0Use firmware's internal default alignment current
align_current_mA != 0Explicit 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
FieldMeaning
status=0Calibration failed
status=1Calibration succeeded
status=2Calibration in progress
error_codeFailure 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​

ConditionResponse
Started while servo is EnabledSDO Abort 0x08000022
Invalid mode or invalid command headerSDO 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:00 via 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.

ObjectPurpose
0x4500:00Read historical diagnostic fault codes
0x4500:01Write fault control commands
important

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
FieldMeaning
op=0x01Mask (disable) the specified fault item
op=0x02Enable the specified fault item
op=0x03Clear fault parameter overrides in Flash and reload firmware default protection parameters into RAM
op=0x04Save the current RAM fault configuration table to the Flash override region
flags bit0=1Clear the fault's runtime latch state simultaneously when masking
flags bit0=0Do 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 ValueEffectSDO Payload Bytes (Little-Endian)
0x01010507Mask excessive velocity error and clear its runtime state07 05 01 01
0x01000507Mask excessive velocity error without clearing runtime state07 05 00 01
0x02000507Re-enable excessive velocity error protection07 05 00 02
0x03000000Clear Flash fault overrides and reload firmware default protection table to RAM00 00 00 03
0x04000000Save current RAM fault table to Flash override region00 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/0x04 require 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 op and code first; invalid fault codes never touch the internal fault table.
  • Masking or enabling directly updates the enabled field in the active RAM fault table.
  • Setting flags bit0=1 clears the runtime state of only the targeted fault item without affecting any other active faults.
  • op=0x03 is equivalent to P0=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=0x04 persists 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 EntryNameExample Return Value
0x1008:00Manufacturer Device NameJXZN
0x1009:00Manufacturer Hardware VersionV2.0.0
0x100A:00Manufacturer Software VersionV2.0.1
0x3100:04Boot VersionV1.1.0
0x3100:05Mainline VersionV2.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:

FieldValue
CAN ID0x000
DLC2
Byte00x81, Reset Node
Byte1Target 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:

  1. Receive the NMT reset command.
  2. Check whether the drive is currently in Operation Enabled (servo Enabled).
  3. If Operation Enabled, reject the reset request.
  4. If not Operation Enabled, accept the reset request.
  5. Perform pre-reset safety preparation: turn off PWM output; engage/lock holding brake hardware if configured.
  6. Start a 100 ms delayed reset timer task.
  7. Re-check Operation Enabled after 100 ms.
  8. If the drive entered Operation Enabled during the 100 ms window, cancel the pending reset.
  9. 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.