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
Summary of Contents for GSK983Ma
Page 124: ......
Page 143: ......
Page 185: ......
Page 209: ...Chapter Four Operation 197 Part 2 Operation ...
Page 239: ...Chapter Four Operation 227 Part 2 Operation ...
Page 242: ......
Page 279: ......
Page 296: ...GSK983Ma Milling Machine Center CNC System User Manual 284 Part 2 Operation ...
Page 371: ...Appendix 11 USB Interface Parameter Transfer Operation ...