Path traversing behavior10.8 Prevent program position for SERUPRO (IPTRLOCK, IPTRUNLOCK)Job PlanningProgramming Manual, 03/2013, 6FC5398-2BP40-3BA1 475ExampleNesting of untraceable program sections in two program levels with implicit IPTRUNLOCK.Implicit IPTRUNLOCK in subprogram 1 ends the untraceable section.Program code CommentN10010 IPTRLOCK()N10020 R1 = R1 + 1N10030 G4 F1 ; Hold block of the search-suppressed programsection starts....N10040 subprogram2... ; Interpretation of subprogram 2N20010 IPTRLOCK () ; Ineffective, repeated start....N20020 IPTRUNLOCK () ; Ineffective, end at another level.N20030 RET...N10060 R2 = R2 + 2N10070 RET ; End of search-suppressed program section.N100 G4 F2 ; Main program is continued.The interruption pointer then produces an interruption at 100 again.Acquiring and finding untraceable sectionsNon-searchable program sections are identified with language commands IPTRLOCK andIPTRUNLOCK.Command IPTRLOCK freezes the interruption pointer at a single block executable in the mainrun (SBL1). This block will be referred to as the hold block below. If the program is abortedafter IPTRLOCK, this hold block can be searched for from the HMI user interface.Continuing from the current blockThe interruption pointer is placed on the current block with IPTRUNLOCK as the interruptionpoint for the following program section.Once the search target is found a new search target can be repeated with the hold block.An interrupt pointer edited by the user must be removed again via the HMI.