Macro Call Instruction - Mitsubishi Electric MELDAS C6 Programming Manual

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

13. Program Support Functions

13.5.2 Macro call instruction

Function and purpose
Included among the macro call commands are the simple calls which apply only to the instructed
block and also modal calls (types A and B) which apply to each block in the call modal.
Simple macro calls
Format
G65 P___ L___ <argument> ;
P___
L___
When the <argument> must be transferred as a local variable to a user macro subprogram, the
actual value should be designated after the address.
Regardless of the address, a sign and decimal point can be used in the argument. There are 2
ways in which arguments are designated.
Main program
G65Pp1Ll1 <argument>;
: Program No.
: No. of repetitions
13.5 User macro specifications
Subprogram (O
To subprogram
O
o1
M99
To main program
M99 is used to conclude the user macro subprogram.
181
)
o1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64Meldas c64t

Table of Contents