Setting example
Ex.
When the interrupt program (I50) is executed at the disconnection detection in any channel
• Parameter settings
Set "Interrupt setting" of the module parameter as follows.
No.
Condition target setting
4
Disconnection detection flag
• Label settings
Classification
Label name
Module label
RCPU.stSM.bAlways_ON
RCPU.stSM.bAfter_RUN1_Scan_ON
R60DAH_1.unInterruptFactorMask_D[3].0
R60DAH_1.unInterruptFactorResetRequest_D[3].0
Label to be defined
(0) Enables only the interrupt pointer I50.
Interruption is enabled.
Clear the interrupt factor mask [5].
(83)If a disconnection is detected, the program of the interrupt pointer I50 is executed.
Turn on the interrupt factor reset request [4] and carry out processing when a disconnection is detected.
1 FUNCTIONS
44
1.13 Interrupt Function
Condition target channel setting
All CH specification
Description
Always ON
ON for one scan after RUN
Interrupt factor mask
Interrupt factor reset request
Interrupt pointer
I50
Device
SM400
SM402
U0\G127.0
U0\G159.0