
15. CUSTOM MACRO
15.6 Pattern Data Input Function
(1)
Macro instruction to specify menu titles
Menu titles: C C C C C C C C C C C
Cl2
1 2 3 4 5 6 7 8 9 10 11
Each of Cl to Cl2 represents a character of a menu title.
(12
characters)
Macro instruction
G65
H90
P~Qg_RrIiJj_Kk
H90:
Indicates a
menu&e.
p = When the codes for Cl and
C2
are al and
a&
p=al
WO3+a2
P 000 000
--
L-L
Code
a2
for character
C2
Code al for character Cl
For the character codes, see CONNECTION MAINTENANCE MANUAL
(B-
62095E)
APPENDIX.
q:
When the codes for characters
C3
and
C4
are
a3
and
a:
l
q=asxlOs+&
r:
When the codes for characters
C5
and
Ce
are
as
and as:
r=a$ClOs+ag
i:
When the codes for characters
C7
and
C8
are
a7
and
a&
i=a7x103+a8
.
1
:
When the codes for characters
Cg
and
Cl0
are as and
alo:
j=agXlgs+alo
k:
When the codes for characters
Cl
1
and
(312
are
al
1
and
a12:
k=all
xl03+al2
(Example) When the menu title is HOLE PATTERN, the macro instruction is as
follows:
G65
HSO P
072 079
Q
076 069
R 032 080
HO
LE
UP
I 065 084 J 084 069 K 082 078;
-
-
AT
TE
RN
For the code corresponding to each character, see CONNECTION
MAINTENANCE MANUAL (B-62095E) APPENDIX.
(2)
Macro instruction to specify pattern names
Pattern name: C
1
2 3 4 5 6 7 8 9
C C C C C C C C C
10
Each of Cl to Cl0 represents a character of a pattern name.
(10 characters)
Macro instruction
G65
HSI
PnQpRrIiJiKk
_
.HSl:
Indicate&
pattern
&me.
n:
Indicates the menu No. of the pattern name.
n
=
1to1os
q:
When the codes for characters Cl and
Cp
are al and
a2:
q=al
XlO3+a2
r:
In/hen
the codes for characters
C3
and
C4
are
a3
and
h:
r=a@l03+*
I-lfm