1 FUNCTIONS
1.13 Interrupt Function
83
1
Setting example
If the interrupt program (I51) is executed when an error occurs in any channel
• Parameter setting
Set "Interrupt setting" of [Module Parameter] as follows.
• Label settings
No. Condition target setting Condition target channel
setting
Interrupt pointer
2 Error flag All channels I51
Classification Label name Description Device
Module Label RCPU.stSM.bAlways_ON Always ON SM400
RCPU.stSM.bAfter_RUN1_Scan_ON ON for one scan after RUN SM402
R60ADG_1.unInterruptFactorMask_D[1].0 Interrupt factor mask U0\G125.0
R60ADG_1.unInterruptFactorResetRequest_D[1].0 Interrupt factor reset request U0\G157.0
Labels to be defined Define global labels as shown below:
(0) Enable only the interrupt pointer I51.
(10) Turn on 'Interrupt factor reset request [1]' (U0\G157).
Performs the processing of when an error is detected.