GSK983Ma Milling Machine Center CNC System User Manual
178
Part 1 Programming
The numerical value abovementioned is the position of the decimal point calculating from the
lowest effective digit.
The numerical value in the ( ) is the digit at the right of the decimal point, address E, F in the
BIT3 FMIC of the parameter 006 is equal to 1, and other address in the BIT1 MIC of the parameter
006 is equal to 1.
3.10.7.10 M98 (Sub-program Call) and G65 (Calling the different between the Macro program
bodies)
(1) G65 includes argument, but M98 do not.
(2) In the M98 block, M98 transfers to the sub-program but the G65 only transfers, after a
command is different from the M, P or L which is preformed,
(3) When the address is not included the O, N, P, and L in the M98 block, the single block stops
the performance. However, the G65 block continues.
(4) G65 can be changed the level of the local variable instead of the G98. That is to say, the #1
is specified before the G65, but it is another one in the Macro program. The #1 is same before the
G98 and the sup-program call.
(5) It is possible to call a nesting for 4 times when G65 is combined with G66. M98 can also call
for 4 times (when Macro A or B is selected).
(6) During automatic operation, M98 can achieve 4 calls at most in TAPE mode or MEMORY
mode when an operation is inserted through MDI. One or two codes may achieve 4 calls in MDI mode.
G65 can achieve up to 4 calls in all modes.
3.10.7.11 The Nesting and Local Variables of User Macro
When G65, G66 and G codes are used to call a macro, the nesting degree (level) of its macro
increases by 1 and the level of its local variable also increases by 1.
The relationship between macro calling and local variable is as follows:
Local variable
1. Note that local variables (Level 0) #1 to #33 is provided in a main program.
2. When a macro (Level 1) is called by G65, the local variable (Level 0) of the main program is
saved, the local variables #1
~
#33 (Level 1) of the new macro (Level 1) are prepared and the
substitution of the independent variables are possible (the same for 3)
3. Each group of local variables (Levels 1, 2 and 3) are saved ant new local variables (Levels 2, 3
and 4) are prepared whenever a macro (Levels 2, 3 and 4) is called
4. When using M99 to return from each macro, the local variables (Levels 0, 1, 2 and 3) saved in
2 and 3 are restored as they are saved.
Содержание 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 ...