Chapter Three Programming
177
Part 1 Programming
3.10.7.7 Call the Macro Program by M Code
The M code set by the parameter can be called the Macro program. That is: N—G65
P
<The specification
△△△△
of the variable>
The operations are same replaced by the following commands.
N—M××<The specification of the variable>
The program number
△△△△
for calling the Macro program is set by the corresponding
parameter.
There are 10 codes can be used to call the Macro program at most in the M06
~
M25, other than
some specified M code. However, the M code can not input by the MDI, as the G65, and can not be
used for calling the sub-program by the G code, M code or T code.
The setting of the parameter is shown below:
043
052
3.10.7.8 Sub-program Call by the T code
The T code set by the parameter can be called the sub-program.
N G X Y ………………………Tt
;
The following two commands also can be operated which corresponds this command.
#149 = t
;
N G X Y ………………………M98 P9000
;
‘t’ in the T code is stored as the argument in the variable #149. The T code is displayed on the
“Order” screen, but the TF and T codes are not sent out.
The G code is called the Macro program in the Macro program, and the M code or T code calls
the sub-program in the sub-program, the sub-program call is not performed when these T codes are
specified, and it is same usage as the T code.
The system BIT3 (TMCR) of the parameter 306 is set to 1, O9000 user Macro program body is
called by the T code.
3.10.7.9 Decimal Position of the Argument
Usually, the decimal point is specified the argument, if the decimal point does not specify, it is
suppose that the position of the decimal point is as follows:
Address mm
input
Inch
input
A
、
C 3
(
2
)
3
B (Do not select the B3 digit)
3
(
2
)
3
B (Select the B3 digit)
0
0
D
,
H
0 0
E, F (in the G94 mode)
0
(
1
)
2
E, F (in the G95 mode)
2
(
3
)
4
I
,
J
,
K 3
(
2
)
4
M
,
S
,
T
0 0
Q
,
R 3
(
2
)
4
U
,
V
,
W 3
(
2
)
4
X
,
Y
,
Z 3
(
2
)
4
User Macro program body: 9020 calls the
M code
User Macro program body: 9029 calls the
M code
Содержание 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 ...