Chapter 5 Macro Program
153
I Programming
however, when a program includes crossing repetition loops (overlapped DO ranges), P/S alarm occurs.
5.5 Macro Statement and NC statement
The following blocks are referred to as macro statements:
z
Blocks containing arithmetic or logic operation (=).
z
Blocks containing a controlling statement (such as GOTO, DO, END…)
z
Blocks containing a macro call command. (such as G65, G66)
Blocks other than macro statements are referred to as NC statement.
5.5.1 Macro programming and Registering
Custom macro program are similar to subprogram. They can be edited, registered and used in the
same way as subprogram. M98 can call a custom macro program, but cannot pass arguments.
Usually, the macro program is provided by tool builders, but it can also be programmed by customers. It
is not necessary for the customers to remember all related commands in macro programs besides
codes that call macro programs.
5.5.2 Limitation
z
Macro statement processing in cutter compensation C mode
In cutter compensation C mode (G41, G42), in order to calculate the transmission point, NC prereads
the next block. The processing way is not the same as general NC statement.
When a macro statement is executed as a single block, it is the block that does not involve movement.
And,
in some cases, it cannot correctly execute compensation
(strictly speaking, such block involves 0
distance of movement).
¾
Jump
(
GOTO,DO,END
)
In cutter compensation C mode, when jump command
(
GOTO, DO, END
)
is specified, P/S alarm
occurs.
¾
When the move command adopts variables
Содержание 980MDc
Страница 19: ...GSK980MDc Milling CNC User Manual XVIII ...
Страница 20: ...1 I Programming Programming Ⅰ ...
Страница 21: ...GSK980MDc Milling CNC System User Manual 2 I Programming ...
Страница 139: ...GSK980MDc Milling CNC System User Manual 120 I Programming ...
Страница 191: ...GSK980MDc Milling CNC System User Manual 172 I Programming ...
Страница 192: ...173 Ⅱ Operation Ⅱ Operation ...
Страница 193: ...GSK980MDc Milling CNC System User Manual 174 Ⅱ Operation ...
Страница 200: ...Chapter 1 Operation Mode and Display 181 Ⅱ Operation ...
Страница 201: ...GSK980MDc Milling CNC System User Manual 182 Ⅱ Operation ...
Страница 249: ...GSK980MDc Milling CNC System User Manual 230 Ⅱ Operation ...
Страница 253: ...GSK980MDc Milling CNC System User Manual 234 Ⅱ Operation ...
Страница 259: ...GSK980MDc Milling CNC System User Manual 240 Ⅱ Operation ...
Страница 265: ...GSK980MDc Milling CNC System User Manual 246 Ⅱ Operation ...
Страница 293: ...GSK980MDc Milling CNC System User Manual 274 Ⅱ Operation ...
Страница 295: ...GSK980MDc Milling CNC System User Manual 276 Ⅱ Operation ...
Страница 319: ...GSK980MDc Milling CNC System User Manual 300 Ⅱ Operation ...
Страница 320: ...301 Ⅲ Installation Ⅲ Installation ...
Страница 321: ...GSK980MDc Milling CNC System User Manual 302 Ⅲ Installation ...
Страница 345: ...GSK980MDc Milling CNC System User Manual 326 Ⅲ Installation ...
Страница 391: ...GSK980MDc Milling CNC System User Manual 372 Ⅲ Installation ...
Страница 392: ...Appendix 373 Appendix Appendix ...
Страница 393: ...GSK980MDc Milling CNC System User Manual 374 Appendix ...
Страница 394: ...Appendix 375 Appendix Appendix 1 Outline Dimension of GSK980MDc L N ...