GSK983Ma Milling Machine Center CNC System User Manual
168
Part 1 Programming
N4 Z1000
;
The 1
st
NC statement (block without movement)
N5 #1101=1
;
The Macro program statement has been performed.
N6 #2=20
;
The Macro program statement has been performed.
N7 X-1000
;
The 2
nd
NC statement
NC statement performance N1
Time
3.10.7 Macro Call command
It is very easy to call the Macro program from the single block, or it is called in module from each
block with the calling mode.
3.10.7.1 Simple Call
The Macro program body specified by P (program number) is called when performing the
following commands.
G 65 P (Program number) L (Times of the repeat) <Argument designation>
This argument is specified with the <Argument designation> when it is changed into Macro
program body. Two type of < Argument designation > can be specified as following. The argument
mentioned here is the actual number of the assignment variable.
Note: G65 should be specified before the argument in the block, both the minus and decimal point can be
used and it is regardless of the address where in the < Argument designation >.
(1) Argument designation I
A B C D Z
An argument can be assigned to the other addresses other than the G, L, N, O and P. The
address is not to assign based on the alphabet sequence instead of the format of the address. The
address without specification can be ignored.
It should be assigned based upon the alphabet sequence when using the I, J and K.
B A D I K Established
B A D J I Not established
The corresponding relation between the address assigned to the variable designation I and the
variable number of the Macro program body is shown below:
The address of the argument
designation I
The variable in the Macro
program body
A
B
C
D
E
F
H
I
J
K
M
Q
R
S
T
U
V
W
#1
#2
#3
#7
#8
#9
#11
#4
#5
#6
#13
#17
#18
#19
#20
#21
#22
#23
Summary of Contents for GSK983Ma
Page 124: ......
Page 143: ......
Page 185: ......
Page 209: ...Chapter Four Operation 197 Part 2 Operation ...
Page 239: ...Chapter Four Operation 227 Part 2 Operation ...
Page 242: ......
Page 279: ......
Page 296: ...GSK983Ma Milling Machine Center CNC System User Manual 284 Part 2 Operation ...
Page 371: ...Appendix 11 USB Interface Parameter Transfer Operation ...