SysTaskSuspend (FUN) ¶ FUNCTION SysTaskSuspend : RTS_IEC_RESULT <description> Is called to suspend the given task. </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTaskSuspend RTS_IEC_RESULT Input hTask RTS_IEC_HANDLE <param name=”hTask” type=”IN”>Handle to task</param>
SysTaskWaitInterval (FUN) ¶ FUNCTION SysTaskWaitInterval : RTS_IEC_RESULT <description> Wait to the next interval to be activated, if OS supports cyclic task. </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTaskWaitInterval RTS_IEC_RESULT Input hTask RTS_IEC_HANDLE <param name=”hTask” type=”IN”>Handle to task</param>
SysTaskWaitSleep (FUN) ¶ FUNCTION SysTaskWaitSleep : RTS_IEC_RESULT <description>S This function serves to pause the processing of a running task for a time interval specified in milliseconds. Processing will be continued after the time interval elapsed. </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysTaskWaitSleep RTS_IEC_RESULT Input hTask RTS_IEC_HANDLE <param name=”hTask” type=”IN”>Handle to task</param> ulMilliSeconds UDINT <param name=”ulMilliSeconds” type=”IN”>Time in milliseconds to sleep</param>
SysTaskWaitSleepUs (FUN) ¶ FUNCTION SysTaskWaitSleepUs : RTS_IEC_RESULT <description> This function serves to pause the processing of a running task for a time interval specified in microseconds. The function is not implemented on every platform. </description> <result>error code</result> InOut: Scope Name Type Comment Return SysTaskWaitSleepUs RTS_IEC_RESULT Input hTask RTS_IEC_HANDLE <param name=”hTask” type=”IN”>Handle to task</param> Inout ptSleepUs SYSTIME <param name=”ptSleepUs” type=”IN”>Time in microseconds to sleep</param>
TaskPriorities (GVL) ¶ InOut: Scope Name Type Initial Comment Constant TASKPRIO_RANGE UDINT 255 This priorities are CoDeSys task priorities. The runtime system maps this priorities to operating system priorities TASKPRIO_SEGMENT UDINT 32 TASKPRIO_MAX UDINT 0 TASKPRIO_SYSTEM_BASE UDINT 0 Task segment 1 TASKPRIO_SYSTEM_END UDINT 31 TASKPRIO_REALTIME_BASE UDINT 32 Task segment 2 TASKPRIO_REALTIME_END UDINT 63 TASKPRIO_HIGH_BASE UDINT 64 Task segment 3 TASKPRIO_HIGH_END UDINT 95 TASKPRIO_ABOVENORMAL_BASE UDINT 96 Task segment 4 TASKPRIO_ABOVENORMAL_END UDINT 127 TASKPRIO_NORMAL_BASE UDINT 128 Task segment 5 TASKPRIO_NORMAL_END UDINT 159 TASKPRIO_BELOWNORMAL_BASE UDINT 160 Task segment 6 TASKPRIO_BELOWNORMAL_END UDINT 191 TASKPRIO_LOW_BASE UDINT 192 Task segment 7 TASKPRIO_LOW_END UDINT 223 TASKPRIO_LOWEST_BASE UDINT 224 Task segment 8 TASKPRIO_LOWEST_END UDINT 255 TASKPRIO_IDLE UDINT 255 TASKPRIO_MIN UDINT 255
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:11:19 companyName string 3S-Smart Software Solutions GmbH libraryFile SysTask.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysTask.clean.json version version 2.0.0.0 ProjectInformation LinkInSimulation bool True Released True LastModificationDateTime date 20.04.2021, 16:11:19 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description Placeholder SysTask Project SysTask Title SysTask Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SysTime ¶ Library Identification ¶ Placeholder: SysTime Default Resolution: SysTime, * (System) Namespace: SysTime Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTime SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
SysTaskInfo23 Library Documentation ¶ Company System Title SysTaskInfo23 Version 3.5.13.0 Categories System|SysLibs23 Author 3S - Smart Software Solutions Description 1 ¶ Compatibility library for CoDeSys 2.3 projects, to get access to taskinformations. Contents: ¶ POUs taskinfo (FunctionBlock) Indices and tables ¶ 1 Based on SysTaskInfo23.library, last modified 03.07.2018, 10:35:35. LibDoc 4.4.0.0-b.27 The content file SysTaskInfo23.clean.json was generated with CODESYS V3.5 SP13 on 03.07.2018, 10:35:36.
taskinfo (FB) ¶ FUNCTION_BLOCK taskinfo InOut: Scope Name Type Input bReset BOOL bBeginCycle BOOL tCycleTime DWORD Output tMin DWORD tMax DWORD tLast DWORD tCycleReal DWORD tJitterMax DWORD tJitterLast DWORD
POUs ¶ taskinfo (FunctionBlock)