Interrupt Function - Mitsubishi Electric MELSEC iQ-R Series User Manual

High speed digital-analog converter module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

1.13

Interrupt Function

Normal
The D/A converter module executes the interrupt program of the CPU module when an interrupt factor such as a
disconnection or warning output is detected.
For the D/A converter module, the maximum number of interrupt pointers available is 16 per module.
Operation
■Detecting an interrupt factor
An interrupt factor will be detected by setting "Interrupt setting" of Module Parameter and setting 'Interrupt factor mask [n]'
(Un\G124 to Un\G139) to Mask clear (Interrupt used) (1) beforehand. 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 in 'Interrupt factor reset request [n]' (Un\G156 to Un\G171) corresponding to the interrupt factor,
the specified interrupt factor is reset and the value of 'Interrupt factor detection flag [n]' (Un\G4 to Un\G19) changes to No
interrupt factor (0).
Setting method
To use the interrupt function, set "Condition target setting", "Condition target channel setting", "Interrupt factor transaction
setting", and "Interrupt pointer" with the engineering tool. After completing the settings, write the project to enable the settings.
[Navigation window]  [Parameter]  [Module Information]  Module model name  [Interrupt setting]
Item
Condition target setting
Condition target channel setting
Interrupt factor transaction setting
Interrupt pointer
■Condition target setting
Select a factor of the condition target setting for the interrupt detection.
Setting value
Disable
Error flag
Warning output flag
Disconnection detection flag
External power supply READY flag
If a value out of the setting range is set, a condition target setting range error (error code: 181H) occurs.
■Condition target channel setting
Select a target channel when the condition target setting for the interrupt detection is channel specification.
1 FUNCTIONS
42
1.13 Interrupt Function
Wave
Synchronization
Description
No interrupt is detected.
A rise is detected at the timing of when 'Error flag' (XF) turns on.
A rise is detected at the timing of when the corresponding bit of 'Warning output upper flag' (Un\G36) or 'Warning
output lower flag' (Un\G37) turns on (A channel is specified).
A rise is detected at the timing of when the corresponding bit of 'Disconnection detection flag' (Un\G38) turns on
(A channel is specified).
A fall is detected at the timing of when 'External power supply READY flag' (X7) turns off.
Description
Select a factor of the target for the interrupt detection.
Select a target channel when the condition target setting for the interrupt
detection is channel specification.
Set whether to send an interrupt request when the same interrupt factor
occurs during the interrupt factor detection.
Specify the number of an interrupt pointer that is started at the detection of an
interrupt factor.

Advertisement

Table of Contents
loading

This manual is also suitable for:

R60dah4

Table of Contents