K1: Mode group, channel, program operation, reset response
9.13 Program control
Basic Functions
622
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Examples
Comparisons between display block (original block) and basic block display:
• Programmed positions are displayed as absolute.
The addresses AP/RP are displayed with their programmed values.
• Address assignments (nonDIN addresses) are displayed in the form <address> = <constant>.
• Address indices (address extensions) are displayed as constants <address> [ <constant> ] = <constant>.
• DIN addresses without address extension are displayed in the form
<din_address> <constant>.
The following applies for H functions: Each programmed valus is display irrespective of the output type to PLC
(MD22110 $MC_AUXFU_H_TYPE_INT (type of H auxiliary function is integer)).
• For Tool selection by tool command
display information is generated in the form T<value> or T=<string>. If an address extension has been
programmed, this is displayed as well.
If several spindles have been configured or the "Tool change via master tool holder" function (MD20124
$MC_TOOL_MANAGEMENT_TOOLHOLDER (tool holder number)) is active, the T number is always output
with address extension.
If no address extension has been programmed, the number of the master spindle or the master toolholder is
used instead (T<spindle_number/tool_holder>= ).
• For the Spindle programming via S, M3, M4, M5, M19, M40 - M45 and M70 (or MD 20094
$MC_SPIND_RIGID_TAPPING_M_NR (M function for switching over in the controlled axis operation)) the
following regulation applies regarding the address extension:
If an address extension has been programmed, then this is also resolved.
If several spindles have been configured, then the address extension is also output.
If no address extension has been programmed, the number of the master spindle is used
(S<spindle_number>=).
• Indirect G code programming in form G[ <group> ] = <printout> is substituted by the corresponding G code.
Original block:
Display block:
N10 G90 X10.123
N10 X10.123
N20 G91 X1
N20 X11.123
Original block:
Display block:
N110 R1 = -67.5 R2 = 7.5
N130 Z = R1 RND = R2
N130 Z-67.5 RND = 7.5
Original block:
Display block:
N220 DEF AXIS AXIS_VAR = X
N240 FA[ AXIS_VAR] = R2
N240 FA[X] = 1000
Original block:
Display block:
N410 DEF REAL FEED = 1.5
N420 F = FEED
N420 F1.5
Original block:
Display block:
N510 R1=2
N520 G[8]= R1
N520 G54