SysTaskGenerateException
(FUN)
FUNCTION SysTaskGenerateException : RTS_IEC_RESULT
<description>Call the corresponding exception handler of the task.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTaskGenerateException
RTS_IEC_RESULT
Input
ulTaskOSHandle
RTS_IEC_HANDLE
<param name=”ulTaskOSHandle” type=”IN”>Operating system handle of the task</param>
ulException
UDINT
<param name=”ulException” type=”IN”>Rts standard exception</param>
Context
<param name=”Context” type=”IN”>Context to detect the code location where the exception occurred</param>