IecTaskDisableWatchdog2 (FUN) ¶ FUNCTION IecTaskDisableWatchdog2 : RTS_IEC_RESULT Disable watchdog for the specified task Note You have to enable the watchdog of the task with IecTaskEnableWatchdog2 and _not_ with IecTaskEnableWatchdog , because they act on different task flags! The watchdog is disabled until IecTaskEnableWatchdog2 is called!!! So this is a security issue, if you never enable the watchdog! As a consequence, you always have to call IecTaskDisableWatchdog2 and IecTaskEnableWatchdog2 symmetrical Can be called nested. First call disables the watchdog. InOut: Scope Name Type Comment Return IecTaskDisableWatchdog2 RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library) ERR_OK: The watchdog for the task was disabled ERR_PARAMETER: The task handle was invalid Input hIecTask RTS_IEC_HANDLE Handle of the task
IecTaskEnableScheduling (FUN) ¶ FUNCTION IecTaskEnableScheduling : RTS_IEC_RESULT Enable scheduling for one specified task InOut: Scope Name Type Comment Return IecTaskEnableScheduling RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library) Input hIecTask RTS_IEC_HANDLE Handle of the task
IecTaskEnableWatchdog (FUN) ¶ FUNCTION IecTaskEnableWatchdog : RTS_IEC_RESULT Enable watchdog for the specified task Note You have to disable the watchdog of the task before with IecTaskDisableWatchdog and _not_ with IecTaskDisableWatchdog2 , because they act on different task flags! The watchdog is enabled only at the next IEC cycle and _not_ immediately after calling this function! If you disable with IecTaskDisableWatchdog and forgot to enable it, at least at the next cycle, the watchdog is automatically enabled! InOut: Scope Name Type Comment Return IecTaskEnableWatchdog RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library) ERR_OK: The watchdog for the task was enabled ERR_PARAMETER: The task handle was invalid Input hIecTask RTS_IEC_HANDLE Handle of the task
IecTaskEnableWatchdog2 (FUN) ¶ FUNCTION IecTaskEnableWatchdog2 : RTS_IEC_RESULT Enable watchdog for the specified task Note You have to disable the watchdog of the task before with IecTaskDisableWatchdog2 and _not_ with IecTaskDisableWatchdog , because they act on different task flags! The watchdog is enabled only at the next IEC cycle and _not_ immediately after calling this function! But if you never enable the watchdog after calling IecTaskDisableWatchdog2 , the watchdog is disabled forever! As a consequence, you always have to call IecTaskDisableWatchdog2 and IecTaskEnableWatchdog2 symmetrical Can be called nested. Last call enables the watchdog. InOut: Scope Name Type Comment Return IecTaskEnableWatchdog2 RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library) ERR_OK: The watchdog for the task was enabled ERR_PARAMETER: The task handle was invalid Input hIecTask RTS_IEC_HANDLE Handle of the task
IecTaskGetCurrent (FUN) ¶ FUNCTION IecTaskGetCurrent : RTS_IEC_HANDLE Funktion to get own task handle InOut: Scope Name Type Comment Return IecTaskGetCurrent RTS_IEC_HANDLE Returns the current IEC task handle Input pResult POINTER TO RTS_IEC_RESULT Pointer that returns the runtime system error code (see CmpErrors.library)
IecTaskGetDesc (FUN) ¶ FUNCTION IecTaskGetDesc : POINTER TO Task_Desc2 InOut: Scope Name Type Return IecTaskGetDesc POINTER TO Task_Desc2 Input hIecTask RTS_IEC_HANDLE
IoDrvEthercat_Diag.GetSpecificBusState (METH) ¶ METHOD GetSpecificBusState : DED.ERROR Returns the fieldbus specific bus state; interpretation is fieldbus dependent InOut: Scope Name Type Comment Return GetSpecificBusState DED.ERROR Input pData CAA.PVOID Pointer to memory szSize CAA.SIZE Size of memory in bytes where pData is pointing to Output szCount CAA.SIZE Number of Bytes written to pData
IoDrvEthercat_Diag.GetSpecificDeviceErrorAsync (METH) ¶ METHOD GetSpecificDeviceErrorAsync : DED.PROC_STATE Returns the device error of the current node InOut: Scope Name Type Comment Return GetSpecificDeviceErrorAsync DED.PROC_STATE Input eCmd DED.PROC_CMD eCommand pData CAA.PVOID szSize CAA.SIZE Output szCount CAA.SIZE eError DED.ERROR
IoDrvEthercat_Diag.GetSpecificDeviceState (METH) ¶ METHOD GetSpecificDeviceState : DED.ERROR InOut: Scope Name Type Return GetSpecificDeviceState DED.ERROR Input pData CAA.PVOID szSize CAA.SIZE Output szCount CAA.COUNT
INode ¶ ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)