Skip to main content

FC0001 V2.0 Fault Code Encoding and SDO Reading Guide

ItemDetails
Document NumberFC0001
RevisionRev. 2.0
Applicable ProductsJxServo Joint Module / Integrated Communication Module (CAN / CAN FD / CANopen and EtherCAT Slaves)
Applicable FirmwareV2.0 and later (each model enables the corresponding diagnostic subset based on hardware sensors and feature configuration)
LanguageEnglish
Last Updated2026-11-20

This document is intended for master controller developers, host application integrators, and field service engineers. It systematically describes the encoding architecture of the Juxie Intelligent V2.0 unified fault diagnostic system, SDO frame specifications for reading active faults (0x603F:00) and historical diagnostic queues (0x4500:00), and the unpacking rules for severity levels and 4-byte snapshot data (context) carried in CANopen 0x80 + NodeID Emergency (EMCY) Frames.

  • Cross-Platform Encoding Consistency: Firmware V2.0 and later adopts a unified [Domain][Sub-item] (0xDDSS) diagnostic code definition across platforms—the same diagnostic code always represents the exact same physical anomaly across different Joint Module series or fieldbus interfaces (CANopen / EtherCAT).
  • Troubleshooting and Extended Configuration References:

1. Overview of Diagnostic Channels and Reading Methods​

1.1 Comparison of the Three Diagnostic Data Channels​

The drive exposes three complementary diagnostic channels. During system integration, clearly distinguish between active latched faults and the historical diagnostic queue:

Diagnostic ChannelData Type & LengthApplicable BusCore Returned ContentLifecycle & Engineering Role
0x603F:00
Active Error Code
UINT16 (2 bytes)
Read-only SDO / Optional TxPDO
CANopen
EtherCAT
Currently active and confirmed latched FAULT / TRIP error code (returns 0x0000 when no fault is active)Real-Time Protection Monitoring: Reflects only currently active stop/protection-level faults (WARN warnings are not written here); cleared immediately to zero upon fault reset
0x4500:00
Historical Diagnostic Code
UINT32 (4 bytes)*
Read-only single-item SDO
CANopen
EtherCAT
Lower 16-bit V2.0 diagnostic code 0xDDSS at reverse index k in the history queue (upper 16 bits are 0)Exact Root-Cause Tracing & Post-Mortem Analysis: Ring buffer storing the latest 64 Warning (WARN) / Fault (FLT) / Trip (TRIP) entries; remains traceable in reverse chronological order even after auto-recovery or fault reset
0x80 + NodeID
Emergency (EMCY) Frame
8-byte unsolicited frame
(DLC = 8)
CAN / CAN FD
(CANopen)
0x603F error code + Severity SEV + 32-bit trigger-instant snapshot contextEvent-Driven Push & First-Scene Snapshot: Actively transmits measured values, trigger thresholds, or hardware comparator flags at the exact moment a fault latches, capturing first-scene evidence without polling

* Length Compatibility Note: Current firmware uniformly defines 0x4500:00 in the Object Dictionary as a 4-byte UINT32 (SDO upload response command specifier 0x43) with the diagnostic code stored in the lower 16 bits; some earlier CANopen firmware releases return a 2-byte UINT16 (SDO response command specifier 0x4B). Both responses place the payload identically at Byte 4..5 (Little-Endian LL HH), so masters can maintain universal compatibility by extracting Byte 4..5.

1.2 Quick Selection Guide for Common Troubleshooting Scenarios​

Engineering Scenario & GoalRecommended Access MethodRationale
Check in real-time control loops whether a stop/protection fault is activeStatusword 0x6041.bit3 + read 0x603F:00Directly reflects active latched FAULT / TRIP state and can be mapped to cyclic TxPDO
Trace transient warnings that have already disappeared, or review fault sequences after a resetSDO read 0x4500:00 (with reverse index k = 0..63)Covers all confirmed WARN, FAULT, and TRIP records; fault reset does not clear the historical ring buffer
Inspect measured DC bus voltage, temperature, current, or tracking error at the instant protection trippedListen for CANopen 0x80 + NodeID Emergency (EMCY) FramesByte 4..7 carries a 32-bit context snapshot allowing direct comparison between measured values and protection thresholds
Pinpoint the exact sub-fault in projects with legacy compatibility mapping enabledRead 0x4500:00Legacy compatibility codes fold multiple sub-faults into broad categories (e.g., reporting a single generic "over-temperature"), whereas 0x4500:00 always returns the exact 0xDDSS code

2. V2.0 Diagnostic ID Encoding Specification and Fault Domains​

2.1 32-Bit Internal Diagnostic ID and 16-Bit Diagnostic Code Structure​

Internally, the drive uses a 32-bit unsigned integer (diag_fault_id_t) to uniquely describe each diagnostic entry. When reading 0x4500:00 via SDO (as well as 0x603F:00 in standard direct-output mode), the drive returns the lower 16-bit diagnostic code 0xDDSS:

V2.0 32-bit internal diagnostic ID from MSB to LSB: Bits 31–24 Severity (SEV), Bits 23–16 Reserved (0x00), Bits 15–8 Fault Domain (DD), Bits 7–0 Sub-item (SS). The lower 16 bits 0xDDSS form the diagnostic code returned by 0x4500:00 and standard 0x603F:00.V2.0 Internal 32-bit Diagnostic ID Layout (uint32_t)MSB ──► LSB3124231615870Severity (SEV · 1B)0x00 Info | 0x01 Warn0x02 Fault | 0x03 TripReserved (1B)Fixed to 0x00Fault Domain (DD)0x00 System – 0x08 AppFault Sub-item (SS)Specific code in domainUpper 16 bits: omitted in SDO 0x4500:00 (see EMCY Byte 3)Lower 16-bit Code 0xDDSS (0x4500:00 & 0x603F:00)e.g. 0x02000507 ═► SEV=0x02(Fault) · Rsv=0x00 · DD=0x05(Control) · SS=0x07(Vel Error) ═► Code 0x0507

Severity Level (SEV, Bits 31..24) Definitions​

SEV CodeIdentifierLevel NameSystem BehaviorDrives 0x603F & EMCY Frame?
0x00SEV_INFOInfoInternal operating status notification; does not alter control outputNo
0x01SEV_WARNWarning (WARN)Indicates operating boundary proximity or abnormal trend; logged to history queue without active stop by the fault managerNo
0x02SEV_FLTFault (FLT)Affects control safety or reliability; executes configured emergency stop, controlled stop, or controlled hold and latchesYes
0x03SEV_TRIPTrip (TRIP)Hardware comparator triggered or critical feedback link lost; immediately executes highest-priority protective shutdown and latchesYes

Because 0x4500:00 returns only the lower 16 bits (0xDDSS), a master needing the severity level can either inspect Byte 3 of the CANopen 0x80 + NodeID Emergency (EMCY) Frame or look up 0xDDSS in the standard diagnostic code reference table in the next section.

2.2 Nine Standard Fault Domains (Domain · DD, Bits 15..8)​

Domain DDIdentifierFault Domain NameCovered Anomaly Scope
0x00D_SYSSystem DomainParameter validity check, Flash CRC, missing electrical angle zero calibration, internal numerical state
0x01D_PWRPower DomainDC bus overvoltage/undervoltage software protection, DC bus hardware overvoltage/undervoltage/overcurrent comparator trips
0x02D_DRVDrive Domainq-axis software overcurrent, Phase U/V hardware and software overcurrent trips, drive power stage (MOS) over-temperature
0x03D_MTRMotor DomainMotor winding over-temperature warning and fault, motor-side state observer anomalies
0x04D_SNSSensor DomainPosition encoder communication/status errors, joint torque sensor faults, current zero-offset calibration failure, temperature sensing anomalies
0x05D_CTLControl DomainExcessive position/velocity/current tracking error, torque control fault, software stall, velocity command over-limit, runaway/overspeed protection
0x06D_COMCommunication DomainBus heartbeat timeout, command stream jitter or frame loss, CAN bus BusOff state
0x07D_SAFESafety DomainPositive/negative optical hardware limit triggered, positive/negative software position limit exceeded, motion state machine protection
0x08D_APPApplication DomainEncoder / electrical angle / torque calibration routine failure, unmet preconditions, calibration timeout or excessive residual

3. V2.0 Diagnostic Code Quick Reference Table​

The table below lists the diagnostic codes and full 32-bit fault ID definitions in V2.0 firmware. Different Joint Module models enable the corresponding subset according to their hardware and feature configuration; refer to the factory configuration of each product for exact enabled items and protection parameters.

Diagnostic Code 0xDDSSFull 32-Bit IDDefault SeverityFault DomainFault Name
0x00010x02000001Fault (FAULT)SystemElectrical angle zero not calibrated
0x01000x02000100Fault (FAULT)PowerDC bus overvoltage
0x01010x02000101Fault (FAULT)PowerDC bus undervoltage
0x01020x03000102Trip (TRIP)PowerDC bus hardware overvoltage trip
0x01030x03000103Trip (TRIP)PowerDC bus hardware overcurrent trip
0x01050x03000105Trip (TRIP)PowerDC bus hardware undervoltage trip
0x02000x02000200Fault (FAULT)DriveSoftware overcurrent (Iq over-limit)
0x02010x03000201Trip (TRIP)DrivePhase U hardware overcurrent trip
0x02030x03000203Trip (TRIP)DrivePhase V hardware overcurrent trip
0x02040x01000204Warning (WARN)DriveDrive over-temperature warning
0x02050x02000205Fault (FAULT)DriveDrive over-temperature fault
0x02060x03000206Trip (TRIP)DrivePhase U software overcurrent
0x02070x03000207Trip (TRIP)DrivePhase V software overcurrent
0x03020x01000302Warning (WARN)MotorMotor over-temperature warning
0x03030x02000303Fault (FAULT)MotorMotor over-temperature fault
0x04000x03000400Trip (TRIP)SensorEncoder update timeout
0x04010x01000401Warning (WARN)SensorEncoder read failure
0x04020x02000402Fault (FAULT)SensorTorque sensor communication fault
0x04030x02000403Fault (FAULT)SensorTorque sensor signal fault
0x04060x01000406Warning (WARN)SensorEncoder status warning
0x04070x02000407Fault (FAULT)SensorEncoder status error
0x04080x02000408Fault (FAULT)SensorCurrent offset calibration failure
0x04090x02000409Fault (FAULT)SensorMotor temperature signal fault
0x040A0x0200040AFault (FAULT)SensorDrive temperature signal fault
0x05000x01000500*Warning (WARN)*ControlExcessive position tracking error (configured as FAULT / 0x02000500 in some profiles)
0x05010x02000501Fault (FAULT)ControlTorque control fault
0x05070x02000507Fault (FAULT)ControlExcessive velocity tracking error
0x05080x02000508Fault (FAULT)ControlSoftware stall
0x05090x01000509Warning (WARN)ControlVelocity command exceeds upper limit
0x050A0x0200050AFault (FAULT)ControlRunaway / overspeed protection
0x050B0x0200050BFault (FAULT)ControlExcessive current tracking error
0x06000x01000600Warning (WARN)CommunicationCommunication heartbeat lost
0x06030x01000603Warning (WARN)CommunicationCAN communication BusOff
0x07050x02000705Fault (FAULT)SafetyPositive optical hardware limit exceeded
0x07060x02000706Fault (FAULT)SafetyNegative optical hardware limit exceeded
0x07070x02000707Fault (FAULT)SafetyPositive software limit exceeded
0x07080x02000708Fault (FAULT)SafetyNegative software limit exceeded

4. SDO Fault Query Frame Format (CANopen and EtherCAT)​

On a CANopen bus, taking NodeID = 1 as an example, the master SDO request COB-ID is 0x600 + NodeID = 0x601 and the slave SDO response COB-ID is 0x580 + NodeID = 0x581 (with DLC fixed to 8). On an EtherCAT (CoE) bus, the command specifiers and Little-Endian byte order inside the 8-byte SDO payload (after stripping the Mailbox header and CoE header) are identical to CANopen.

4.1 Reading Active Error Code 0x603F:00​

Object Dictionary entry 0x603F Sub-index 00 is a standard UINT16 (2-byte) read-only object whose SDO upload response command specifier is fixed to 0x4B:

Master Request (CAN ID = 0x601, DLC = 8):
40 3F 60 00 00 00 00 00

