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, as for the input.

eRAIDType: Contains the basic RAID type of the RAID set (type: E_RAIDType). eRAID_TYPE_NONE, indicates that the RAID set consists of a single drive, i.e. no set exists with the specified number.

eRAIDStatus: Contains the status of the RAID set (type: E_RAIDStatus).

nRAIDDriveCount: Contains the number of drives in the RAID set

nReserved: Reserved.

stRAIDDriveStatus: Contains the status of the physical drive and the information regarding whether the physical drive is part of the RAID set (type: ST_RAIDDriveStatus).

g_nMAX_NUMBER_OF_RAID_DRIVES is the number of RAID drives whose status can be read and is defined as a global constant = 10.

Requirements

Development environment

Target platform

PLC libraries to be integrated (category group)

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_IoFunctions (IO)