2
12.98 Subprograms, Macros
2.12 C
cles: Settin
arameters for user c
cles
2
840D
NCU 571
840D
NCU 572
NCU 573
810D 840Di
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA)
−
04.00 Edition
2-115
Example of uc.com file
−
user cycle description
The explanation is based on the continuation of the
example:
Example:
For the following two cycles a cycle parameterization
is to be newly created:
PROC MY_CYCLE_1 (REAL PAR1, INT PAR2, CHAR PAR3, STRING[10] PAR4)
;The cycle has the following transfer parameters:
;
;PAR1:
Real value in range -1000.001 <= PAR2 <= 123.456, default with 100
;PAR2:
Positive integer value between 0 <= PAR3 <= 999999,
Default with 0
;PAR3:
1 ASCII character
;PAR4:
String of length 10 for a subprogram name
;
...
M17
PROC SPECIALCYCLE (REAL VALUE1, INT VALUE2)
;The cycle has the following transfer parameters:
;
;VALUE1:
Real value without value range limitation and default
;VALUE2:
Integer value without value range limitation and default
...
M17