Slave Response (CAN ID = 0x581, DLC = 8):
4B 3F 60 00 LL HH 00 00
  • Decoding Formula: Active Error Code = (HH << 8) | LL = 0xHHLL (a return value of 0x0000 indicates no active latched FAULT / TRIP).
  • Frame Example: If the response frame is 4B 3F 60 00 00 01 00 00, then LL = 0x00 and HH = 0x01, decoding to 0x0100 (DC bus overvoltage in standard direct-output mode).
  • Update Rules:
    1. When multiple FAULT / TRIP conditions are simultaneously active and confirmed latched, 0x603F:00 reflects the most recently confirmed fault;
    2. In the CANopen protocol stack, communication heartbeat warning 0x0600 is handled by its dedicated NMT/heartbeat state machine per protocol rules and does not overwrite 0x603F:00.

4.2 Reading Historical Diagnostic Queue 0x4500:00 (64-Entry Reverse Traceability)​

Object Dictionary entry 0x4500 Sub-index 00 queries the internal 64-entry circular diagnostic history buffer. It supports single-item SDO upload only (PDO mapping and EtherCAT Complete Access are not supported).

Method 1: Standard Read of the Latest Record (Default k = 0)​

When calling a standard SDO upload API (where request data bytes Byte 4..7 default to all 0), the slave returns the most recently logged (k = 0) warning, fault, or trip diagnostic code:

Master Request (CAN ID = 0x601, DLC = 8):
40 00 45 00 00 00 00 00

Slave Response (CAN ID = 0x581, DLC = 8, current 4-byte firmware returns 0x43):
43 00 45 00 LL HH 00 00

Compatibility Tip: Earlier CANopen firmware versions defined this Sub-index as 2 bytes, returning 0x4B in the first byte (4B 00 45 00 LL HH 00 00). Regardless of whether Byte 0 is 0x43 or 0x4B, the valid 16-bit diagnostic code always resides at Byte 4..5 (Little-Endian LL HH) and Byte 6..7 is always 00 00. For example, receiving 43 00 45 00 05 02 00 00 decodes to 0x0205 (Drive Domain 0x02, Sub-item 0x05: Drive over-temperature fault).

Method 2: Specifying Reverse Index k to Trace History (k = 0..63)​

In current CANopen and EtherCAT firmware, if the master supports constructing raw 8-byte SDO upload request frames, place the reverse offset k into the 5th byte (Byte 4, first payload byte) of the request frame:

  • k = 0 (0x00): Query the latest (1st most recent) record;
  • k = 1 (0x01): Query the 2nd most recent record;
  • k = 2 (0x02): Query the 3rd most recent record (valid range: k = 0 to 63).
Example: Query the 3rd most recent diagnostic record (k = 2)
Master Request (8-byte SDO payload): 40 00 45 00 02 00 00 00
Slave Response (8-byte SDO payload): 43 00 45 00 LL HH 00 00 --> Diagnostic Code = 0xHHLL
  • Queue Boundary Behavior:
    1. Returns 0x00000000 when the history queue is empty or when k exceeds the number of currently logged entries;
    2. Reading is a non-destructive read-only peek—it does not clear or consume entries, performs no adjacent deduplication, and does not filter by severity (INFO / WARN / FAULT / TRIP are all enqueued in chronological order);
    3. If a new diagnostic event is logged while the master is iterating through historical entries, the entry corresponding to a given reverse index k shifts backward by one slot.

5. CANopen 0x80 + NodeID Emergency (EMCY) Frame and Context Parsing​

5.1 8-Byte Emergency (EMCY) Frame Structure​

In CAN / CAN FD (CANopen) mode, whenever a new active FAULT or TRIP protection event latches and updates 0x603F:00, the slave actively transmits an 8-byte Emergency (EMCY) Frame with COB-ID 0x80 + NodeID:

