Mitsubishi Electric MELSEC iQ-R Series User Manual page 39

Melsec iq-r digital-analog converter modul
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Setting example
Ex.
When the interrupt program (I50) is executed at the disconnection detection in any channel
• Parameter setting
Set "Interrupt setting" of [Module parameter] as follows.
No.
1
• Label setting
Classification
Label name
Module label
RCPU.stSM.bAlways_ON
RCPU.stSM.bAfter_RUN1_Scan_ON
R60DA_1.unInterruptFactorMask_D[0].0
R60DA_1.unInterruptFactorResetRequest_D[0].0
Labels to be defined
Define global labels as shown below:
(18)
Enable only the interrupt pointer I50.
Enable the interruption.
Clear Interrupt factor mask [1].
(83)
Turn on Interrupt factor reset request [1].
Perform the processing of when a disconnection is detected.
Condition target setting
Disconnection detection flag
Condition target channel
setting
All CH specification
Description
Always ON
ON for one scan after RUN
Interrupt factor mask [1]
Interrupt factor reset request [1]
Interrupt pointer
I50
Device
SM400
SM402
U0\G124.0
U0\G156.0
1 FUNCTIONS
1.13 Interrupt Function
1
37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R60dav8R60da4R60dai8

Table of Contents