IoMgrIdentify (FUN) ¶ FUNCTION IoMgrIdentify : UDINT InOut: Scope Name Type Return IoMgrIdentify UDINT Input pConnector POINTER TO IoConfigConnector
IoMgrLockEnter (FUN) ¶ FUNCTION IoMgrLockEnter : RTS_IEC_RESULT This function acquires the mutual-exclusion locks for the given operations for critical sections inside the I/O driver’s implementation of IoDrvReadInputs(), IoDrvWriteOutputs(), and IoDrvStartBusCycle(). The locks can be released with the function IoMgrLockLeave() . While a lock is held, any other thread is blocked from acquiring the lock and waits until the lock is released. IMPLEMENTATION NOTE: The behavior of the dwLockScope parameter can’t be implemented on all platforms. Platforms without synchronization functionality may not be able to implement this behavior. IoMgrEmbedded of the CODESYSControlEmbedded runtime system for example can only disable and enable all interrupts. InOut: Scope Name Type Comment Return IoMgrLockEnter RTS_IEC_RESULT error code ERR_OK: Locks were successfully acquired. ERR_PARAMETER: The pbyIoDrv parameter is NULL (only implementations that use this parameter), or the dwLockScope parameter has none of the GVL LockScopes set (only implementations that use this parameter). ERR_FAILED: No driver entry for pbyIoDrv found in device pool. Input hIoDrv RTS_IEC_HANDLE Handle to the driver instance which is returned by the function IoMgrRegisterInstance2(). dwLockScope DWORD The operations for which to acquire locks. See GVL LockScopes for detailed information.
IoMgrReadInputs (FUN) ¶ FUNCTION IoMgrReadInputs : UDINT InOut: Scope Name Type Return IoMgrReadInputs UDINT Input pTaskMap POINTER TO IoConfigTaskMap
IoMgrLockLeave (FUN) ¶ FUNCTION IoMgrLockLeave : RTS_IEC_RESULT This function releases the mutual-exclusion locks (that were acquired with the function IoMgrLockEnter() ) for the given operations. IMPLEMENTATION NOTE: The behavior of the dwLockScope parameter can’t be implemented on all platforms. Platforms without synchronization functionality may not be able to implement this behavior. IoMgrEmbedded of the CODESYSControlEmbedded runtime system for example can only disable and enable all interrupts. InOut: Scope Name Type Comment Return IoMgrLockLeave RTS_IEC_RESULT error code ERR_OK: Locks were successfully released. ERR_PARAMETER: The pbyIoDrv parameter is NULL (only implementations that use this parameter), or the dwLockScope parameter has none of the GVL LockScopes set (only implementations that use this parameter). ERR_FAILED: No driver entry for pbyIoDrv found in device pool. Input hIoDrv RTS_IEC_HANDLE Handle to the driver instance which is returned by the function IoMgrRegisterInstance2(). dwLockScope DWORD The operations for which to release the locks. See GVL LockScopes for detailed information.
IoMgrScanModules (FUN) ¶ FUNCTION IoMgrScanModules : UDINT InOut: Scope Name Type Return IoMgrScanModules UDINT Input pConnector POINTER TO IoConfigConnector ppConnectorList POINTER TO POINTER TO IoConfigConnector pnCount POINTER TO DINT
IoMgrStartBusCycle (FUN) ¶ FUNCTION IoMgrStartBusCycle : UDINT InOut: Scope Name Type Return IoMgrStartBusCycle UDINT Input pConnector POINTER TO IoConfigConnector
IoMgrStartBusCycle2 (FUN) ¶ FUNCTION IoMgrStartBusCycle2 : UDINT Start the bus cycle for a specific connector, and pass the type of this call as an additional option. This way, the driver knows in which conditions (see BusCycleType) was called, by calling IoMgrGetBusCycleType(). InOut: Scope Name Type Return IoMgrStartBusCycle2 UDINT Input pConnector POINTER TO IoConfigConnector dwType UDINT
IoMgrUpdateConfiguration (FUN) ¶ FUNCTION IoMgrUpdateConfiguration : UDINT InOut: Scope Name Type Return IoMgrUpdateConfiguration UDINT Input pConnectorList POINTER TO IoConfigConnector nCount DINT
IoMgrUpdateConfiguration2 (FUN) ¶ FUNCTION IoMgrUpdateConfiguration2 : UDINT InOut: Scope Name Type Return IoMgrUpdateConfiguration2 UDINT Input pConnectorList POINTER TO IoConfigConnector nCount DINT pszConfigApplication REFERENCE TO STRING
IoMgrUpdateMapping (FUN) ¶ FUNCTION IoMgrUpdateMapping : UDINT InOut: Scope Name Type Return IoMgrUpdateMapping UDINT Input pTaskMapList POINTER TO IoConfigTaskMap nCount DINT