CANopen 0x80+NodeID 8-byte EMCY frame layout: Bytes 0–1 hold little-endian 0x603F error code (EC_L, EC_H), Byte 2 is fixed 0x00, Byte 3 is severity (SEV), and Bytes 4–7 hold little-endian 32-bit context data (low16 measured value and high16 threshold).COB-ID: 0x80 + NodeIDDLC = 8 Bytes · Multi-byte fields use Little-Endian orderByte 0Byte 1Byte 2Byte 3Byte 4Byte 5Byte 6Byte 7EC_LError LSBEC_HError MSB0x00ReservedSEV02 FLT / 03 TRIPC0bits [7:0]C1bits [15:8]C2bits [23:16]C3bits [31:24]0x603F Active Error Code0xHHLL = (EC_H << 8) | EC_LSeverityFLT / TRIP onlylow16 = C0 + (C1 << 8)Measured value / status flagshigh16 = C2 + (C3 << 8)Trip threshold / aux countercontext (32-bit) = C0 | (C1 << 8) | (C2 << 16) | (C3 << 24)
Byte OffsetSymbolData TypeDescription
Byte 0..1EC_L, EC_HUINT16 (Little-Endian)0x603F error code that triggered the frame: 0xHHLL = EC_L + (EC_H << 8)
Byte 20x00UINT8Protocol reserved byte, currently fixed to 0x00
Byte 3SEVUINT8Diagnostic severity: 0x02 = Fault (FAULT), 0x03 = Trip (TRIP)
Byte 4..7C0 C1 C2 C3UINT32 (Little-Endian)32-bit trigger-instant snapshot context; physical meaning depends on the fault code

5.2 Emergency (EMCY) Frame Transmission and Retry Rules​

  1. Triggered Exclusively by Stop/Protection Events: Driven only by confirmed latched FAULT (0x02) and TRIP (0x03) events; Warning (WARN, 0x01) events never trigger a 0x80 + NodeID frame.
  2. Multi-Fault Arbitration: When multiple FAULT / TRIP events are simultaneously latched, the fault with the latest confirmation timestamp updates 0x603F:00; if this error code differs from the previous EMCY error code sent, a new Emergency (EMCY) Frame is transmitted.
  3. Single-Shot per Latch Cycle with Automatic Retry: Identical error codes are sent only once within a single latch cycle (if the CAN TX queue is full at trigger time, a 1 ms background service automatically retries until transmission succeeds). Once a fault reset returns 0x603F:00 to 0x0000, a subsequent occurrence of the same fault transmits a fresh frame.
  4. Compatibility Mapping Filter: In firmware using legacy compatibility mapping, diagnostic items not mapped to 0x603F:00 do not trigger a 0x80 + NodeID frame.

5.3 General context Unpacking Method and C Reference Code​

Most numerical protection items pack context in a dual 16-bit format: the scaled measured value at the trigger instant is stored in the lower 16 bits (low16), while the active protection threshold (or auxiliary quantity) is stored in the upper 16 bits (high16).

  • Unsigned vs. Signed Reconstruction Rules:
    • Fields denoted as uint16 span 0 to 65535;
    • Fields denoted as int16 (used for directional quantities such as position error, current, torque, or velocity command) must be cast from the 16-bit unsigned value to a two's-complement signed int16_t (for example, 0xFF38 reconstructs to -200).
  • Common Scaling Divisors: ÷ 1 (raw integer), ÷ 10 (resolution 0.1), ÷ 100 (resolution 0.01), ÷ 1000 (resolution 0.001), or direct bitmask decoding (raw bits).

Below is a C reference implementation ready for integration into master controllers or host applications (supporting both SDO responses and EMCY frames):

#include <stdint.h>
#include <stdbool.h>

/* Parse 8-byte SDO response frame for 0x603F:00 or 0x4500:00 (compatible with 0x43 4B and 0x4B 2B responses) */
bool jx_parse_sdo_diag_code(const uint8_t sdo_rx[8], uint16_t *out_code)
{
if (sdo_rx == NULL || out_code == NULL) {
return false;
}
/* Check for expedited upload response (0x43 = 4 bytes, 0x4B = 2 bytes) */
if (sdo_rx[0] != 0x43U && sdo_rx[0] != 0x4BU) {
return false;
}
*out_code = (uint16_t)sdo_rx[4] | ((uint16_t)sdo_rx[5] << 8U);
return true;
}

/* Parse CANopen 0x80 + NodeID Emergency (EMCY) Frame (DLC = 8) */
typedef struct {
uint16_t error_code; /* Byte 0..1: 0x603F error code */
uint8_t severity; /* Byte 3: 0x02 = Fault (FAULT), 0x03 = Trip (TRIP) */
uint32_t context; /* Byte 4..7: Full 32-bit snapshot context */
uint16_t low_u16; /* Lower 16-bit unsigned value */
int16_t low_i16; /* Lower 16-bit signed value (for directional physical quantities) */
uint16_t high_u16; /* Upper 16-bit unsigned value (typically protection threshold) */
} jx_emcy_frame_t;

