Function createSafetyStatuswordBitsViewEntries

  • Creates an array of BitsViewEntry objects describing the Safety Statusword object (0x6621) byte-wise bit fields.

    Each entry represents one byte (8 bits) of the Safety Statusword and contains:

    • CANopen object index (0x6621)
    • Subindex corresponding to the byte position (1-based)
    • Bit size (8)
    • Bit names for that byte
    • Optional SMM Launchwave version information
    • A generated label in the format: "Safety Statusword Byte X" or "Safety Statusword V Byte X"

    If parameterStructureVersion is provided, it is converted to the corresponding Launchwave version using smmParameterStructureVersionToLaunchwaveVersion(). The resulting version is included in the returned entries and in the generated labels.

    If parameterStructureVersion is not provided, the entries are generated for non-SMM devices and no Launchwave version is associated with them.

    Returns

    Array of BitsViewEntry objects representing the Safety Statusword bytes.

    Parameters

    • Optional parameterStructureVersion: number

      Optional SMM parameter structure version. If provided, version-specific bit names and labels are generated.

    Returns BitsViewEntry[]

Generated using TypeDoc