Detailed description
2.9 Program control
Basic logic functions: Mode group, channel, program operation, reset response (K1)
158 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
If several spindles were configured, then the address expansion is always output with
them.
If no address expansion 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:
N510 R1=2
N520 G[8]= R1
N520 G54
• Modal G codes that do not generate an executable block are collected and output with
the display block of the next executable block if permitted by the syntax (DIN block). If
this is not the case (e.g., predefined subroutine call TRANSMIT), a separate display block
containing the modified G codes is placed in front of the next executable block.
Original block: Display block:
N610 G64
G64
N620 TRANSMIT
N620 TRANSMIT
• A display block is always generated for part program lines in which the addresses F and
FA appear
(including for MD22240 $MC_AUXFU_F_SYNC_TYPE = 3).
Original block: Display block:
N630 F1000
N630 F1000
N640 X100
N640 X100
• The display blocks generated for the block display are derived directly from the
programmed part program blocks. If intermediate blocks (e.g., tool radius compensation
G41/G42, radius/chamfer RNDM, RND, CHF, CHR) are generated in the course of
contour preprocessing, these are assigned the display information from the part program
block on which the motion is based.
Original block: Display block:
N710 Y157.5 G42
N710 Y157.5 G42
N720 Z-67.5 RND=7.5
N720 Z-67.5 RND=7.5
• With the EXECTAB command (processing a table of contour elements), the block
generated by EXECTAB is shown in the display block.
Original block: Display block:
N810 EXECTAB (KTAB[5])
N810 G01 X46.147 Z-25.38
• For the EXECSTRING command, the block generated via EXECSTRING is displayed in
the display block.
Original block:
N910 DEF STRING[40] PROGSTRING = "N905 M3 S1000 G94 Z100 F1000 G55"
N920 EXECSTRING(PROGSTRING)
Display block:
N905 Z100 G55 G94 M3 S1000 F1000