
B-63783EN-1/01 11. PROGRAM COMMAND
- 1163 -
Bolt hole circles as shown in the above figure can be made easily.
Once a custom macro body for the bolt hole circle is programmed and
registered, the CNC can operate as if it has the bolt hole circle cutting
function.
Programmers can use the bolt hole circle function by using the
following command only:
G65 Pp Rr Aα Bβ Kk ;
P : Macro number of bolt hole circle
r : Radius
α : Start angle
β : Angle between circles
k : Number of circles
Signal
Custom Macro Input Signal
UI000 to UI031<G048 to G051>, UI100 to UI131<G052 to G055>
UI200 to UI231<G056 to G059>, UI300 to UI331<G060 to G063>
[Classification] Input signal
[Function] No function is provided for the control unit. These signals can be read
by a custom macro as a type of system variable, and are used for
interface signals between custom macros and the PMC.
These signals correspond to system variables as indicated below.
Signals Q'ty Variables Correspondence of values
UI000
UI001
UI002
UI003
:
UI030
U031
1
1
1
1
:
1
1
#1000
#1001
#1002
#1003
:
#1030
#1031
"0" at "0" and "1" at "1"
UI000 to UI031 32 #1032 32-bit binary code
*1
UI100 to UI131 32 #1033 32-bit binary code
*1
UI200 to UI231 32 #1034 32-bit binary code
*1
UI300 to UI331 32 #1035 32-bit binary code
*1
*1
Variable value #(1032+n) =
{}
å
=
×−×
30
0
31
31
i
22
i
i
VV
Where Vi=0 when UIni is 0
and Vi=1 when UIni is 1
n : 0 to 3
These system variables cannot be used on the left-hand side of the
assignment statement.