Types Of Variables - Mitsubishi Electric MELDAS C6 Programming Manual

Hide thumbs Also See for MELDAS C6:
Table of Contents

Advertisement

13. Program Support Functions

13.5.4 Types of variables

Common variables
Common variables can be used commonly from any position. Number of the common variables
sets depends on the specifications. Refer to "13.4 Variable commands" for details.
Local variables (#1 to #33)
These can be defined as an <argument> when a macro subprogram is called or used locally within
main programs and subprograms. They can be duplicated regardless of the relationship existing
between macros (up to 4 levels).
G65 Pp
1
P
1
l
1
The <argument> is assumed to be Aa1 Bb1 Cc1 .............. Zz1.
The following table shows the correspondences between the addresses designated by
<argument> and the local variable numbers used in the user macro main bodies.
[Argument specification I]
Call command
G65
G66.1
G66
" " in the above table denotes an argument address which cannot be used. However, provided
that the G66.1 mode has been established, an argument address denoted by the asterisk can be
added for use.
"−" denotes that a corresponding address is not available.
Ll
<argument> ;
1
: Program number
: Number of repetitions
Argument
variable
address
number
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
13.5 User macro specifications
Local
Call command
G65
G66
#1
#2
#3
#7
#8
#9
#10
#11
#4
#5
#6
#12
#13
#14
#15
#16
190
Argument
address
G66.1
Q
R
S
T
U
V
W
X
Y
Z
Local
variable
number
#17
#18
#19
#20
#21
#22
#23
#24
#25
#26
#27
#28
#29
#30
#31
#32
#33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Meldas c64Meldas c64t

Table of Contents