Siemens SINUMERIK 840D sl Programming Manual page 164

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Flexible NC programming
1.24 Subprogram technique
Note
A maximum of 127 parameters can be transferred.
Note
Call-by-reference parameter transfer is then only necessary if the transferred variable was
defined in the calling program (LUD). Channel-global or NC-global variables do not have to
be transferred, since these cannot be accessed directly from within the subprogram.
Syntax
PROC <program name> (VAR <parameter type> <parameter name>, etc.)
PROC <program name> (VAR <array type> <array name>, [<m>,<n>,<o>],
etc.)
Meaning
PROC
VAR
<program name>
<parameter type>
<parameter name>
<array type>
164
:
:
:
:
:
:
Definition operation at the beginning of a program
Keyword for parameter transfer via reference
Name of the program
Data type of the parameter (e.g. REAL, INT, BOOL)
Name of the parameter
Data type of the array elements (e.g. REAL, INT, BOOL)
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Job Planning

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents