6. Function blocks
6.2 Interrupt function blocks
If there are multiple interrupt requests present sim-
ultaneously, the first detected interrupt program will be
executed, after which the remaining ones will be executed
based on the corresponding order.
While the interrupt program is being processed, any other
incoming interrupts at the function block inputs of the same
instance will not be detected.
6.2.1.2 Operating principle
A reference value is set at function block input SV. Depending on the operating mode,
the function block will be assigned one or two of device inputs I1 through I8 in the cor-
responding parameters (at least one of them will be set as a counter input in the para-
meters). If the counter input reaches the reference value, the interrupt will be triggered.
The system will switch from the main program to the interrupt program and the latter
will be processed.
Interaction between main program and interrupt program
The states of function block inputs IC_I1 through IC_04 are passed to the interrupt pro-
gram, where they can be processed further as I01 through I04.
Function block outputs IC_Q1 through IC_Q4 can be set from the interrupt program. The
corresponding interrupt program outputs are Q01 through Q04.
Main program
Interrupt program
Figure 187: Input and output states being passed between the main program and interrupt program
406
easyE4
11/18 MN050009 EN www.eaton.com
Summary of Contents for easyE4 series
Page 1: ...Manual 11 18 MN050009 EN easyE4 Manual...
Page 4: ......
Page 16: ...12 easyE4 11 18 MN050009 EN www eaton com...
Page 22: ...0 1 About this manual 18 easyE4 11 18 MN050009 EN www eaton com...
Page 169: ...easyE4 11 18 MN050009 EN www eaton com 165...
Page 490: ...7 System settings 7 16 Time and Date setting 486 easyE4 11 18 MN050009 EN www eaton com...
Page 520: ...9 easyE4 inside 9 7 NET network 516 easyE4 11 18 MN050009 EN www eaton com...
Page 570: ...11 Connection to other devices 11 6 E mail function 566 easyE4 11 18 MN050009 EN www eaton com...
Page 578: ...12 Faults 12 4 Functionality of the NET faulty 574 easyE4 11 18 MN050009 EN www eaton com...
Page 582: ...13 Maintenance 13 3 Storage transport and disposal 578 easyE4 11 18 MN050009 EN www eaton com...
Page 594: ...590 easyE4 11 18 MN050009 EN www eaton com...