
6. Function blocks
6.2 Interrupt function blocks
The time between the moment the triggering signal is detected and the moment there is
a response at an output is < 1 ms. If multiple interrupts are executed simultaneously,
the times add up.
Measuring the interrupt load
The runtime for each interrupt source is measured in µs. All measured times are added
over a period of 100 ms. After each 100 ms, the total of all times is evaluated and the
time measurement is cleared. If the interrupts used up more than 50% of the computing
time, the application will be stopped.
The <System_CPU_overload> diagnostic message will be generated and ID19 will be
set to 1.
For more information on how diagnostic messages can be called and processed,
please refer to Processing diagnostic messages
Available fixes for high interrupt loads
If the interrupt load becomes too heavy, the following steps can be taken to reduce it:
l
Reduce the number of function blocks
l
Keep the interrupt routine as short as possible
l
Reduce frequencies when using counters
Example of a pulse counter with external direction control in easySoft 7
Device input I1: Counter input C_
Device input I5: Counting direction D_
If the setpoint of <1750> is reached at device input I1, the system will jump to the inter-
rupt program. Inside the interrupt program, QP04 will be used to set device output Q4 to
1 directly. Q01 will be used to set function block output Q1 to 1. The system will then
jump back to the main program.
Figure 188: easySoft 7 main program
412
easyE4
11/18 MN050009 EN www.eaton.com
Содержание easyE4 series
Страница 1: ...Manual 11 18 MN050009 EN easyE4 Manual...
Страница 4: ......
Страница 16: ...12 easyE4 11 18 MN050009 EN www eaton com...
Страница 22: ...0 1 About this manual 18 easyE4 11 18 MN050009 EN www eaton com...
Страница 40: ...1 easyE4 control relays description 1 10 Safety regulations 36 easyE4 11 18 MN050009 EN www eaton com...
Страница 169: ...easyE4 11 18 MN050009 EN www eaton com 165...
Страница 462: ...6 Function blocks 6 4 Timing and counter relay example 458 easyE4 11 18 MN050009 EN www eaton com...
Страница 490: ...7 System settings 7 16 Time and Date setting 486 easyE4 11 18 MN050009 EN www eaton com...
Страница 520: ...9 easyE4 inside 9 7 NET network 516 easyE4 11 18 MN050009 EN www eaton com...
Страница 524: ...10 Diagnostics messages of the operating system 10 2 Diagnostics buffer 520 easyE4 11 18 MN050009 EN www eaton com...
Страница 570: ...11 Connection to other devices 11 6 E mail function 566 easyE4 11 18 MN050009 EN www eaton com...
Страница 578: ...12 Faults 12 4 Functionality of the NET faulty 574 easyE4 11 18 MN050009 EN www eaton com...
Страница 582: ...13 Maintenance 13 3 Storage transport and disposal 578 easyE4 11 18 MN050009 EN www eaton com...
Страница 594: ...590 easyE4 11 18 MN050009 EN www eaton com...
Страница 614: ...610 easyE4 11 18 MN050009 EN www eaton com...