Skip to main content

Tab: CANopen Remote Device – SDOs

During the initialization of the CAN bus, CODESYS transmits the current configuration settings by using SDOs (service data objects).

On this tab, you configure the necessary SDOs. You configure the necessary SDOs and determine the transmission order of the objects and the actions taken in case of a transmission error.

The object order in this list corresponds to the transmission order of SDOs to the module.

Important

If the Expert settings option is not activated for the current device, then only the user-defined SDOs are shown here.

Add SDO

Opens the Select Item from Object Directory dialog where all available SDOs are displayed. The selected object is inserted after the selected object.

Edit

Opens the Select Item from Object Directory dialog and marks the corresponding object. You can modify the object parameters or replace the object with another one.

Delete

Deletes the selected objects from the list

Move Up

Moves the selected object upwards by one line.

Move Down

Moves the selected object downwards by one line.

Abort on Error

standard icon: If an error is detected for this SDO, then the stack stops the configuration phase of the current slave. The slave remains in PREOPERATIONAL mode.

Jump to Line on Error

standard icon: The transmission is continued with the SDO that you indicated in the Next Line column.

Next Line

Line number where processing continues if there an error is detected

SDO Timeout (ms)

Timeout for the SDO transmission. If the slave does not respond to the SDO request within this time, then the transmission is canceled with a timeout.

Create all SDOs

standard icon: Creates an SDO for all writable objects starting at index 16#2000 for which a default value is given in the EDS. Only experts should use this option. It should be deactivated for standard use.

Write complete PDO configuration

standard icon: This option forces the writing of all PDO configuration objects. In this way, you make sure that the settings in the project correspond to those of the slave.

_cds_icon_option_deactivated.png: PDOs are not deactivated explicitly. The requirement is that the Default settings option is activated in the common settings of the slave and the PDOs are also deactivated in the EDS. If the default values in the EDS do not match the default settings of the slave firmware, then this procedure may cause problems. In this case, you should activate this option.

Dialog: Select Item from Object Directory

The table shows all object directory entries from the device EDS file for each SDO that are writable and not larger than 4 bytes. Before you add an SDO for selection in the SDO dialog, you can modify its parameters in the fields below the table. In this way, you can also created an SDO that is not writable in the EDS file by entering a new index/subindex value.

Name

COB-ID of the PDO or the name of the "mapped" object as it is used in the device description and in the object directory.

Index

Index of the object

Subindex

Subindex of the object

Access type

  • RW: Read/Write

  • WO: Write Only

  • RWW: Read/Write per SDO; write permission per PDO (==> RPDO, output from the master viewpoint, input from point of view of the slave).

  • RWR: Read/Write per SDO; read permission per PDO (==> TPDO, input from the master viewpoint, output from the point of view of the slave).

Type

Data type of the object

Default Value

Default value of the object

Bit length

Length of the object

Value