Siemens SINUMERIK 828D Programming Manual page 200

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Flexible NC programming
1.25 Subprogram technique
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
Associated file uc.com:
Programming
%_N_UC_COM
;$PATH=/_N_CUS_DIR
//C25(MY_CYCLE_1) usercycle_1
(R/-1000.001 123.456 / 100 /Parameter_2 of cycle)
(I/0 999999 / 1 / Integer value)
(C//"A" / Character parameter)
(S///Subprogram name)
//C26(SPECIALCYCLE)
(R///Entire length)
(I/*123456/3/Machining type)
M17
200
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, 07/2010, 6FC5398-2BP40-0BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents