SYS_DATA_TYPE_DINT

Gruppo

Valori operativi

Tipo di dato

UINT

Nome

Costante di sistema che rappresenta il tipo di dati DINT

Utilizzabile insieme con GetDataTypeInfo per confrontare il tipo di dato uiElementType dei risultati della DUT DATA_TYPE_INFO_DUT.

Esempio
    if ( bEnable ) then
		
		adutDataTypeInfo := GetDataTypeInfo(dutVariable);
		
		for iIndex_i := 0 to Elem_OfArray1D(Array1D := adutDataTypeInfo) do 
			
			if (adutDataTypeInfo[iIndex_i].uiElementDataType = SYS_DATA_TYPE_DINT) then	
				bIsDintMemberFound := TRUE; (* set flag for special handling of dint data *)
			elsif (adutDataTypeInfo[iIndex_i].uiElementDataType = SYS_DATA_TYPE_INVALID) then
				exit; (* No more member data types *)
			end_if;
			
		end_for;
		
    end_if;

L'ultima revisione: 27.09.2021Feedback su questa paginaPanasonic hotline