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
Label name
Module label
RCPU.stSM.bAlways_ON
RCPU.stSM.bAfter_RUN1_Scan_ON
R60ADHART_1.unInterruptFactorMask_D[1].0
R60ADHART_1.unInterruptFactorResetRequest_D[1].0
Label to be defined
Define global labels as shown below:
(0) Only the interrupt pointer I51 is enabled.
(10) 'Interrupt factor reset request [2]' (U0\G157) is turned on. The processing of when an error is detected is performed.
Condition target setting
Error flag
Condition target channel
setting
All channels
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
1 FUNCTIONS
1.10 Interrupt Function
1
47