EasyManua.ls Logo

Mitsubishi Electric R60AD8-G - Interrupt Function

Mitsubishi Electric R60AD8-G
342 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...
1 FUNCTIONS
1.13 Interrupt Function
81
1
1.13 Interrupt Function
This function executes an interrupt program of the CPU module when an interrupt factor such as an input signal error or alert
output is detected.
For the A/D converter module, the maximum number of interrupt pointers available is 16 per module.
Operation
Detecting an interrupt factor
When an interrupt factor occurs, an interrupt request is sent to the CPU module at the same time as 'Interrupt factor detection
flag [n]' (Un\G4 to Un\G19) is turned to Interrupt factor (1).
How to reset an interrupt factor
When Reset request (1) is set to 'Interrupt factor reset request [n]' (Un\G156 to Un\G171) corresponding to the interrupt factor,
the specified interrupt factor is reset and 'Interrupt factor detection flag [n]' (Un\G4 to Un\G19) changes to No interrupt factor
(0).
Setting procedure
To use the interrupt function, set "Condition target setting", "Condition target channel setting", "Interrupt factor transaction
setting", and "Interrupt pointer" in the engineering tool. After completing the settings, write the project to enable the settings.
[Navigation window] [Parameter] [Module Information] Module model name [Module Parameter] [Interrupt
setting]
The following table shows the setting items on the interrupt setting window.
Condition target setting
Select a factor of the condition target setting for the interrupt detection.
For details on the factors to be detected, refer to the following.
Page 153 Condition target setting [n]
Condition target channel setting
Select a target channel when the condition target setting for the interrupt detection is channel specification.
For details on the settings, refer to the following.
Page 154 Condition target channel setting [n]
Interrupt factor transaction setting
Set an interrupt request for when the same interrupt factor occurs during the interrupt factor detection.
With "Interrupt reissue requests (0)", if the same interrupt factor occurs during the interrupt factor detection, an interrupt
request is sent to the CPU module again.
With "No interrupt reissue request (1)", if the same interrupt factor occurs during the interrupt factor detection, an interrupt
request is not sent to the CPU module.
Interrupt pointer
Specify the number of an interrupt pointer that is initiated at the detection of an interrupt factor. For details on the interrupt
pointers, refer to the following.
MELSEC iQ-R CPU Module User's Manual (Application)
Item Description
Condition target setting Select a factor of the target for the interrupt detection.
Condition target channel setting Select a target channel when the condition target setting for the interrupt
detection is channel specification.
Interrupt factor transaction setting Set an interrupt request for when the same interrupt factor occurs during the
interrupt factor detection.
Interrupt pointer Specify the number of an interrupt pointer that is initiated at the detection of an
interrupt factor.

Table of Contents

Related product manuals