IoMgrConfigGetParameterValueWord (FUN) ¶ FUNCTION IoMgrConfigGetParameterValueWord : WORD InOut: Scope Name Type Return IoMgrConfigGetParameterValueWord WORD Input pParameter POINTER TO IoConfigParameter pResult POINTER TO UDINT
IoMgrConfigResetDiagnosis (FUN) ¶ FUNCTION IoMgrConfigResetDiagnosis : UDINT InOut: Scope Name Type Return IoMgrConfigResetDiagnosis UDINT Input pConnector POINTER TO IoConfigConnector dwFlags DWORD
IoMgrConfigSetDiagnosis (FUN) ¶ FUNCTION IoMgrConfigSetDiagnosis : UDINT InOut: Scope Name Type Return IoMgrConfigSetDiagnosis UDINT Input pConnector POINTER TO IoConfigConnector dwFlags DWORD
ICmpIoDrv ¶ IoMgrGetModuleDiagnosis (Function) IoMgrIdentify (Function) IoMgrLockEnter (Function) IoMgrLockLeave (Function) IoMgrReadInputs (Function) IoMgrScanModules (Function) IoMgrStartBusCycle (Function) IoMgrStartBusCycle2 (Function) IoMgrUpdateConfiguration (Function) IoMgrUpdateConfiguration2 (Function) IoMgrUpdateMapping (Function) IoMgrUpdateMapping2 (Function) IoMgrWatchdogTrigger (Function) IoMgrWriteOutputs (Function)
IoMgrGetModuleDiagnosis (FUN) ¶ FUNCTION IoMgrGetModuleDiagnosis : UDINT InOut: Scope Name Type Return IoMgrGetModuleDiagnosis UDINT Input pConnector POINTER TO IoConfigConnector
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.
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.
IoMgrReadInputs (FUN) ¶ FUNCTION IoMgrReadInputs : UDINT InOut: Scope Name Type Return IoMgrReadInputs UDINT Input pTaskMap POINTER TO IoConfigTaskMap
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