Chapter Three Programming
171
Part 1 Programming
For example: The setting of the base point
The base point of this hole group should be set before machining the hole group.
The X coordinate value of the X
0
hole group base point
The Y coordinate value of the Y
0
hole group base point
The Macro program call command:
G 65 P9200 X
x
Y
y
;
The following variable may be used:
#100 holes count
#101 is used for the X coordinate value of the base point of the hole group Macro program.
# 102 is used for the Y coordinate value of the base point of the hole group Macro program.
# 24 is used for X coordinate assignment gained from the base point by the Macro program call
command.
# 25 is used for the Y coordinate assignment gained from the base point by the Macro program
call command.
The complication of the Macro program body is shown below:
09200
;
#
101
=#
24; The base point is notified to the hole group Macro program
#
102
=#
25
;
#
100
=
0; : The hole counter is reset.
M99
;
For example: Thread hole loop
The base point set by the Macro program is treated as the center of the circle, and the holes h to
be machined are distributed on the circle in the EQSPA. The first hole is located on the line of which
the angle is a. (Refer to the following figure).
The coordinate value of the X
0
, Y
0
thread hole loop base point
R Radius
A Start angle
H Hole number
Macro program call command:
G65 P9207 Rr Aa Hh
;
In the case of the h
<
0, the work may operated based on –h count CW.
The following variable should be used:
#100 Hole count
#101 X coordinate value of the base point
#102 Y coordinate value of the base point
#18 Radius r
#1 Start angle a
#11 Hole number h
Содержание GSK983Ma
Страница 124: ......
Страница 130: ...GSK983Ma Milling Machine Center CNC System User Manual 118 Part 1 Programming Rapid traverse Cutting feed ...
Страница 133: ...Chapter Three Programming 121 Part 1 Programming Rapid traverse Cutting feed 6 G82 Drilling cycle boring ...
Страница 143: ......
Страница 185: ......
Страница 209: ...Chapter Four Operation 197 Part 2 Operation ...
Страница 239: ...Chapter Four Operation 227 Part 2 Operation ...
Страница 242: ......
Страница 279: ......
Страница 296: ...GSK983Ma Milling Machine Center CNC System User Manual 284 Part 2 Operation ...
Страница 297: ...Appendix 285 APPENDIX Appendix 1 System Version Display The system version is displayed immediately after power on ...
Страница 371: ...Appendix 11 USB Interface Parameter Transfer Operation ...