Skip to content

CANopen object dictionary and SDO probe

The object dictionary browser shows all objects of the device description of a node. The SDO probe reads or writes one object of a live node. Use it to commission and check devices without a login on the device.

  1. Open <connection name> Object dictionary in the connections tree.
  2. Select the node. The table lists the objects of its device description with the columns Index, Sub, Name, Group, Data type, Access, PDO-mappable, Default, Last result and SDO.
  3. Filter by index or name, or by Group.
  1. Select Read in the row of the object.
  2. Expected: Last result shows the value, for example the device name of object 0x1008:00.

Read is off, with a reason in the tooltip, when:

  • you have neither the role View runtimes nor Manage runtimes;
  • the row is a group of sub entries (read one sub entry);
  • the data type is not supported for SDO calls;
  • the access type is write-only.

A node can answer a request with an SDO abort. This is a normal answer. Last result shows the abort code and its CiA 301 text, for example 0x06010002, the object is read-only on a write.

A write changes a live device immediately.

  1. You need the role Manage runtimes (lc_manage_runtimes).
  2. Select Write in the row of the object. Write is off for objects with the access type ro or const.
  3. Enter the value: decimal, or hexadecimal with 0x for unsigned types. Select Next.
  4. Read the confirmation text: You are about to write the value ... to object ... on ... The device changes immediately. Select Confirm write.
  5. Expected: Last result shows the result of the write, or the SDO abort code and text.

The device logs every write with the id of the user (SDO write requested, SDO write done). A value outside the range of the data type is rejected before it is sent.

  • The probe uses the CAN interface of the connection and its bit rate.
  • One probe runs at a time for each interface. A second probe gets BUS_BUSY: try again in a few seconds.
  • While the connector runs, a probe is allowed after the connector has finished its start-up checks. Before that, the probe fails with CONNECTOR_STARTING: try again in a few seconds. The connector waits for a running probe before it repeats its start-up checks.
  • The probe waits 1 s for the answer of a node. A node that does not answer gives SDO_TIMEOUT: check the node id, the bit rate and the wiring.
  • Do not change the PDO mapping or the communication parameters of a node that the connector runs. The connector takes the mapping from the device file, not from the device, so the values would be decoded wrongly.