AddToDataSet

This method is used to add a data object (DO) to the member container of the data set.

METHOD FINAL AddToDataSet : BOOL
VAR_INPUT
    ipDataSet : I_AcsiCommonDataSetClass;
    eFc       : E_AcsiFc;
END_VAR
VAR_OUTPUT
    bMatched  : BOOL;
    ipDirNode : I_AcsiDataSetMemberClass;
END_VAR

ipDataSet: Interface pointer of type I_AcsiCommonDataSetClass of the data set in whose member container the data object is to be added.

eFc: Functional group of the data object of type E_AcsiFc.

bMatched: If TRUE, the data object is already in the member container.

ipDirNode: interface pointer of the new container list item.

Return parameter: Positive message (TRUE) on success, negative message (FALSE) on error.