Mode of subroutine call (P-CHAN-00260)
P-CHAN-00260 | Mode of implicit subroutine call at program start |
Description | This parameter defines the execution mode of the implicit subroutine call at the start of an NC program and/or MDI. There is no distinction between MDI mode and manual mode. |
Parameter | start_init_prog_file_mode |
Data type | STRING |
Data range | AUTOMATIC: Call a global subroutine by (P-CHAN-00119) at start of an NC main program. If no ID is entered, the basic setting is AUTOMATIC. MDI: Call a global subroutine by (P-CHAN-00119) at the start of an MDI. Here, the command sequence of a global subroutine call (L <filename>) is prefixed to the received MDI string. Parameterisation example: Received MDI: G01 X100 Y150 F1000 \n Executed MDI: L init.nc \n G01 X100 Y150 F1000 \n |
Dimension | ---- |
Default value | AUTOMATIC |
Remarks | Examples of permissible assignments: start_init_prog_file_mode AUTOMATIC | MDI start_init_prog_file_mode AUTOMATIC start_init_prog_file_mode MDI This parameter is available as of CNC Build V3.1.3021.00 Using the variable V.G.MAIN_FILE_NAME in the implicit subroutine, it can be determined whether the NC main program is executed in AUTOMATIC mode or MDI. With MDI, the variable always supplies the character “-” as filename. This permits the programming of mode-specific program sequences. |