Skip to main content

Product Usage Tutorials

The DDSM350‑CT product user tutorials support two communication interfaces: UART and CAN. Select the corresponding tutorial according to your actual project requirements.

📄️CAN Communication Protocol

Detailed introduction to the CAN communication protocol for hub motors, helping you select a communication method suitable for your project.


📄️UART Communication Protocol

Detailed introduction to the UART communication protocol for hub motors, helping you select a communication method suitable for your project.


Common Object Table

Identifier Description:
RW — Read‑Write, RO — Read‑Only, WO — Write‑Only
DEC — Internal unit, a conversion factor is required to obtain actual physical quantities
Data Types:
08U — Unsigned Byte, 08S — Signed Byte
16U — Unsigned 16‑bit Integer, 16S — Signed 16‑bit Integer
32U — Unsigned 32‑bit Long Integer, 32S — Signed 32‑bit Long Integer
Save Flags: S1, S2, … , S5
(All object variables marked with a save flag will load values from EEPROM upon power‑on initialization)
S1 — Communication Parameter Group
S2 — IO Configuration Parameter Group
S3 — Calibration Parameter Group
S4 — Motor Parameter Group
S5 — Control‑Loop Parameter Group
U[y,x] — Unit conversion formula; take only the integer part when converting physical quantities into [DEC] units. Table F1‑1 Motor Parameters

UART Object AddressCAN Object AddressObject AttributeUnitDescription
0x70460x64101616U, ROHEXCurrent motor model code
0x70310x64100116U, RW, S4HEXMotor model code
0x70320x64100208U, RW, S4HEXFeedback type
0x70330x64100332U, RW, S4DECEncoder resolution (Default: 4096)
0x70350x64100508U, RW, S4DECMotor pole‑pair count
0x70360x64100608U, RW, S4DECExcitation mode
0x70370x64100716S, RW, S4DECExcitation current
0x70380x64100816U, RW, S4msExcitation time
0x70390x64100916U, RW, S40.1AMotor overload current
0x703A0x64100A16U, RW, S4SMotor overload time constant
0x703B0x64100B16U, RW, S40.1AMaximum motor current
0x70430x64101308U, RW, S4DECMotor rotation direction
0x704A0x64101A16U, RW, S4rpmMotor rated speed

Table F1‑2 Operating Modes and Control

UART Object AddressCAN Object AddressObject AttributeUnitDescription
0x70170x60600008S, RW, S5DECOperating Mode
3 Speed mode with acceleration/deceleration control
-3 Instant speed mode
1 Position mode
0x70190x60400016S, RWHEXControl Word
0x06 Motor power‑off (shaft released)
0x0F Motor power‑on (enable)
0x86 Clear drive alarm
0x1F Move to absolute target position under position mode
0x0F Move to relative target position under position mode
0x70180x60610008S, RODECActive operating mode
0x70110x26010016U, ROHEXDrive Error Status Word 1
Each BIT represents one error condition, as defined below
BIT[0]: Internal error
BIT[1]: Encoder ABZ signal error
BIT[2]: Encoder UVW signal error
BIT[3]: Encoder count error
BIT[4]: Drive over‑temperature
BIT[5]: DC‑bus over‑voltage
BIT[6]: DC‑bus under‑voltage
BIT[7]: Drive output short‑circuit
BIT[8]: Brake resistor over‑temperature alarm
BIT[9]: Position following error exceeded threshold
BIT[10]: Reserved
BIT[11]: I²*T fault (drive or motor overload)
BIT[12]: Speed following error exceeded threshold
BIT[13]: Motor over‑temperature alarm
BIT[14]: Motor homing failure (serial encoder)
BIT[15]: Communication dropout alarm
0x701F0x605A1108U, RWDECEmergency‑Stop Command
1: Emergency stop activated
0: Emergency stop cleared
0x70910x607A0032S, RWDECAbsolute Target Position
(Absolute target position under Operating Mode 1)
0x709F0x607B0032S, RWDECRelative Target Position
(Relative target position under Operating Mode 1)
0x70980x60810032U, RW, S5DECTrapezoidal Velocity
(Maximum velocity of trapezoidal profile under Operating Mode 1)
U[y,x]:
[DEC]=([rpm] * 512 * [Feedback Resolution])/1875;
Default [Feedback Resolution]: 4096
0x709D0x60820016U, RW, S5rpmTrapezoidal Velocity (rpm)
(Maximum velocity of trapezoidal profile under Operating Mode 1)
Note: Writing this object updates the value of object [0x7098]
0x70990x60830032U, RW, S5DECTrapezoidal Acceleration
U[y,x]:
[DEC]=[rps/s] * 256 * [Feedback Resolution] / 15625;
Default [Feedback Resolution]: 4096
0x709A0x60840032U, RW, S5DECTrapezoidal Deceleration
U[y,x]:
[DEC]=[rps/s] * 256 * [Feedback Resolution] / 15625;
Default [Feedback Resolution]: 4096
0x709B0x605A0132U, RW, S5DECQuick‑Stop Deceleration
Defines deceleration for quick‑stop sequence; valid when drive runs in Mode 3, 1
Default value: determined by preset profile
U[y,x]:
[DEC]=[rps/s] * 256 * [Feedback Resolution] / 15625;
Default [Feedback Resolution]: 4096
0x70B10x2FF00916S, RWrpmTarget Velocity (rpm)
(Target velocity under Operating Mode 3, ‑3)
Note: Writing this object updates the value of object [0x70B2]
0x70B20x60FF0032S, RWDECTarget Velocity
(Target velocity under Operating Mode 3, ‑3)
U[y,x]:
[DEC]=[rpm] * 512 * [Feedback Resolution] / 1875;
Default [Feedback Resolution]: 4096
0x70E10x60F60816S, RWDECTarget Current
(Target current under Operating Mode 4)
U[y,x]:[DEC]=[Arms] * 1.414 * 2048 / I_MAX
Note: For this motor, I_MAX=15;
0x70E20x60730016U, RWDECTarget Current Limit
(Active current‑loop target‑current limit for all operating modes)
U[y,x]:[DEC]=[Arms] * 1.414 * 2048 / I_MAX
Note: For this motor, I_MAX=15;

