EasyManua.ls Logo

Inovance H3U Series - Input Interrupts

Inovance H3U Series
737 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
355
5
5 High-speed Input 5.3.2 Input Interrupts
5.3.2 Input Interrupts
Input interrupts include interrupts on the rising/falling edge and counter interrupts. The interrupt numbers
(Ixxx) are shown below:
Interrupts on the Rising/Falling Edge Counter Interrupts
Port Rising Edge Falling Edge
I010
I020
I030
I040
I050
I060
I070
I080
X-axis PG0 I001 I000
Y-axis PG1 I101 I100
Z-axis PG2 I201 I200
1
)
Use of Interrupts:
Interrupts should be used with interrupt subprograms. Choose interrupt events in the attribute of an interrupt
subprogram. That is, set the interrupt number. In case of "Enable Interrupts", when the set interrupt events
occur, the PLC system suspends normal execution of the main program (remember the current pause
point), starts the execution of the interrupt subprogram from the entry address specied by I, returns to the
pause point after completion, and continues to execute the main program. As the PLC system gives a high
priority of response to interrupt signals, interrupts are independent of the scan duration.
2
)
Interrupts on the Rising/Falling Edge:
PG0 to PG2 of the PLC can be separately set to interrupt input ports, each with interrupt on the rising/falling
edge indicated by the interrupt number. For example, "I100" indicates the interrupt on the falling edge of
PG1 port, and "I101" indicates the interrupt on the rising edge of PG1 port.
Counter interrupts: Based on the comparison result of the built-in high-speed counter, the PLC system
executes the interrupt subprogram (HSCS) and gives priority to control of counting results. High-speed
counter interrupt is used when the target output of the HSCS instruction is set to I010–I080.
To use the interrupt function, program corresponding interrupt subprograms and turn on the corresponding
"Enable Interrupts" ag before interrupt response. "Enable Interrupts" ag is shown below:

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals