Detailed Description   
2.6 Block search Type 5 SERUPRO 
  Mode Group, Channel, Program Operation, Reset Response (K1) 
2-64  Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0 
With implicit IPTRUNLOCK 
Nesting of search-suppressed program sections in two program levels with implicit 
IPTRUNLOCK. The implicit IPTRUNLOCK in subprogram1 ends the search-suppressed 
area. 
 
  ;  Interpretation of the blocks in an 
illustrative sequence. 
  ;  Subprogram1 is prepared for the 
block search: 
N10010 IPTRLOCK()  ;  Program level 1 
N10020 R1 = R1 + 1  ;   
N10030 G4 F1  ;  Hold block 
...  ;  of the search-suppressed program 
section starts 
as in previous example  ;   
N20030 RET  ;   
... ;  
N10060 R2 = R2 + 2  ;   
N10070 RET  ;  End of search-suppressed program 
section 
N100 G4 F1  ;  Main program is continued 
 
An interruption in the search-suppressed program section of the above program always 
returns block "N10030 G4 F1". 
An interruption at N100 then returns N100 in SPARPRI again. 
On one program level  
Nesting of IPTRLOCK and IPTRUNLOCK on one program level 
 
  ;  Interpretation of the blocks in an 
illustrative sequence 
  ;  Subprogram1 is prepared for the 
block search: 
N10010 IPTRLOCK()  ;  Program level 1 
N10020 R1 = R1 + 1  ;   
N10030 G4 F1  ;  Hold block 
of the search-suppressed program 
section starts 
... ;  
... ;  
N10050 IPTRLOCK()  ;  Is ineffective 
... ;  
N10060 IPTRUNLOCK()  ;  Is ineffective 
N10070 R2 = R2 + 2  ;  End of search-suppressed program