Table F1‑3 Measured Data

UART Object AddressCAN Object AddressObject AttributeUnitDescription
0x70710x60630032S, RODECActual position value
0x70750x60F91816S, ROrpmActual Speed (rpm)
Sampling period configurable, default 30 ms, resolution 1 rpm
0x70760x60F91932S, RO0.001rpmActual Speed (0.001 rpm resolution)
Sampling period configurable, default 30 ms, resolution 0.001 rpm
0x70790x60F91A16U, RW, S5msSampling period for actual‑speed measurement
Default: 30
0x70770x606C0032S, RODECActual speed
Internal sampling time: 250 µs
[DEC] = ([rpm] * 512 * [Feedback Resolution]) / 1875
Default [Feedback Resolution]: 4096
Note: High speed fluctuation may occur due to very short sampling interval
0x70720x60780016S, RODECActual Iq Current
[DEC] = [Arms] * 1.414 * 2048 / I_MAX
Note: For this motor, I_MAX=15;
0x70070x60F63216U, ROmAMotor Iit actual current
0x50010x60F71216S, ROVActual DC‑bus voltage
Resolution: 1 V
0x70020x60F70B16S, RO°CActual drive temperature
0x70920x60F40032S, RODECPosition following error
Deviation between actual position and target position during motion

Table F1‑4 IO Data and Control

UART Object AddressCAN Object AddressObject AttributeUnitDescription
0x51000x20100A16U, ROBITHardware emergency‑stop input status
0x0004: Emergency‑stop signal active
0x0000: No emergency‑stop signal
0x51020x20100116U, RO, S2BITEmergency‑stop input polarity setting
0x0004: Signal polarity not inverted
0x0000: Signal polarity inverted
Default: 0x0004
0x51010x20100216U, RWBITSoftware‑simulated emergency‑stop input
0x0004: Simulate emergency‑stop signal
0x0000: No operation
Default: 0x0000
0x51030x20100B16U, ROBITEffective emergency‑stop execution status
Determined jointly by hardware emergency‑stop status,
emergency‑stop polarity setting and software‑simulated input.
Boolean logic:
([0x5100] OR [0x5101]) XNOR [0x5102]

Table F1‑5 Communication Parameters

UART Object AddressCAN Object AddressObject AttributeUnitDescription
0x10050x2FE00108U, RW, S1DECTTL232 Baud‑rate Configuration
Value — Baud‑rate
4: 38400
5: 56000
6: 57600
7: 115200
Changes take‑effect after saving and power‑cycle
Factory default: 7
0x100F0x2FE00F08U, RW, S1DECTTL232 Protocol Selection
0: Proprietary protocol
1: Custom Protocol 1
2: Custom Protocol 2
Changes take‑effect after saving and power‑cycle
Factory default: 0
0x100B0x2F810008U, RW, S1DECCAN Baud‑rate Configuration
Value — Baud‑rate
0: 50K
1: 83.333K
2: 100K
3: 125K
4: 250K
5: 500K
6: 800K
7: 1000K
Changes take‑effect after saving and power‑cycle
Factory default: 5
0x100C0x65100F08U, RW, S1DECCAN Node‑ID (stored internally)
Changes take‑effect after saving and power‑cycle
Factory default: 1
0x30100x41001008U, RW, S1DECCommunication‑Dropout Stop Enable
0: Disabled
1: Enabled
0x30110x41001132U, RW, S1mSCommunication‑Dropout Stop Delay
Default: 600
When communication‑dropout detection ([0x3010]) is enabled, the motor shaft will be released after the configured timeout expires
0x47000108U, RWDECSimplified PDO Function 1
1: Enable TX‑PDO1 (auto‑report actual position & actual speed)
0: Disabled
Default: 0
0x18000316U, RWmSTX‑PDO1 transmission interval, default 10 ms

Table F1‑6 Parameter Save Commands

UART Object AddressCAN Object AddressObject AttributeUnitDescription
0x30610x2FE50108U, RWDECSave S1‑group parameters command
1: Save all objects marked S1
Other values: No action
0x30620x2FE50208U, RWDECSave S2‑group parameters command
1: Save all objects marked S2
Other values: No action
0x30630x2FE50308U, RWDECSave S3‑group parameters command
1: Save all objects marked S3
Other values: No action
0x30640x2FE50408U, RWDECSave S4‑group parameters command
1: Save all objects marked S4
Other values: No action
0x30650x2FE50508U, RWDECSave S5‑group parameters command
1: Save all objects marked S5
Other values: No action