Programming cycles externally
16.1 Technology cycles
16.1.13
Circle of holes - HOLES2
Programming
HOLES2(REAL CPA, REAL CPO, REAL RAD, REAL STA1, REAL INDA, INT NUM,
INT _VARI, INT _UMODE, STRING[200] _HIDE, INT _NSP, INT _DMODE)
Parameters
Param
Param
No.
Mask
intern
1
X0
CPA
2
Y0
CPO
3
R
RAD
4
α0
STA1
5
α1
INDA
6
N
NUM
7
_VARI
8
_UMODE
9
_HIDE
10
_NSP
11
_DMODE
762
Explanation
Center point for circle of holes along the 1st axis (abs)
Center point for circle of holes along the 2nd axis (abs)
Radius of the circle of holes
Starting angle
Advance angle (for pitch circle only)
< 0 = Clockwise
> 0 = Counterclockwise
Number of positions
Machining type
UNITS: Reserved
TENS: Positioning type
0 = Approach position - linear
1 = Approach position - circular path
HUNDREDS: : Reserved
THOUSANDS: Circular pattern
0 = Compatibility mode, if INDA = 0 then full circle, INDA <> 0 then pitch circle)
1 = Full circle
2 = Pitch circle
Reserved
Hidden positions
•
max. 198 characters
•
Specification of consecutive position numbers, e.g. "1,3" (positions 1 and 3 are not
executed)
Reserved
Display mode
UNITS: Machining plane G17/18/19
0 = Compatibility, the plane effective before cycle call remains active
1 = G17 (only active in the cycle)
2 = G18 (only active in the cycle)
3 = G19 (only active in the cycle)
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Job planning