Mitsubishi Electric MELDAS C6 Programming Manual page 199

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

13. Program Support Functions
[Argument specification II]
Argument specification
II address
K1
K2
K3
K4
K5
(Note 1) Subscripts 1 to 10 for I, J, and K indicate the order of the specified command sets. They
are not required to specify instructions.
(1) Local variables in subprograms can be defined by means of the <argument> designation
during macro call.
Main program
G65 P9900 A60. S100. F800;
M02;
Variable in
macro
A
# 1
B
# 2
C
# 3
I1
# 4
J1
# 5
# 6
I2
# 7
J2
# 8
# 9
I3
#10
J3
#11
#12
I4
#13
J4
#14
#15
I5
#16
J5
#17
#18
To subprogram
Local variable
data table
13.5 User macro specifications
Argument specification II
address
Subprogram (9900)
G91 G01 X [#19∗COS [#1] ]
M99;
Local variables set
A(#1)=
by argument
F(#9)=
S(#19)= 100.000
191
Variable in
macro
I6
#19
J6
#20
K6
#21
I7
#22
J7
#23
K7
#24
I8
#25
J8
#26
K8
#27
I9
#28
J9
#29
K9
#30
I10
#31
J10
#32
K10
#33
Y [#19∗SIN [#1] ] F#9;
Refer to the local
variables and control the
movement, etc.
60.000
800

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64Meldas c64t

Table of Contents