Macro Call By B Code - YASKAWA yasnac i80m Instruction Manual

Cnc system for machining centers
Table of Contents

Advertisement

(7)
Macro call
by B
code
The
given
B command
can be
made
a normal B comm and or
a
macro/
subprogram calling
command. When the
program
No.
to
be called
(Pm4890)
is "0". normal B command is
assumed. When used
as a
macro/subprogram
calling command, there
are
two
methods
to
call the
program.
One pair
of
program
Nos.
to
be
called can
be
set as
desired.
The method of call
can
be selected from the
two
methods listed above.
When
called, the
command value of B is made the
argument
of
common
variable# 146. No other
argument
specification can
be made.
I
Table 2.14.8
Setting
Parameters
Command
selection
Program No.
to
be called
Normal B command
Pm
4890—
0
Calling B command
Pm 4890 5-digit max.
1
. While the
calling
B code is
being executed, no
B code
or
BF
output
is made.
The
B command is
a
5
digit command.
2. The value for
common
variable
#146
is determined according
to
the B command
function. When B
command is second auxiliary
function,
the value
is
of 3
digits.
when it is of additional axis,
the value is read-in
in the same format as that of
coordinate
command address.
NOTE
When
macro
calls of
G, M, T,
S and B are commanded in the
same
block,
the priority shows below.
G>M>T>S>B
(Example)
M
......
T
......
S
......
B
:
(No alarm)
G
Only
G command
is valid without
regard to the
commanded
order.
Valid
Invalid
B
......
S
......
T
......
M
G
:
(No alarm)
Invalid
Valid
-
247
-

Advertisement

Table of Contents
loading

Table of Contents