Detailed description
2.6 Block search Type 5 SERUPRO
Basic logic functions: Mode group, channel, program operation, reset response (K1)
80 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
With implicit IPTRUNLOCK
Nesting of search-suppressed program sections in two program levels with implicit
IPTRUNLOCK. The implicit IPTRUNLOCK in subprogram 1 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 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
; 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
...
;
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.