K1: Mode group, channel, program operation, reset response
9.8 Block search Type 5 SERUPRO
Basic Functions
544 Function Manual, 09/2011, 6FC5397-0BP40-2BA0
An interruption in a search-suppressed program section of the above program always returns N10030 G4 F1
block.
An interruption at N100 provides N100 again in SPARPRI
On one program level
Nesting of IPTRLOCK and IPTRUNLOCK on one program level
An interruption in a search-suppressed program section of the above program always returns theN10030 G4 F1
block in SPARPI.
An interruption on N100 then provides N100 again.
Table 9-2
; 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
Table 9-3
; 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 section
N100 IPTRLOCK() ; is ineffective
... ;