Yaskawa J50M Instructions User Manual
Page 20

2.5.1 S 2-DIGIT PROGRAMMING (Cent’d)
EXAMPLE
EXAMPLE
S 1000 M03 ;
s
SPEED
1000
COO S11 M03 ;
. . . S command
Spindle CW
S11: Effective
Y.. . z.. . ;
Z.. . F.. . ;
GOO x.. .
Y.. . Z.. . M05 ; Spindle stop
M03 ;
x.. .
Y.. . z.. . ;
1
S11: Effective
Z.. . F.. . ;
S22 ;
x.. .
Y.. . F.. . ;
S22: Effective
Note : The two-digit BCD output is sent 10 the machine
when S two-digit command is issued.
2.5.2 S 5-DIGIT PROGRAMMING
With five digits written after an address character
S(S
spindle speeds (rein-l) are directly
commanded.
The programmed speeds become effective upon
the inputting of an S-command-comple tion-input-
signal (
,
When an S command is programmed in the same
block with
(spindle forward run) or M04
(spindle reverse run) , the execution of the next
block starts only after the spindle speed reaches
the level specified by the S command, in most
cases.
However, for exact behavior of the ma-
chine tool under consideration, refer to the ma-
chine tool
manual.
The S commands are modal, and when it is pro-
grammed once, it remains effective until another
command is programmed.
Even when the spindle
is stopped by M05, the S command remains ef-
fective.
Therefore, when the spindle starts
again with an M03 (or M04) , the spindle runs at
the speed specified by the S command.
When the spindle speed is to be changed by a
new S command after it is started with an M03 or
M04, attention must be paid to the selected spin-
dle speed range.
Notes :
The lower limit of programmable S commands
(SO and other S commands near O)
determined
by the spindle motor of the machine tool. Refer
to the machine tool builder’s manual.
Do not
program minus values as S commands.
, When the control is equipped with the S 5-digit
command function , spindle speed overriding
is possible.
That is, override speeds between
50 and 120% of the commanded spindle speed
can be obtained at intervals of 10%.
COMPLETION OF
START
BLOCK
Fig. 2.7
2.6 TOOL FUNCTION (T-FUNCTION)
2.6.1 T 2-DIGIT PROGRAMMING
Two digits, following the address T , specify the
tool number.
Leading zeros may be omitted.
I
Tool number
The figures used for the designation of tool num-
ber are determined by the machine. Refer to
the machine tool builder’s manual.
When a move command and a T code are issued
simultaneously ,
the two commands are executed simultaneously,
or
the T command is executed upon completion of
the execution of the move command,
depending on the design of the machine.
For this, refer to the machine builder’s manual.
T codes are modal, and therefore, once they
are given , they remain effective until another
T command is given.
T code commands are generally for making
automatic tool changers
to select the
tool number to be used next. Therefore, they
can be given without regard to the G, H “or D
codes which are for offsetting for the length
or radius of the tool currently in use.
2.6.2 T 4-DIGIT
PROGRAMMING
Four digits following the address T specifies the
tool number.
Leading zeros may be omitted.
L
T o o l n u m b e r
This tool code is the same as the T 2-digit codes,
except for the increased number of digits.
12