SysExceptGenerateException (FUN)

FUNCTION SysExceptGenerateException : RTS_IEC_RESULT

<description>Interrupt the execution of the currently running task, and set the application into an exception state. If the runtime system supports it, CODESYS may even highlight the source position where this function was called.</description> <result><p>RESULT: If succeeded this function doesn’t return at all, otherwise it returns ERR_FAILED.</p></result>

InOut:

Scope

Name

Type

Return

SysExceptGenerateException

RTS_IEC_RESULT

Input

udiException

UDINT