K1: Mode group, channel, program operation, reset response
9.13 Program control
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
615
References:
/FB1/Function Manual Basic Functions; NC/PLC Interface Signals (Z1)
/BAD/ Operation Manual HMI Advanced "Operating Area, Machine"
9.13.2
Activation of skip levels
Function
It is possible to skip blocks, which are not to be executed every time the program runs. Blocks to be skipped are
indicated in the part program by an oblique "/" before the block number.
The skip levels in the parts program are specified by "/0" to "/9".
Only one skip level can be specified for each part program block.
Parameter assignment
The number of skip levels is defined using machine data:
MD51029 $MM_MAX_SKP_LEVEL (max. number of skip levels in the NC program)
Programming
Blocks, which are not to be executed in every program pass (e.g., program test blocks) can be skipped according
to the following schematic.
DRF selection
DB21, ... DBX24.3
DB21, ... DBX0.3
DB21, ... DBX33.3
PRT program test
DB21, ... DBX25.7
DB21, ... DBX1.7
DB21, ... DBX33.7
Program code
Comment
/N005
; Block skipped, (DB21,... DBX2.0) 1st skip level
/0 N005
; Block skipped, (DB21,... DBX2.0) 1st skip level
/1 N010
; Block skipped, (DB21,... DBX2.1) 2nd skip level
/2 N020
; Block skipped, (DB21,... DBX2.2) 3rd skip level
/3 N030
; Block skipped, (DB21,... DBX2.3) 4th skip level
/4 N040
; Block skipped, (DB21,... DBX2.4) 5th skip level
/5 N050
; Block skipped, (DB21,... DBX2.5) 6th skip level
/6 N060
; Block skipped, (DB21,... DBX2.6) 7th skip level
/7 N070
; Block skipped, (DB21,... DBX2.7) 8th skip level
/8 N080
; Block skipped, (DB21,... DBX31.6) 9th skip level
/9 N090
; Block skipped, (DB21,... DBX31.7) 10th skip level
Table 9-9
Program control: Interface signals
Function
Selection signal
Activation signal
Feedback signal