Indirect Call Of A Program Programmed In Iso Language (Isocall) - Siemens SINUMERIK 840D sl Programming Manual

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Meaning
CALL:
<program name>:
BLOCK ... TO ... :
<start label>:
<end label>:
Example
Main program:
Program code
...
DEF STRING[20] STARTLABEL, ENDLABEL
STARTLABEL="LABEL_1"
ENDLABEL="LABEL_2"
...
CALL "CONTUR_1" BLOCK STARTLABEL TO ENDLA-
BEL
...
Subprogram:
Program code
PROC CONTUR_1 ...
LABEL_1
N1000 G1 ...
...
LABEL_2
...
3.2.3.7

Indirect call of a program programmed in ISO language (ISOCALL)

A program programmed in an ISO language can be called using the indirect program call
ISOCALL. The ISO mode set in the machine data is then activated. The original execution
mode becomes effective again at the end of the program. If no ISO mode is set in the machine
data, the subprogram is called in Siemens mode.
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Command for the indirect subprogram call.
Name of the subprogram (variable or constant) that contains the pro‐
gram section to be executed (specification optional).
Type:
STRING
Note:
If a <program name> has not been programmed, the program section
designated by <start label> and <end label> is searched for in
the current program and executed.
Keyword combination for indirect program section execution
Variable that refers to the start of the program section to be executed.
Type:
STRING
Variable that refers to the end of the program section to be executed.
Type:
STRING
Comment
; Variable definition for the start and
end labels.
; Indirect subprogram call and identifi-
er associated with the calling program
section.
Comment
; Start label: Start of program section execution.
; End label: End of program section execution.
Work preparation
3.2 Subprogram technique
531

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents