Siemens SINUMERIK 840D sl Programming Manual page 226

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

Advertisement

Flexible NC programming
1.25 Subprogram technique
Syntax
For each newly added cycle a line must be added with the following syntax:
C<number> (<cycle_name>) comment_text
Number: an integer as long as it has not already been used in the file;
Cycle name: The program name of the cycle to be included
Comment text: Optionally a comment text for the cycle
Example:
C25 (MY_CYCLE_1) usercycle_1
C26 (SPECIAL CYCLE)
Example: uc.com file - user cycle description
The explanation is based on the continuation of the
example:
For the following two cycles a cycle parameterization is to be newly created:
Programming
PROC MY_CYCLE_1 (REAL PAR1, INT PAR2, CHAR PAR3, STRING[10] PAR4)
The cycle has the following transfer parameters:
PAR1:
PAR2:
PAR3:
PAR4:
...
M17
Programming
PROC SPECIAL CYCLE (REAL VALUE1, INT VALUE2)
The cycle has the following transfer parameters:
VALUE1:
VALUE2:
...
M17
226
Comments
; Real value in range –1000.001 <= PAR2 <= 123.456, default
with 100
; Positive integer value between 0 <= PAR3 <= 999999, default
with 0
; 1 ASCII character
; String of length 10 for a subprogram name
;
Comments
; Real value without value range limitation and default
; Integer value without value range limitation and default
;
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents