EasyManua.ls Logo

YASKAWA yasnac lx3 - Page 29

YASKAWA yasnac lx3
288 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
M99 P.. . ;
When this is written at the end of a sub-
routine program, the operation returns to
the sequence No.
specified by p in the main
program.
(4) Simple jump command
M99 P ‘“” ;
When this command is
used in the main pro-
gram, the operation simply jumps to the
sequence No.
specified by Q in the main
program. If Q is omitted, the program
simply jumps to the leading end of the main
program.
I
N1 G50 XO 20 ;
N2 GOO . . . ;
I
L
Writing multi blocks (10 lines maximum) of
this program and executing cycle start
make endless operation.
Notes :
1.
2.
3.
4.
When the program No. specified by address
P and the sequence No. specified by Q are
not found, alarm code 041 is displayed.
While command L for the number of repetitions
is under execution, the remaining number of
repetitions can be displayed. For details
refer to 4.3.2.2.
This function can be used when subroutine
programs are stored in the part program
memory.
Main programs can be commanded
through NC tap-es ~r the part program memory.
When subroutine programs are nested more
than 4 times, alarm code “042 is displayed.
EXAMPLE
Man Program
Subroutine program
-1
,1 ,A
, ,/
,/’ ,!
/’
,’
--
–>:
_,/’‘$
--
‘\
\
—-
--l ‘,
—’——J “-:’.
t
1
1
1
11
‘1
\
,--.,
N“20 hi 99 ;
ITotlmes
One hme
2.7.6 OTHER M CODES
(1)
How to use the other M codes other than
above depends upon the machine.
Refer
the machine tool builderfs manual.
Tadle 2.7 Typical
Example of M codes for Machine
the
to
M code
Meaning
I
Remarks
M 03
Spindle forwa’d running
M04
Spindle reverse running
M 05
Spindle stop
M 08
Coolant on
.—.’
M 09
Coolant off
Direct switching from
M 03to M 04 cannot be done,
M 05 must be inserted
between them.
(2) When these M codes are commanded in the
same block with move command, execution
will, depend on the machine tool design and
construction. (Whether the M commands
are executed simultaneously with or after
completion of move command. )
(3) For these M-code commands, the control out-
puts M 2-digit BCD codes.
2.7.7 M 3-DIGIT BCD OUTPUT+
When the control is provided with the M 3-digit
BCD output option, it can command M 3–digit
codes between MOO and M999.
(1) M codes between MOO and
M89, and between
M11O
and M999 are output in 3-digit BCD
codes.
(2) M90 through M109 are internal processing
M codes, and no BCD code for them is out-
put. See 2. 7.2
M CODES FOR INTERNAL
PROCESSING .
21

Other manuals for YASKAWA yasnac lx3

Related product manuals