Skip to content

SdoAbortCode Enum

A subset of the CiA 301 §7.2.4.3 Table 45 SDO abort codes needed by the MVP. Values are the exact 32-bit codes carried in an SDO Abort frame's data bytes 4..7 (little-endian).

public enum SdoAbortCode : System.UInt32

Fields

ToggleBitNotAlternated 84082688

Toggle bit not alternated (segmented transfer protocol violation).

SdoProtocolTimedOut 84148224

SDO protocol timed out.

CommandSpecifierInvalid 84148225

Client/server command specifier not valid or unknown.

InvalidBlockSize 84148226

Invalid block size (only used by block transfer).

CrcError 84148228

CRC error (block transfer only). Set when the CRC-16 carried in the end-of-block frame does not match the CRC computed by the receiver over the reassembled payload.

OutOfMemory 84148229

Out of memory — a segmented SDO transfer declared more bytes than the node is willing to buffer (see CanOpenNodeOptions.MaxSdoTransferBytes).

UnsupportedAccess 100728832

Unsupported access to an object.

AttemptReadWriteOnly 100728833

Attempt to read a write-only object.

AttemptWriteReadOnly 100728834

Attempt to write a read-only object.

ObjectDoesNotExist 100794368

Object does not exist in the object dictionary.

ObjectCannotBeMapped 100925505

Object cannot be mapped to a PDO (CiA 301 §7.2.4.6, PDO mapping parameter).

PdoMappingLengthExceeded 100925506

The number and length of the objects to be mapped would exceed the PDO capacity (CiA 301 §7.2.4.6 — more than 8 assembled payload bytes in this MVP).

DataTypeLengthMismatch 101122064

Data type does not match / length of service parameter does not match (CiA 301 §7.2.4.6 — used for PDO mapping entries whose bit length is not a positive multiple of eight, and for wrong widths when writing mapping parameter records).

LengthTooHigh 101122066

Data type does not match — length of service parameter too high.

LengthTooLow 101122067

Data type does not match — length of service parameter too low.

SubIndexDoesNotExist 101253137

Sub-index does not exist.

General 134217728

General error / unspecified.

Remarks

Only the codes actually emitted or matched by the MVP are enumerated. The wider CANopen standard defines dozens more; unrecognized abort codes coming in from a remote peer are still preserved as raw uint in SdoAbortException so callers see the exact vendor-specified code.