void jx_parse_emcy_frame(const uint8_t data[8], jx_emcy_frame_t *out)
{
out->error_code = (uint16_t)data[0] | ((uint16_t)data[1] << 8U);
out->severity = data[3];
out->context = (uint32_t)data[4]
| ((uint32_t)data[5] << 8U)
| ((uint32_t)data[6] << 16U)
| ((uint32_t)data[7] << 24U);
out->low_u16 = (uint16_t)(out->context & 0xFFFFU);
out->low_i16 = (int16_t)out->low_u16;
out->high_u16 = (uint16_t)(out->context >> 16U);
}

5.4 Worked Examples of Emergency (EMCY) Frame Unpacking​

Example 1: DC Bus Overvoltage (0x0100, Dual Unsigned Scaling)​

NodeID = 1 transmits the following Emergency (EMCY) Frame:

CAN ID: 0x081 DLC: 8 Data: 00 01 00 02 42 1C 90 1A
  • Byte 0..1 = 00 01 → Error code 0x0100 (DC bus overvoltage);
  • Byte 3 = 0x02 → Severity FAULT;
  • low_u16 = 0x1C42 = 7234 → Scaled by ÷ 100: measured DC bus voltage at trigger instant = 72.34 V;
  • high_u16 = 0x1A90 = 6800 → Scaled by ÷ 100: overvoltage protection threshold = 68.00 V.

Example 2: Excessive Current Tracking Error (0x050B, Closed-Loop Error vs. Dynamic Threshold)​

NodeID = 1 transmits the following Emergency (EMCY) Frame:

CAN ID: 0x081 DLC: 8 Data: 0B 05 00 02 BC 02 F4 01
  • Byte 0..1 = 0B 05 → Error code 0x050B (Excessive current tracking error);
  • Byte 3 = 0x02 → Severity FAULT;
  • low_u16 = 0x02BC = 700 → Scaled by ÷ 100: peak Id/Iq current tracking error at trigger instant = 7.00 A;
  • high_u16 = 0x01F4 = 500 → Scaled by ÷ 100: active dynamic trigger threshold = 5.00 A.

Example 3: DC Bus Hardware Overcurrent Trip (0x0103, Hardware Comparator Bitmask)​

NodeID = 1 transmits the following Emergency (EMCY) Frame:

CAN ID: 0x081 DLC: 8 Data: 03 01 00 03 01 00 00 00
  • Byte 0..1 = 03 01 → Error code 0x0103 (DC bus hardware overcurrent trip);
  • Byte 3 = 0x03 → Severity TRIP;
  • context = 0x00000001 → Bitmask bit0 = 1, pinpointing IDC bus current hardware comparator triggered.

5.5 Per-Fault context Snapshot Parsing Dictionary​

(1) FAULT / TRIP Items That Actively Trigger 0x80 + NodeID​

The table below defines byte encodings and Byte 4..7 context unpacking rules under standard direct-output mode (0x603F equals 0xDDSS):

Diagnostic CodeByte 0..1Byte 3Fault NameByte 4..7 (context) Snapshot Unpacking Definition
0x000101 000x02Electrical angle zero not calibratedDirect event item; fixed to 0
0x010000 010x02DC bus overvoltagelow_u16 ÷ 100 = measured bus voltage (V); high_u16 ÷ 100 = overvoltage threshold (V)
0x010101 010x02DC bus undervoltagelow_u16 ÷ 100 = measured bus voltage (V); high_u16 ÷ 100 = undervoltage threshold (V)
0x010202 010x03DC bus hardware overvoltage tripHardware event protection item; returns status flag or 0
0x010303 010x03DC bus hardware overcurrent tripraw bits: bit0 = DC bus current comparator, bit1 = Phase V comparator, bit2 = Phase U comparator
0x010505 010x03DC bus hardware undervoltage tripHardware power monitor / comparator trigger flag bits
0x020000 020x02Software overcurrent (Iq over-limit)low_i16 ÷ 100 = measured current (A); high_u16 ÷ 100 = overcurrent threshold (A)
0x020101 020x03Phase U hardware overcurrent tripraw bits: bit2 = Phase U comparator triggered (may assert together with bit0 / bit1)
0x020303 020x03Phase V hardware overcurrent tripraw bits: bit1 = Phase V comparator triggered (may assert together with bit0 / bit2)
0x020505 020x02Drive (MOS) over-temperature faultlow_u16 ÷ 10 = measured drive temperature (°C); high_u16 ÷ 10 = fault threshold (°C)
0x020606 020x03Phase U software overcurrentInstantaneous overcurrent protection; returns sampled value or 0
0x020707 020x03Phase V software overcurrentInstantaneous overcurrent protection; returns sampled value or 0
0x030303 030x02Motor winding over-temperature faultlow_u16 ÷ 10 = measured motor temperature (°C); high_u16 ÷ 10 = fault threshold (°C)
0x040000 040x03Encoder update timeoutlow_u16 = consecutive communication error count; high_u16 = lower 16 bits of cumulative timeout counter
0x040202 040x02Torque sensor communication faultFixed to 0 by default (sample frame update timeout)
0x040303 040x02Torque sensor signal faultlow_i16 ÷ 10 = sensor torque at trigger instant (N·m); Byte 6 = anomaly cause bitmask
0x040707 040x02Encoder status word errorRaw encoder hardware status register word (decode per specific encoder model datasheet)
0x040808 040x02Phase current offset calibration failurelow_u16 ÷ 1000 = Phase U zero-offset voltage (V); high_u16 ÷ 1000 = Phase V zero-offset voltage (V)
0x040909 040x02Motor temperature signal faultPacked anomaly cause code (ADC rail open/short circuit or thermal step jump), current reading, and reference limit
0x040A0A 040x02Drive temperature signal faultPacked anomaly cause code (ADC rail open/short circuit or thermal step jump), current reading, and reference limit
0x0500*00 050x02Excessive position tracking error (when set as fault)low_i16 ÷ 1000 = measured position error (rad); high_u16 ÷ 1000 = trigger threshold (rad)
0x050101 050x02Torque control faultlow_i16 ÷ 10 = key torque quantity (N·m); Byte 6 = torque-loop anomaly cause bitmask
0x050707 050x02Excessive velocity tracking errorlow_u16 ÷ 10 = absolute velocity error (rpm); high_u16 ÷ 10 = trigger threshold (rpm)
0x050808 050x02Software stall protectionlow_u16 ÷ 10 = current absolute speed (rpm); high_u16 ÷ 10 = current absolute Iq current (A)
0x050A0A 050x02Runaway / overspeed protectionlow_u16 = measured absolute speed (rpm); high_u16 = overspeed trigger threshold (rpm)
0x050B0B 050x02Excessive current tracking errorlow_u16 ÷ 100 = peak Id/Iq tracking error (A); high_u16 ÷ 100 = dynamic trigger threshold (A)
0x070505 070x02Positive optical hardware limit exceededlow_u16 = positive limit switch state (1 = triggered); high_u16 = 0
0x070606 070x02Negative optical hardware limit exceededlow_u16 = negative limit switch state (1 = triggered); high_u16 = 0
0x070707 070x02Positive software position limit exceededlow_u16 = trigger reason_bits; high_u16 = limit status_bits
0x070808 070x02Negative software position limit exceededlow_u16 = trigger reason_bits; high_u16 = limit status_bits

(2) context Definitions for Common WARN Items (Do Not Trigger EMCY)​

The items below have severity Warning (WARN, 0x01) and do not trigger 0x80 + NodeID Emergency (EMCY) Frames, but their diagnostic codes can be queried via 0x4500:00 and their internal diagnostic log entries (e.g., in host diagnostic panels) record the following context values:

Diagnostic CodeWarning NamePhysical Meaning of context in Internal Diagnostic Log
0x0204Drive (MOS) over-temperature warninglow_u16 ÷ 10 = measured drive temperature (°C); high_u16 ÷ 10 = warning threshold (°C)
0x0302Motor winding over-temperature warninglow_u16 ÷ 10 = measured motor temperature (°C); high_u16 ÷ 10 = warning threshold (°C)
0x0401Encoder read failureReturns error status flag or 0
0x0406Encoder status word warningRaw encoder warning status bits
0x0500Excessive position tracking error (default WARN)low_i16 ÷ 1000 = measured position error (rad); high_u16 ÷ 1000 = warning threshold (rad)
0x0509Velocity command exceeds upper limitlow_i16 = master-requested velocity command (rpm); high_u16 = maximum allowed velocity limit (rpm)
0x0600Communication heartbeat lostlow_u16 = elapsed time since last valid frame (ms); high_u16 = heartbeat timeout threshold (ms)
0x0603CAN bus communication BusOffCumulative BusOff counter, or lower 16 bits of CAN controller error status register (PSR / ECR)

6. Legacy Compatibility Folded Codes and Host Integration Recommendations​

6.1 Standard Direct-Output Mode vs. Legacy Compatibility Folded Mapping​

  • Standard Direct-Output Mode (Default in Standard Firmware): In EtherCAT firmware and standard CANopen firmware, 0x603F:00 directly outputs the lower 16 bits 0xDDSS of the V2.0 diagnostic code (identical to 0x4500:00).
  • Legacy Compatibility Mapping Mode (Legacy Protocol Firmware): Certain firmware builds maintaining backward compatibility with older host protocols fold multiple V2.0 diagnostic items into the following category codes on 0x603F:00 (and Byte 0..1 of 0x80 + NodeID):
Legacy 0x603F CodeLegacy Category MeaningCorresponding V2.0 Granular Diagnostic Codes (0x4500:00 Return Values)
0x0001DC bus overvoltage0x0100 (DC bus overvoltage), 0x0102 (DC bus hardware overvoltage trip)
0x0002DC bus undervoltage0x0101 (DC bus undervoltage)
0x0004Over-temperature fault0x0205 (Drive over-temperature fault), 0x0303 (Motor winding over-temperature fault)
0x0008Stall protection0x0508 (Software stall protection)
0x0020Velocity error over-limit0x0507 (Excessive velocity tracking error)
0x0040Positive limit triggered0x0705 (Positive optical hardware limit exceeded), 0x0707 (Positive software position limit exceeded)
0x0080Negative limit triggered0x0706 (Negative optical hardware limit exceeded), 0x0708 (Negative software position limit exceeded)
0x0100*Encoder fault (legacy code)0x0400 (Encoder update timeout), 0x0401 (Encoder read failure)
0x0400Current sampling fault0x0408 (Phase current offset calibration failure)
0x1000Position error over-limit0x0500 (Excessive position tracking error)

* Code Disambiguation Warning: In legacy compatibility codes, 0x0100 means "Encoder fault", whereas in V2.0 standard encoding, 0x0100 means "DC bus overvoltage". On devices running legacy compatibility mapping, always read 0x4500:00 to obtain the unambiguous V2.0 diagnostic code.

6.2 Master Controller and Host Software Integration Best Practices​

  1. Dual-Object Coordination: Monitor active stop/protection status in cyclic control loops via Statusword 0x6041.bit3 (Fault bit) and 0x603F:00; when entering fault handling or service log collection, iterate SDO reads on 0x4500:00 (k = 0, 1, 2... until 0 is returned or the desired depth is reached) to pull the full diagnostic history.
  2. SDO 0x4500:00 Response Length Compatibility: Accept both 0x43 (4-byte response) and 0x4B (legacy 2-byte response) in Byte 0 when parsing 0x4500:00 responses, uniformly extracting (rx[5] << 8) | rx[4] as the 16-bit 0xDDSS diagnostic code.
  3. Little-Endian Order and Signed Reconstruction: All multi-byte integers in SDO and Emergency (EMCY) Frames use Little-Endian order. When unpacking context, any directional quantity marked low_i16 (position error, q-axis current, sensor torque) must be cast to int16_t before dividing by the scale factor so negative values are not misinterpreted as large positive integers (such as 65336).
  4. Distinguish "No Active Fault" from "Empty History": 0x603F:00 == 0x0000 only indicates that no stop-level fault is currently latched (or that the fault is unmapped in legacy firmware)—it does not mean no transient warning or auto-recoverable event occurred moments ago. Always inspect 0x4500:00 when diagnosing intermittent jitter, heartbeat timeouts, or over-temperature warnings.
  5. Never Auto-Reset in a Loop Before Clearing Root Causes: Upon capturing a FAULT or TRIP, the master should first log 0x603F:00, 0x4500:00, and the EMCY context payload, and verify that power supply, mechanical load, and sensor feedback are safe before issuing a single fault reset. Never program high-frequency automatic fault reset and Enable retries while hardware overcurrent or short-circuit conditions may still be present.