SdoError

SdoError

Represents an SDO transfer error.

Constructor

new SdoError(code, index, subIndex)

Source:
Parameters:
Name Type Description
code SdoCode

error code.

index number

object index.

subIndex number

object subIndex.

Members

(static, constant) SdoCode :string

Description:
  • CANopen abort codes.

Source:
See:
  • CiA301 'Protocol SDO abort transfer' (ยง7.2.4.3.17)
Properties:
Name Type Description
TOGGLE_BIT string

Toggle bit not altered.

TIMEOUT string

SDO protocol timed out.

BAD_COMMAND string

Command specifier not valid or unknown.

BAD_BLOCK_SIZE string

Invalid block size in block mode.

BAD_BLOCK_SEQUENCE string

Invalid sequence number in block mode.

BAD_BLOCK_CRC string

CRC error in block mode.

OUT_OF_MEMORY string

Out of memory.

UNSUPPORTED_ACCESS string

Unsupported access to an object.

WRITE_ONLY string

Attempt to read a write only object.

READ_ONLY string

Attempt to write a read only object.

OBJECT_UNDEFINED string

Object does not exist.

OBJECT_NOT_MAPPABLE string

Object cannot be mapped to the PDO.

MAP_LENGTH string

Number and length of object to be mapped exceeds PDO length.

PARAMETER_INCOMPATIBILITY string

General parameter incompatibility reasons.

DEVICE_INCOMPATIBILITY string

General internal incompatibility in device.

HARDWARE_ERROR string

Access failed due to hardware error.

BAD_LENGTH string

Data type does not match: length of service parameter does not match.

DATA_LONG string

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

DATA_SHORT string

Data type does not match: length of service parameter too short.

BAD_SUB_INDEX string

Sub index does not exist.

BAD_VALUE string

Invalid value for download parameter.

VALUE_HIGH string

Value range of parameter written too high.

VALUE_LOW string

Value range of parameter written too low.

RANGE_ERROR string

Maximum value is less than minimum value.

SDO_NOT_AVAILBLE string

Resource not available: SDO connection.

GENERAL_ERROR string

General error.

DATA_TRANSFER string

Data cannot be transferred or stored to application.

LOCAL_CONTROL string

Data cannot be transferred or stored to application because of local control

DEVICE_STATE string

Data cannot be transferred or stored to application because of present device state.

OD_ERROR string

Object dictionary not present or dynamic generation failed.

NO_DATA string

No data available.

CANopen abort codes.

Type:
  • string