GSK983Ma Milling Machine Center CNC System User Manual
172
Part 1 Programming
#30 The memory of the base point along with the X coordinate value
#31 The memory of the base point along with the Y coordinate value
#32 The counter indicates that the 1
st
hole is machined.
#33 The angle of the 1
st
hole
The complication of the Macro program is as follows (in the case of the absolute programming):
09207
;
#30=#101
;
:
The memory of the base point
#31=#102
;
#32=1
;
WHILE[#32 LE ABS[#11]]DO1
;
:
It is repeated based upon the hole number
#33=#1+360*[#32-1]/#11
;
#101=#30+#18*COS[#33]
;
:
Hole position
#102=#31+#18*SIN[#33]
;
X#101 Y#102
;
#100=#100+1
;
:
1 Hole count adds 1.
#32=#32+1
;
END1
;
#101=#30
;
:
#102=#31
;
M99
;
For example: 10.7.3 inequality interval oblique line
The point established by the Macro program is set by the base point is regarded as a certain
base point. The hole to be machined is arranged along with the X axis and its an
α
angle with the
inequality interval (1, 12……).
X
0
Y
0
base point coordinates value
A Angle
I Interval of the hole
K The hole number is set with the EQSPA successively.
Macro program call command
G65 P9203 Aa
,
I1
,
Kn1
,
I12
,
Kn2…………
;
Kn may not be written when n=1.
The following variable can be used:
#100
:
The counter of the hole number
#101
:
X coordinate value of the base point
#102
:
Y coordinate value of the base point
#1
:
Angel a
Содержание 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 ...