ST_RAIDStatusRes

TYPE ST_RAIDStatusRes :
STRUCT
    nRAIDSetIndex      : UDINT;
    eRAIDType          : E_RAIDType;
    eRAIDStatus        : E_RAIDStatus;
    nRAIDDriveCount    : UINT;
    nReserved          : UINT;
    stRAIDDriveStatus  : ARRAY [1..g_nMAX_NUMBER_OF_RAID_DRIVES] OF ST_RAIDDriveStatus;
END_STRUCT
END_TYPE

nRAIDSetIndex:RAID set ID, same as input.

eRAIDType: Contains the basic RAID type of the RAID set. eRAID_TYPE_NONE, indicates the RAID set is composed of a single drive. In other words, no set with the given number exists.

eRAIDStatus: Contains the status of the RAID set.

nRAIDDriveCount: Contains the number of drives in the RAID set

nReserved: reserved

stRAIDDriveStatus: Contains the status of the physical drive and whether the physical drive is part of the RAID set. g_nMAX_NUMBER_OF_RAID_DRIVES is the number of RAID drive status that can be read and is defined as global constant = 10.