Precautions - Mitsubishi Electric MELDAS C6 Programming Manual

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

13. Program Support Functions

13.5.8 Precautions

Precautions
When the user macro commands are employed, it is possible to use the M, S, T and other NC
control commands together with the arithmetic, decision, branching and other macro commands
for preparing the machining programs. When the former commands are made into executable
statements and the latter commands into macro statements, the macro statement processing
should be accomplished as quickly as possible in order to minimize the machining time, because
such processing is not directly related to machine control.
As a result, the parameter "#8101 macro single" can be set and the macro statements can be
processed in parallel with the execution of the executable statement.
(The parameter can be set OFF during normal machining to process all the macro statements
together or set ON during a program check to execute the macro statements block by block. This
enables the setting to be made in accordance with the intended objective in mind.)
Macro statements are:
(1) Arithmetic commands (block including =)
(2) Control commands (block including GOTO, DO-END, etc.)
(3) Macro call commands (including macro calls based on G codes and cancel commands (G65,
G66, G66.1, G67))
Executable statements indicate statements other than macro statements.
Flow of processing
Program analysis
Block executing
Program analysis
Block executing
Example of program
G91G28X0Y0Z0 ;
G92X0Y0Z0 ;
G00X-100.Y-100. ;
#101=100. ∗ COS [210.] ;
#102=100. ∗ SIN
[210.] ;
G01X#101Y#102F800 ;
(1)
(2)
(1)
(1)
(2)
(1)
229
13.5 User macro specifications
• • • • • (1)
• • • • • (2)
• • • • • (3)
• • • • • (4)
Macro statement
• • • • • (5)
• • • • • (6)
(3)
(4)(5)(6)
(2)
(3)
(4)(5)(6)
(3)
(4)
(5)
(2)
(3)
(4)
(6)
(5)
(6)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64Meldas c64t

Table of Contents