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)
CmpIoDrvWrapper.QueryInterface (METH) ¶ METHOD QueryInterface : POINTER TO POINTER TO BYTE InOut: Scope Name Type Comment Return QueryInterface POINTER TO POINTER TO BYTE Input iid DWORD InterfaceID pResult POINTER TO UDINT
ICmpIoDrv ¶ IoDrvGetInfo (Method) IoDrvGetModuleDiagnosis (Method)
CmpIoDrvWrapper.IoDrvGetInfo (METH) ¶ METHOD IoDrvGetInfo : UDINT InOut: Scope Name Type Return IoDrvGetInfo UDINT Input ppInfo POINTER TO POINTER TO IoDrvInfo
CmpIoDrvWrapper.IoDrvGetModuleDiagnosis (METH) ¶ METHOD IoDrvGetModuleDiagnosis : UDINT InOut: Scope Name Type Return IoDrvGetModuleDiagnosis UDINT Input pConnector POINTER TO IoConfigConnector
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)