Mitsubishi Electric MELSEC iQ-R User Manual page 128

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

Advertisement

Setting example
Ex.
To execute the interrupt program (I51) when an error occurs in any channel
• Parameter setting
Set "Interrupt setting" of Module Parameter as follows.
No.
2
• Label settings
Classification
Module label
Labels to be defined
(0)
Only the interrupt pointer I51 is enabled.
(78)
'Interrupt factor reset request [2]' (U0\G157) is turned on.
The processing of when an error is detected is performed.
1 FUNCTIONS
126
1.17 Interrupt Function
Condition target setting
Error flag
Label name
RCPU.stSM.bAlways_ON
RCPU.stSM.bAfter_RUN1_Scan_ON
R60ADH_1.unInterruptFactorMask_D[1].0
R60ADH_1.unInterruptFactorResetRequest_D[1].0
Define global labels as shown below:
Condition target channel setting
All CH specification
Description
Always ON
Turning on for one scan after RUN
Interrupt factor mask
Interrupt factor reset request
Interrupt pointer
I51
Device
SM400
SM402
U0\G125.0
U0\G157.0

Advertisement

Table of Contents
loading

Table of Contents