![Okuma OSP-P200L Programming Manual Download Page 62](http://html1.mh-extra.com/html/okuma/osp-p200l/osp-p200l_programming-manual_3667818062.webp)
5238-E P-49
SECTION 5 S, T, AND M FUNCTIONS
(22) M109, M110 (C-axis connection ON, OFF)
These M codes are used to select the spindle control mode for the multiple-process machining
specification models. By specifying M110, the spindle is controlled in the C-axis control mode
and by specifying M109, the control mode is returned to the spindle control mode. Note that
M110 must be specified in a block without other commands.
(23) M124, M125 (STM time-over check ON, OFF)
These M codes are used to determine whether or not an alarm is generated if the counted STM
execution cycle time exceeds the parameter-set time; M124 specifies that the alarm is
generated, and M125 specifies that the alarm is not generated.
(24) M136 (shape definition for compound fixed cycle)
This M code is used to specify the shape for the compound fixed cycles provided for the
multiple-process specification models. After the execution of the compound fixed cycle, the
cutting tool returns to the start point of rapid traverse.
(25) M140 (tapping cycle rotary tool fixed speed arrived answer signal ignore)
This M code is used to ignore the tapping cycle rotary tool fixed speed arrived answer signal; by
specifying this M code, the timing difference between the output of rotary tool fixed speed
arrived answer signal and the start of cutting feed can be zeroed. Note that this M code is
available with the multiple-process specification models.
(26) M141, M146, M147 (C-axis clamp used/not-used selection, C-axis unclamp, C-axis clamp)
For a compound fixed cycle carried out under light load on multiple-process specification
models, it is not necessary to clamp the C-axis to carry out cutting. In such a case, M141 is
used to select the "C-axis clamp is not used" state, thereby reducing cutting time.
M146 and M147 are used to control C-axis clamping and unclamping; M146 for C-axis clamp
and M147 for C-axis unclamp.
(27) M156, M157 (center work interlock ON, OFF)
When center work is selected, operation is possible only when the tailstock spindle is at the
predetermined position. For chuck work, the tailstock spindle must be at the retract end
position. These M codes are used to cancel the interlock function.
[Supplement]
(28) M160, M161 (feedrate override fixed at 100% OFF, ON)
These M codes are used to specify whether or not the setting of the feedrate override dial,
when other than 100%, is valid; in the M161 mode, if the setting of the feedrate override dial on
the machine operation panel is in other than 100%, the setting is ignored and the feedrate
commands are executed assuming a setting of 100%, and in the M160 mode, the setting of the
feedrate override dial is valid.
(29) M162, M163 (rotary tool spindle override fixed at 100% OFF, ON)
These M codes are used to specify whether or not the setting of the rotary tool spindle speed
override dial, when other than 100%, is valid; in the M163 mode, if the setting of the rotary tool
spindle speed override dial on the machine operation panel is in other than 100%, the setting is
ignored and the rotary tool spindle speed commands are executed assuming the setting of
100%, and in the M162 mode, the setting of the rotary tool spindle speed override dial is valid.
•
When the power supply is turned off or after the NC is reset, the NC is in the M156 state.
•
The state selected by these M codes is effective only for MDI and automatic operation modes.