Quote from panic modepost your exact code and ask question referring to specific line, i am not reading it all again.
Code
DEF MainModule ( )
$CYCFLAG[1]=(DistanceVert< (DistanceVertTCPdiff - 15))
$CYCFLAG[2]= (SearchingSensor1_found AND SearchingSensor2_found)
$CYCFLAG[3]= (SearchingSensor3_found)
INTERRUPT DECL 10 WHEN $CYCFLAG[1] DO SheetDetected(true)
INTERRUPT DECL 21 WHEN SearchingSensor1==TRUE DO GetEdgePos(SearchingSensor1_Pos, SearchingSensor1_found)
INTERRUPT DECL 22 WHEN SearchingSensor2==TRUE DO GetEdgePos(SearchingSensor2_Pos, SearchingSensor2_found)
INTERRUPT DECL 23 WHEN SearchingSensor3==TRUE DO GetEdgePos(SearchingSensor3_Pos, SearchingSensor3_found)
INTERRUPT DECL 24 WHEN $CYCFLAG[2]==TRUE DO edgeFound(edgeX_found)
INTERRUPT DECL 25 WHEN $CYCFLAG[3]==TRUE DO edgeFound(edgeY_found)
;FOLD INI
;FOLD BASISTECH INI
GLOBAL INTERRUPT DECL 3 WHEN $STOPMESS==TRUE DO IR_STOPM ( )
INTERRUPT ON 3
BAS (#INITMOV,0 )
;ENDFOLD (BASISTECH INI)
;FOLD USER INI
;Make your modifications here
INTERRUPT OFF
;ENDFOLD (USER INI)
;ENDFOLD (INI)
Display More
Does an "INTERRUPT OFF" in line 24 switch off all my interrupts including INTERRUPT 3, 19, 91?