![Fuji Electric MICREX-SX series Скачать руководство пользователя страница 45](http://html.mh-extra.com/html/fuji-electric/micrex-sx-series/micrex-sx-series_user-manual_2341770045.webp)
4-9
Section 4 High-speed Counter
* To use an interrupt, directly assign the match interrupt flag (%MX10.275.0), or assign this flag to a global variable and then
assign the variable to the task. Be careful that the match interrupt flag is not set ON even when interrupt occurs.
4-2 How to Use High-speed Counter
<Operation of match interrupt>
POU assigned
to default task
Occurrence
of match
POU assigned to
the interrupt start
address
<Priority of interrupt>
When multiple interrupts occur at a time, an interrupt task to which the highest priority is given is executed first, and then other
interrupt tasks are executed in order of their priority levels.
When an interrupt of higher priority occurs while an interrupt task is being executed, the former must wait till the latter is
completed.
Maximum 4 interrupts can be set, to which priority level 0 to 3 is set.
Priority of interrupt
High priority
Priority level 0 > Priority level 1 > Priority level 2 > Priority level 3
Low priority