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