Function getSafetyStatuswordBits

  • Retrieves the safety statusword bits based on the provided parameter structure version.

    The function returns different sets of safety statusword bits depending on the parameterStructureVersion value:

    • If the version is less than 0x0203, it returns the statusword bits for version 1.
    • If the version is 0x0203 or greater, it returns the statusword bits for version 2.

    Returns

    An array of SafetyStatuswordBit objects corresponding to the appropriate safety statusword bits.

    Parameters

    • parameterStructureVersion: number = 0x0041

      The version of the parameter structure to determine which statusword bits to return. Defaults to 0x0041 if not provided. If the version is less than 0x0203, it returns the version 1 bits, otherwise version 2 bits.

    Returns SafetyStatuswordBit[]

Generated using TypeDoc