Stack.ContainsValue (METH) ¶ METHOD ContainsValue : COLLECTION_ERROR Checks if the collection contains the value of itfElement . This method calls ElementEquals of IElement to compare the element values. InOut: Scope Name Type Comment Return ContainsValue COLLECTION_ERROR Input itfElement IElement The element to check Output xResult BOOL True if the collection contains the value of itfElement
Stack.CountElements (METH) ¶ METHOD CountElements : UDINT Returns the number of elements. InOut: Scope Name Type Return CountElements UDINT
CmpIoDrvC.IoDrvDPV1_C2_M_Write (METH) ¶ METHOD IoDrvDPV1_C2_M_Write : UDINT InOut: Scope Name Type Return IoDrvDPV1_C2_M_Write UDINT Inout dpv1c2_Write DPV1_C2_Write
ICmpIoDrvParameter ¶ IoDrvReadParameter (Method) IoDrvWriteParameter (Method)
CmpIoDrvC.IoDrvReadParameter (METH) ¶ METHOD IoDrvReadParameter : UDINT InOut: Scope Name Type Return IoDrvReadParameter UDINT Input pConnector POINTER TO IoConfigConnector pParameter POINTER TO IoConfigParameter pData POINTER TO BYTE dwBitSize DWORD dwBitOffset DWORD
CmpIoDrvC.IoDrvWriteParameter (METH) ¶ METHOD IoDrvWriteParameter : UDINT InOut: Scope Name Type Return IoDrvWriteParameter UDINT Input pConnector POINTER TO IoConfigConnector pParameter POINTER TO IoConfigParameter pData POINTER TO BYTE dwBitSize DWORD dwBitOffset DWORD
CmpIoDrvWrapper (FB) ¶ FUNCTION_BLOCK CmpIoDrvWrapper IMPLEMENTS IBase, ICmpIoDrv, ICmpIoDrvParameter, ICmpIoDrvDPV1C1Master, ICmpIoDrvDPV1C2Master <description> This is a wrapper function block around each IO-driver to hide the implementation (written in C or IEC). The wrapper can used the same, if the driver is written in C or IEC. </description> <param name=”_pIBase” type=”IN”>IBase pointer to the driver that is provided by the CmpIoMgr</param> <param name=”_bIecDriver” type=”IN”>1=_pIBase is an IEC driver, 0=C-driver</param> <param name=”_pIBaseIEC” type=”OUT”>Generic IBase interface that can be used in IEC</param> InOut: Scope Name Type Input _pIBase IBase _bIecDriver BOOL Output _pIBaseIEC IBase Methods: GetFirstConnector GetNextConnector SetFirstDriver SetNextDriver IoDrvDPV1_C1_M_Alarm IoDrvDPV1_C1_M_AlarmAck IoDrvDPV1_C1_M_Read IoDrvDPV1_C1_M_Status IoDrvDPV1_C1_M_Write IoDrvDPV1_C2_M_Abort IoDrvDPV1_C2_M_Initiate IoDrvDPV1_C2_M_Read IoDrvDPV1_C2_M_Write IoDrvGetInfo IoDrvGetModuleDiagnosis IoDrvReadParameter IoDrvWriteParameter QueryInterface Structure: GetFirstConnector (Method) GetNextConnector (Method) IBase QueryInterface (Method) ICmpIoDrv IoDrvGetInfo (Method) IoDrvGetModuleDiagnosis (Method) ICmpIoDrvDPV1C1Master IoDrvDPV1_C1_M_Alarm (Method) IoDrvDPV1_C1_M_AlarmAck (Method) IoDrvDPV1_C1_M_Read (Method) IoDrvDPV1_C1_M_Status (Method) IoDrvDPV1_C1_M_Write (Method) ICmpIoDrvDPV1C2Master IoDrvDPV1_C2_M_Abort (Method) IoDrvDPV1_C2_M_Initiate (Method) IoDrvDPV1_C2_M_Read (Method) IoDrvDPV1_C2_M_Write (Method) ICmpIoDrvParameter IoDrvReadParameter (Method) IoDrvWriteParameter (Method) SetFirstDriver (Method) SetNextDriver (Method)
CmpIoDrvWrapper.GetFirstConnector (METH) ¶ METHOD GetFirstConnector : POINTER TO IoConfigConnector <description> Get the first connector of the actual set IO-driver instance </description> <result>Pointer to the connector</result> InOut: Scope Name Type Return GetFirstConnector POINTER TO IoConfigConnector
CmpIoDrvWrapper.GetNextConnector (METH) ¶ METHOD GetNextConnector : POINTER TO IoConfigConnector <description> Get the next connector of the actual set IO-driver instance </description> <result>Pointer to the connector</result> InOut: Scope Name Type Return GetNextConnector POINTER TO IoConfigConnector
IBase ¶ QueryInterface (Method)