Interface PdoMappingEntry

Represents the components of a single CANopen PDO Mapping Entry.

A PDO Mapping Entry is a 32-bit value describing which object dictionary parameter maps to a specific location in a PDO message.

The 32-bit structure is defined as:

  • Index (16-bit): The object dictionary index (e.g., 0x6040).
  • Subindex (8-bit): The specific sub-element of the object (e.g., 0x00).
  • Bit Length (8-bit): The size of the data in bits (e.g., 16).

Hierarchy

  • PdoMappingEntry

Properties

Properties

bitLength: number

The length of the mapped parameter in bits (8-bit unsigned integer).

Example

16 (for a 16-bit integer)

Example

0x10 (hex representation of 16)
index: number

The Object Dictionary Index (16-bit unsigned integer).

Example

0x6040 (Controlword)
subindex: number

The Object Dictionary Subindex (8-bit unsigned integer).

Example

0x00 (Main value)

Generated using TypeDoc