Function getSafetyStatuswordBitNames

  • Retrieves the names or descriptions of safety statusword bits based on the parameter structure version.

    This function takes a parameter structure version and returns an array of arrays, where each inner array contains the names or descriptions of the safety statusword bits. The bits are grouped by byte index, with each byte being represented as a separate array of bit names or descriptions.

    The function uses the getSafetyStatuswordBits function to fetch the safety statusword bits based on the version:

    • 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

    A 2D array where each inner array contains the names or descriptions of the safety statusword bits, grouped by byte index.

    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 string[][]

Generated using TypeDoc