S Functions (Spindle Functions) - Okuma OSP-P200L Programming Manual

Hide thumbs Also See for OSP-P200L:
Table of Contents

Advertisement

SECTION 5 S, T, AND M FUNCTIONS
This section describes the S, SB, T, and M codes that specify the necessary machine operations other than
axis movement commands.
S
: Spindle speed
SB : Spindle speed of M-tool spindle
T
: Tool number, tool offset number, tool nose radius compensation number
M
: Miscellaneous function to control machine operation
One block can contain: one S code, one T code, and eight M codes.
1.

S Functions (Spindle Functions)

[Function]
By specifying number following address S, spindle speed can be specified.
[Programming format]
S__
[Details]
S command range: 0 to 65535
If there is an S command and an axis move command in the same block, the S command is
executed first and then the axis move command is executed.
The S command will not be canceled when the NC is reset, however, it will be set to 0 when the
power supply is turned off.
To rotate the spindle, the S command must be specified in a block that precedes the block
containing the spindle start command or in the same block.
[Supplement]
1) For a machine equipped with the transmission gears, the required gear range should be
selected with the corresponding M code.
2) Spindle rotation (forward, reverse) and stop are specified by M codes.
2.
SB Code Function
[Function]
M-tool spindle speed is specified using address SB.
[Programming format]
SB = __
f an address consisting of two or more characters is used, an equal symbol must be entered before
a numeric value.
SB command range: 0 to 65535
M-tool spindle rotation (forward, reverse) and stop are specified by M codes.
The SB command will not be canceled when the NC is reset, however, it will be set to 0 when
the power supply is turned off.
SECTION 5 S, T, AND M FUNCTIONS
5238-E P-45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Osp-p20l-rOsp-p20lOsp-p200l-r

Table of Contents