SysIECTaskResetEventΒΆ

This auxiliary function of type BOOL resets the event variable of an event triggered IEC task.

The function has no input parameter. It is working on the current task. It returns TRUE in case of success, otherwise 0 FALSE (e.g. if the task is not an event triggered task).

The function sets the BOOLean IEC-variable, which is used as an event, to FALSE, and the internal flag of the runtime system task management to 0.

So it is achieved that a rising edge of the event variable will be regarded at the next cycle of the scheduler.