584,830 active members*
5,782 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Okuma > please help about okuma LB15 II MW
Results 1 to 13 of 13
  1. #1

    please help about okuma LB15 II MW

    how to use sub spindle ( G and M code about Sub spindle) ? sorry anyone because my english so bad.

  2. #2
    Join Date
    May 2015
    Posts
    15

    Re: please help about okuma LB15 II MW

    Is this what you mean:

    Example:
    NBT05 (TURNING_OUT)
    (? RIGHT VPGR332HP K313)
    G141 (SUB SPINDLE)
    N40 G0 G90 X40.0 Z0.05 T050505 G97 S3778 M3 M63
    G0 X2.1598 Z0.5 M8
    G96 S1904 M3 G111
    Z0.5
    G1 X0. F0.001
    Z0.01
    X0.75
    G0 X40.0 M9 M63 G97 S500 (CANCEL G96) M5
    G0 X40.0 Z5.0 T0500

  3. #3
    Join Date
    Jun 2015
    Posts
    4131

    Re: please help about okuma LB15 II MW

    hy blastermaster i can't be specific, because :
    ... that code seems to be in inch, and i'm metric
    ... i don't have an okuma with sub spindle
    ... i don't know :
    ...... what G111 does on your machine; may be a macro, or turret b ccs, etc
    ...... where is the home for your machine ( x40 z0.05 or x40.0 z5.0 )
    ...... why the coordinates from 1st line <> last line

    *but here are a few sugestions, so to make it execute faster / kindly

    Code:
        // some comment
        N**** home_position
        T050505 ( M66 ) G96 S M03 M08 G0 X2.1598 Z0.5 M63 G141 G111 F0.001 G95/G94 (*1)
        G1 X0
        Z0.01                                       (*2)
        G0 home_position T0500 M05 M63 M09 ( M230 ) (*3)
    
    
    (
    *1 you may avoid G90, as it should be implicit
       G95/G94 is missing from your code
       such things depends on machine defaults, your programing style/method, etc
    *2 your code continues with X0.75; it seems to be a face operation; going to X0.75
    should be in rapid, or even better, it should be avoided, as long as turret will
    continue it's movement, on z, away from the part
    *3 your code:
    ... is passing the actual g96 rpm into g97, then rpm stops;
        you may stop directly, without switching modes
    ... turret is leaving the operation by executing 2 motions, instead of only
        one; also your 1st motion is too short, and is executed before the spindle
        stops, and as a result, turret will wait for rpm to drop below stop confirmation
    )
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  4. #4
    Join Date
    May 2015
    Posts
    15

    Re: please help about okuma LB15 II MW

    Hi Kitty,

    Im metric too just working in the US lol!
    My example was from a LT2000 so my mistake, anyway you almost only need G141 (Sub spindle mode ON(sub spindle)) that should cover the most, the rest is the same as main.
    BR Blaster :-)

  5. #5
    Join Date
    Jun 2015
    Posts
    4131

    Re: please help about okuma LB15 II MW

    Im metric too just working in the US lol!
    i never thought that the american dream is not metric ?!?!
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  6. #6
    Thank you but that's not i mean.i cannot move subspindle by code and i not sure code is right.

  7. #7
    Join Date
    Dec 2013
    Posts
    39

    Re: please help about okuma LB15 II MW

    Hope it will Help you

    G00 Positioning
    G01 Linear interpolation
    G02 Circular interpolation – Helical cutting (CW)
    G03 Circular interpolation – Helical Cutting (CCW)
    G04 Dwell
    G09 Exact stop
    G10 Cancel of G11
    G11 Parallel and rotational shift of coordinate system
    G14 Designation of axis name
    G15 Selection of work coordinate system (Modal)
    G16 Selection of work coordinate system (One-shot)
    G17 Plane selection: XY
    G18 Plane selection: ZX
    G19 Plane selection: YZ
    G20 Inch input confirmation
    G21 Metric input confirmation
    G22 Programmable stroke limit ON
    G23 Programmable stroke limit cancel
    G30 Positioning to home position
    G31 Skip function
    G33 Unfixed cycle for thread cutting
    G37 Cancel of G38
    G38 Air cut reduction mode ON
    G39 I, J, K commands and G39 ignored in the corner circular interpolation (with vector)
    G40 Cutter radius compensation (G41, G42) cancel
    G41 Cutter radius compensation, left
    G42 Cutter radius compensation, right
    G43 3D offset (G44) cancel
    G44 3D offset ON
    G50 Enlargement and reduction of geometry cancel
    G51 Enlargement and reduction of geometry “ON”
    G53 Tool length offset cancel
    G54 Tool length offset, X-axis
    G55 Tool length offset, Y-axis
    G56 Tool length offset, Z-axis
    G57 Tool length offset, 4th-axis
    G58 Tool length offset, 5th-axis
    G59 Tool length offset, 6th-axis
    G60 One-directional positioning
    G61 Exact stop mode ON
    G62 Programmable mirror image mode
    G64 Cutting mode ON
    G68 Slope coordinate OFF
    G69 Slope coordinate ON
    G71 Designation of return level for M53
    G72 Designation of pattern reference point (start position) for the coordinate calculation function
    G73 Fixed cycle, High speed drilling cycle
    G74 Fixed cycle, Reverse tapping cycle
    G75 Fixed cycle; Step & pick cycle
    G76 Fixed cycle, Fine boring
    G79 Fixed cycle; Variable pitch cycle
    G80 Fixed cycle, Modal cancel
    G81 Fixed cycle; Spot boring
    G82 Fixed cycle; Counter boring
    G83 Fixed cycle, Deep hole drilling cycle
    G84 Fixed cycle, Tapping cycle
    G85 Fixed cycle, Boring cycle
    G86 Fixed cycle, Boring cycle
    G87 Fixed cycle, Back boring cycle
    G88 Fixed cycle; Multi-step boring cycle
    G89 Fixed cycle, Boring cycle
    G90 Absolute dimensioning mode
    G91 Incremental dimensioning mode
    G92 Setting of work coordinate system
    G93 Inverse time feed
    G94 Feed per minute mode
    G95 Feed per revolution mode
    G96 Local coordinate system setting
    G97 Coordinate recalculation function
    G100 Cancel of macro MODIN mode selected by G101 to G110
    G101-G110 G code macro MODIN type
    G111-G120 G code macro CALL type
    G130 High-speed contouring control OFF
    G131 High-speed contouring control ON
    G133 Constant peripheral speed control OFF
    G134 Constant peripheral speed control ON
    G137 Contour machining mode OFF
    G138 Contour machining mode ON
    G139 G00 special linear interpolation OFF
    G140 G00 special linear interpolation ON
    G141 Tool grooving OFF
    G142 Tool grooving ON
    G143 Rotary axis position command (under rotary axis control by Super hi-NC)
    G145 Pattern reference point return mode
    G146 Pattern end point return mode
    G147 Machine coordinate system position command
    G148 Turning cut function OFF
    G149 Turning cut function ON
    G150 Auto acceleration/deceleration ON
    G151 Auto acceleration/deceleration cancel
    G152 Auto acceleration
    G153 Auto deceleration
    G154 Spindle path control OFF
    G155 Spindle path control ON
    G159 In-position check disabling command
    G164 Continuous circular movement stop command in turning cut
    G165 Continuous circular movement (CW) start command in turning cut
    G166 Continuous circular movement (CCW) start command in turning cut
    G167 Rotary table and spindle control OFF
    G168 Rotary table and spindle control ON
    G169 Tool length offset at cutting edge ON
    G170 Tool length offset at cutting edge and in axial direction cancel
    G171 Tool length offset in axial direction ON
    G174 Cylindrical side cutting “OFF”
    G175 Cylindrical side cutting “ON”
    G176 F, S codes ignore cancel
    G177 F, S codes ignore
    G178 Fixed thread cutting cycle in the 1st axis direction on a plane
    G179 Fixed thread cutting cycle in the 2nd axis direction on a plane
    G180 Attachment rotation offset cancel
    G181 Attachment rotation offset; Frontward
    G182 Attachment rotation offset; Leftward
    G183 Attachment rotation offset; Backward
    G184 Attachment rotation offset; Rightward
    G185 Attachment rotation offset; Downward
    G186 Tolerance control mode cancel
    G187 Tolerance control mode “ON”
    G188 2nd tool length offset cancel
    G189 2nd tool length offset ON
    G192 Fixed cycle; Upper surface detection cancel
    G193 Fixed cycle; Upper surface detection ON
    G194 Fixed cycle; Tool breakage detection cancel
    G195 Fixed cycle; Tool breakage detection ON
    G260 Spindle deflection compensation OFF
    G261 Spindle deflection compensation ON
    G266 Limit switch checked
    G267 Limit switch not checked
    G272 Fixed cycle; Deep hole tapping and reverse tapping
    G273 Fixed cycle; High-speed deep hole tapping and reverse tapping
    G274 Fixed cycle; Synchronized tapping, reverse tapping
    G281 Fixed cycle; Small diameter and deep hole drilling
    G282 Fixed cycle; Deep hole synchronized tapping
    G283 Fixed cycle; High-speed deep hole synchronized tapping
    G284 Fixed cycle; Synchronized tapping
    G296 G297 cancel
    G297 S command in C-axis mode (S command is regarded as the spindle position.)
    G300 G301 to G349 macro MODIN cancel (NC. P. B No. 34 bit 3:1)
    G336 I-MAP-A function; Fixed circle cutting cycle (CW)
    G337 I-MAP-A function; Fixed circle cutting cycle (CCW)
    G501-G580 G code macro changeable between MODIN and CALL
    Okuma Mill M Codes
    M Code Description
    M00 Program stop
    M01 Optional stop
    M02 End of program
    M03 Work spindle start (CW)
    M04 Work spindle start (CCW)
    M05 Spindle stop
    M06 Vertical spindle tool change
    M07 Oil mist coolant ON
    M08 Coolant pump ON
    M09 Coolant system OFF
    M10 A-axis clamp
    M11 A-axis unclamp
    M12 Chip air blow ON
    M15 4th-axis rotary index table CW
    M16 4th-axis rotary index table CCW
    M17 Indexing head index CCW
    M19 Spindle orientation (forward)
    M20 B-axis clamp
    M21 B-axis unclamp
    M22 Y-axis clamp
    M23 Y-axis unclamp
    M24 Z-axis clamp
    M25 Z-axis unclamp
    M26 C-axis clamp
    M27 C-axis unclamp
    M30 End of tape
    M32 Splash guard door close
    M33 Splash guard door open
    M40 High/middle-high/middle-low/low range
    M41 High/middle-high/middle-low range
    M42 High/middle-high range
    M43 High range
    M44 AAC (F) 1 Next attachment clear
    M45 AAC (F) 1 Preparation for attachment change preparation
    M46 AAC (F) 1 No next attachment
    M47 AAC (F) 1 No next attachment
    M48 AAC (T) Next attachment clear
    M49 AAC (T) Preparation for attachment change preparation
    M50 Through-the-tool coolant, low pressure ON
    M51 Through-the-tool coolant, high pressure ON
    M52 Return level in fixed cycle, Upper limit
    M53 Return level in fixed cycle, Specified level
    M54 Return level in fixed cycle, Point R level
    M57 W-axis clamp
    M58 W-axis unclamp
    M59 Chip air blow ON
    M60 Pallet change command
    M62 Vertical spindle tool change preparation
    M63 No next tool for ATC
    M64 Next tool return cycle
    M65 ATC preparation
    M66 Continuous tool change between the vertical and horizontal spindles (same tool)
    M67 Continuous tool change between the vertical and horizontal spindles (different tool)
    M68 Vertical spindle tool clamp
    M69 Vertical spindle tool unclamp
    M70 Manual tool change
    M71 Manual attachment tool change
    M72 Horizontal spindle tool change preparation
    M73 Swivel head, front position
    M74 Swivel head, left position
    M75 Swivel head, rear position
    M76 Swivel head, right position
    M77 Horizontal spindle tool change
    M78 Horizontal spindle tool clamp
    M79 Horizontal spindle tool unclamp
    M81 Automatic W-axis positioning 1
    M82 Automatic W-axis positioning 2
    M83 Automatic W-axis positioning 3
    M84 Automatic W-axis positioning 4
    M85 Automatic W-axis positioning 5
    M87 Oil mist/air blow ON
    M87 Oil mist/air blow ON
    M88 Dust collector ON
    M89 Dust collector OFF
    M90 Vertical spindle oil mist cycle mode ON
    M91 Tap-drill hole chip air blow cycle mode ON
    M93 Thru-spindle coolant at medium pressure/2nd coolant ON
    M94 Attachment indexing by forward rotation
    M95 Attachment indexing by reverse rotation
    M98 Horizontal spindle oil mist cycle mode ON
    M101 Pallet 1 selection
    M102 Pallet 2 selection
    M103 Pallet 3 selection
    M104 Pallet 4 selection
    M105 Pallet 5 selection
    M106 Pallet 6 selection
    M107 Pallet 7 selection
    M108 Pallet 8 selection
    M109 Pallet 9 selection
    M110 Pallet 10 selection
    M111 Pallet 11 selection
    M112 Pallet 12 selection
    M115 5th-axis rotary table CW
    M116 5th-axis rotary table CCW
    M118 Spindle orientation (reverse)
    M119 Spindle orientation (forward/reverse)
    M120 Work shower ON
    M121 Attachment air blow ON/Tool nose air blow ON
    M127 Touch probe ON
    M130 Spindle rotation condition for cutting feed OFF
    M131 Spindle rotation condition for cutting feed ON
    M132 Single block invalid
    M133 Single block valid
    M134 Spindle speed override invalid
    M135 Spindle speed override valid
    M136 Feedrate override invalid
    M137 Feedrate override valid
    M138 Dry run invalid
    M139 Dry run valid
    M140 Slide hold invalid
    M141 Slide hold valid
    M142 Spindle overload detection invalid
    M143 Spindle overload detection valid
    M144 Touch sensor advance
    M145 Touch sensor retract
    M146 Work air blow OFF
    M147 Work air blow ON
    M148 Work clamp (fixture 1)
    M149 Work unclamp (fixture 1)
    M150 Coolant group specification, Vertical spindle
    M151 Coolant group specification, Horizontal spindle
    M152 Coolant group specification, 3rd group
    M153 Coolant group specification, 4th group
    M154 Sensor air blow OFF
    M155 Sensor air blow ON
    M157 AAC (2 st.), No next tool
    M158 AAC (2 st.), Next tool clear
    M159 AAC (2 st.), Preparation for the next tool
    M160 PPC pallet loading
    M161 PPC pallet unloading
    M163 Long tool, No next tool
    M165 Long tool, Preparation for tool change
    M166 ATC active tool return mode specification
    M170 AAC (F), Attachment change
    M171 AAC (T), Attachment change
    M172 Long tool, Tool change command
    M173 AAC (2 st.), Attachment change command
    M176 Dust collection mode, Air blow
    M177 Angular attachment, Tool change
    M178 Dust collection mode, ON
    M179 Dust collection mode, OFF
    M181 External M signal
    M182 External M signal
    M183 External M signal
    M184 External M signal
    M185 External M signal
    M186 External M signal
    M187 External M signal
    M188 External M signal
    M190 Automatic W-axis positioning 1
    M191 Automatic W-axis positioning 2
    M192 Automatic W-axis positioning 3
    M193 Automatic W-axis positioning 4
    M194 Automatic W-axis positioning 5
    M195 Automatic W-axis positioning 6
    M196 Automatic W-axis positioning 7
    M197 Automatic W-axis positioning 8
    M198 Automatic W-axis positioning 9
    M199 Automatic W-axis positioning 10
    M201-M220 M code macro
    M230 Tool length offset direction; Used as it is
    M231 Tool length offset direction; Used after reversing the direction
    M232 3D tool length offset direction; Used as it is
    M233 3D tool length offset direction; Reversed and used
    M234 Synchronized tapping gear selection: Low, Middle low, Middle high, High
    M235 Synchronized tapping gear selection: Middle low, Middle high, High
    M236 Synchronized tapping gear selection: Middle high, High
    M237 Synchronized tapping gear selection: Middle high, High
    M238 Software override invalid
    M239 Software override valid
    M278 Chip conveyor OFF
    M279 Chip conveyor ON
    M280 Work counter count up
    M281 Work clamp (fixture 2)
    M282 Work unclamp (fixture 2)
    M287 Work clamp (fixture 3)
    M288 Work unclamp (fixture 3)
    M289 Pallet identification
    M292 Chamfering OFF
    M293 Chamfering ON
    M294 Fixed compound cycle; Cutting pattern 1
    M295 Fixed compound cycle; Cutting pattern 2
    M296 Fixed compound cycle; Cutting pattern 3
    M297 Thermal deformation amount transfer command
    M300 Ignoring Spindle rotation answer
    M301 Ignoring M code answer other than spindle rotation
    M302 M301 answer confirmation
    M311 Robot request 1
    M312 Robot request 2
    M313 Robot request 3
    M314 Robot request 4
    M315 U-axis connection OFF
    M316 U-axis connection ON
    M317 U-axis air blow OFF
    M318 U-axis air blow ON
    M319 Operation time transfer command (DNC-C)
    M320 Tailstock advance
    M321 Tailstock retract
    M326 Synchronized tapping monitor OFF
    M327 Synchronized tapping monitor ON
    M328 Spindle no-tool interlock valid
    M329 Spindle no-tool interlock invalid
    M331 6th rotary axis CW
    M332 6th rotary axis CCW
    M339 Thru-spindle air blow ON
    M340 Work seating monitor ON
    M341 Work seating monitor OFF
    M342 Work seating confirmation air ON
    M343 Work seating confirmation air OFF
    M346 B-axis rotation interlock valid
    M347 B-axis rotation interlock invalid
    M351 AT retraction to MG upper part (MCV-A II simplified 5-face MC)
    M352 Adaptor retraction to MG upper part (MCV-A II simplified 5-face MC)
    M354 Chip flusher OFF
    M355 Chip flusher ON
    M356 MG pot swing to tool change position
    M368 Mist collector OFF
    M369 Mist collector ON
    M374 Non-contact sensor; Laser OFF
    M375 Non-contact sensor; Laser ON
    M378 Coolant flow rate detection; Monitor mode ON
    M379 Coolant flow rate detection; Monitor mode OFF
    M385 Work clamp at low pressure (fixture 1)

  8. #8
    Join Date
    Jun 2015
    Posts
    4131

    Re: please help about okuma LB15 II MW

    i cannot move subspindle by code and i not sure code is right.
    hy bimachine, are you looking for part transfer, thus to approach the 2nd spindle to the 1st one, so to grab the part ? please, describe a bit more what you wish to do / kindly
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  9. #9
    Quote Originally Posted by deadlykitten View Post
    hy bimachine, are you looking for part transfer, thus to approach the 2nd spindle to the 1st one, so to grab the part ? please, describe a bit more what you wish to do / kindly
    Thanks so much! I will try it.moa moa

  10. #10
    Join Date
    Apr 2009
    Posts
    1262

    Re: please help about okuma LB15 II MW

    Master8laster is correct. The machine is designed so that once G141 is entered, the exact same code can be run on the sub spindle as can be run on the main. The machine takes care of everything for you. Even chuck clamp/unclamp now controls the sub chuck instead of the main. So write your code as if ti's going to be run on the main as a second operation, and just put G141 in front of it. Simple. Now to move the sub, you will need to use a W command. G0W0.2 for example. The W axis has it's own Zero set just like the Main and Sub spindle also have their own Zero Set. You may need to switch to G94 if your spindles are not rotating in order to feed the W with G1. Some of the newer machines also do not want to feed without the spindle running so you may need to release the interlock by M-code. M805 if my memory is correct.

    Best regards,
    Experience is what you get just after you needed it.

  11. #11
    Join Date
    May 2015
    Posts
    15

    Re: please help about okuma LB15 II MW

    Quote Originally Posted by deadlykitten View Post
    i never thought that the american dream is not metric ?!?!
    Ha ha I can assure you the dream is metric, its just the way it has to be, maybe one day this great nation will see the light.....

  12. #12

    Re: please help about okuma LB15 II MW

    it's not Mill,My machine is lathe,but thank for help.

  13. #13

    Re: please help about okuma LB15 II MW

    thanks for help.

Similar Threads

  1. Okuma LB15 OSP 5000L
    By CNCAndy in forum Mastercam
    Replies: 12
    Last Post: 01-23-2022, 08:09 PM
  2. Okuma lathe (LB15)
    By timm0030 in forum Okuma
    Replies: 4
    Last Post: 06-07-2015, 12:21 PM
  3. okuma LB15
    By NJC in forum Okuma
    Replies: 87
    Last Post: 04-11-2013, 05:40 AM
  4. okuma LB15 help
    By cbrannam in forum Okuma
    Replies: 18
    Last Post: 10-09-2011, 12:45 PM
  5. Okuma lb15
    By firepoker1965 in forum Okuma
    Replies: 4
    Last Post: 09-23-2009, 02:01 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •