6. Function blocks6.2 Interrupt function blocks6.2.2.2 Operating principleYou can use function block input TD to set a reference value for a delay you want. Youwill need to assign one of device inputs I1 through I8 to the function block as an inter-rupt source. The first edge at the assigned device input will trigger the interrupt directlyif you did not configure a delay. Otherwise, the interrupt will be triggered after the con-figured delay elapses. The system will switch from the main program to the interruptprogram and the latter will be processed.Interaction between main program and interrupt programThe states of function block inputs IE_I1 through IE_04 are passed to the interrupt pro-gram, where they can be processed further as I01 through I04.Function block outputs IE_Q1 through IE_Q4 can be set from the interrupt program. Thecorresponding interrupt program outputs are Q01 through Q04.Main program Interrupt programFigure 196: Input and output states being passed between the main program and interrupt programIf an output is defined as a physical output on base device in the parameters for theinterrupt program, the output will be assigned an identifier of QP01 – QP04 and will actdirectly on device output Q1 – Q4.Zur Verarbeitung des Interrupt-Programmes hat der Funktionsbaustein einen eigenenMerkerbereich von 32 Merker-Bits.Available functions within an interrupt programInterrupt programs are not available when using the EDP programming language.easyE4 11/18 MN050009 EN www.eaton.com 419