Mitsubishi Electric MELDAS C6 Programming Manual page 193

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

13. Program Support Functions
Modal call B (called after the every block)
The specified user macro subprogram is called unconditionally for each command block which is
assigned between G66.1 and G67 and the subprogram is executed the number of times
designated with "L" address.
Format
G66.1 P___ L___ <argument> ;
P___
L___
Detailed description
(1) In the G66.1 mode, everything except the O, N and G codes in the various command blocks
which are read are handled as the argument without being executed. Any G code designated
last or any N code commanded after anything except O and N will function as the argument.
(2) The same applies as when G65P__ is assigned at the head of a block for all significant blocks
in the G66.1 mode.
(Example 1)
(Note 1)
(3) The range of the G and N command values which can be used anew as variables in the G66.1
mode is subject to the restrictions applying to values as normal NC command values.
(4) Program number O, sequence numbers N and modal G codes are updated as modal
information.
G code macro call
User macro subprogram with prescribed program numbers can be called merely by issuing the G
code command.
Format
G∗∗ <argument> ;
G∗∗
Detailed description
(1) The above instruction functions in the same way as the instructions below, and parameters
are set for each G code to determine the correspondence with the instructions.
a. M98P∆∆∆∆ ;
b. G65P∆∆∆∆∆ <argument> ;
c. G66P ∆∆∆∆∆ <argument> ;
d. G66.1P∆∆∆∆∆ <argument> ;
When the parameters corresponding to c and d above are set, issue the cancel command
(G67) either in the user macro or after the call code has been commanded so as to cancel the
modal call.
: Program No.
: No. of repetitions
N100 G01 G90 X100. Y200. F400 R1000; in the G66.1 P1000; mode is the
same as: N100 G65 P1000 G01 G90 X100. Y200. F400 R1000;
The Call is performed even in the G66.1 command block in the G66.1 mode and
the correspondence between the argument address and the variable number is
the same as for G65 (simple call).
:G code for macro call
185
13.5 User macro specifications

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64Meldas c64t

Table of Contents