Configuration

Last updated 2026-11-27

This page lists the settings to check before you use the drive in a joint, and shows how to read and change them over CANopen and over UDS. Parameter names, identifiers, defaults and ranges are not defined yet; the tables mark them TBD.

Settings are kept apart from the factory calibration, which is write-protected. See Calibration.

Settings to check before first use

The CANopen column gives the CiA 301 or CiA 402 standard object for the setting. Whether the drive implements each object is TBD.

Setting CANopen object UDS DID Default Range or unit
Node ID — TBD TBD 1–127
CAN arbitration bit rate — TBD TBD TBD
CAN FD data bit rate — TBD TBD TBD
Heartbeat period 0x1017 TBD TBD ms
Max torque 0x6072 TBD TBD per mille of rated torque (0x6076)
Max current 0x6073 TBD TBD per mille of rated current (0x6075)
Max motor speed 0x6080 TBD TBD TBD
Software position limits 0x607D:01 (min), 0x607D:02 (max) TBD TBD position units (TBD)
Quick stop behaviour 0x605A TBD TBD option code
Temperature limits TBD TBD TBD TBD
Control gains TBD TBD TBD TBD

Change settings with torque off (CiA 402 state Switch on disabled). Which settings the drive accepts while torque is on is TBD.

Change a setting over CANopen

  1. Switch torque off: write 0x0006, then 0x0000, to the controlword (0x6040).
  2. Write the new value with an SDO download.
  3. Read it back with an SDO upload and compare.
  4. Store it, if the drive supports 0x1010 (TBD).

This example sets max torque (0x6072, UNSIGNED16) and stores all parameters. node is a python-canopen node, set up as in Getting started.

import struct

value = 100                                                   # per mille of rated torque

node.sdo.download(0x6072, 0, struct.pack("<H", value))
assert struct.unpack("<H", node.sdo.upload(0x6072, 0))[0] == value

node.sdo.download(0x1010, 1, struct.pack("<I", 0x65766173))   # "save" to 0x1010:01: store all parameters

0x1010 sub-index 1 stores all parameters; sub-indices 2 to 4 store groups (communication, application, manufacturer-defined). To return to defaults, write 0x64616F6C ("load") to 0x1011:01; the defaults apply after the next reset. Which sub-indices the drive supports is TBD.

Change a setting over UDS

  1. Open the extended session: 10 03.
  2. Unlock with SecurityAccess: request a seed (27 <odd level>), compute the key, send it (27 <even level>). Level and key algorithm: TBD.
  3. Write the value: 2E <DID> <data>.
  4. Read it back: 22 <DID>.

With udsoncan, add the key function and the DID to the client configuration from the script on UDS diagnostics. setting_did, security_level and new_value (bytes) are placeholders.

def key_from_seed(level, seed, params):
    raise NotImplementedError("key algorithm TBD")


config["security_algo"] = key_from_seed
config["data_identifiers"][setting_did] = RawCodec

with Client(PythonIsoTpConnection(stack), config=config, request_timeout=2) as client:
    client.change_session(DiagnosticSessionControl.Session.extendedDiagnosticSession)
    client.unlock_security_access(security_level)             # level TBD
    client.write_data_by_identifier(setting_did, new_value)   # DID and encoding TBD
    assert client.read_data_by_identifier(setting_did).service_data.values[setting_did] == new_value

When the drive stores a UDS write in non-volatile memory is TBD.

Change the node ID

Every drive on a bus needs its own node ID. Set it with one drive on the bus at a time.

  1. Connect only the drive you want to change.
  2. Write the new node ID. Method (UDS DID, or CANopen layer setting services, CiA 305): TBD.
  3. Reset the drive with NMT reset node: cansend can0 000#81NN, where NN is the old node ID in hexadecimal.
  4. Check the boot-up frame. It must now appear on 0x700 + <new node ID>.
  5. Label the drive with its node ID, then connect the next one.

Change the bit rate

A node with a different bit rate cannot communicate with the rest of the bus. Change one drive at a time, with only that drive and the host on the bus.

  1. Write the new bit rate to the drive and store it. Method: TBD.
  2. Reset the drive.
  3. Set the host interface to the new bit rate (see CAN FD on Linux).
  4. Check the boot-up frame.

How to recover a drive set to an unknown bit rate is TBD.

Settings and firmware updates

Whether settings are kept through a firmware update is TBD. Read your settings and keep a copy before an update. Calibration is not affected by updates; see Calibration.