Jump Around Using M99 Plus Block Skip

Jump Around Using M99 Plus Block Skip

Using M99 Plus Block Skip

Call David 07834 858 407

M99 Plus Block Skip, M99 on a Fanuc, Haas or Mazatrol ISO control can be used to jump sections of code, learn to use this in conjunction with the block skip command to switch it off and on.

(If want to do this on a Toshiba Tosnuc 888 or similar control go to the end of the article)

In this example it’s a spot drill we want to miss out. Click to enlarge the images.

M99 Plus Block Skip
Standard Code

You could delete it and make two programmes (sounds like hard work and loads of errors).

M99 Plus Block Skip
Block Skip

The programme above  contains BLOCK SKIPS or BLOCK DELETES.

When you switch on your BLOCK DELETE/BLOCK SKIP switch, each time a forward slash (/) is seen that block will not be processed and the control will move on to the next block. It works ok but it is very time consuming if you want to skip a big section of code cos you would have to write in all the block skips. Some controls even have two three and four block skips so you can switch on any combination of these switches mm complicated.

Now lets use M99 Plus Block Skip

The next example is the easiest way (you probably normally see an M99 at the end of a sub programme). In this case it tells the control to jump to N100 (M99 P100).

M99 Plus Block Skip
M99

If you put the BLOCK SKIP/BLOCK DELETE on it will not jump the spot drill. So you would have a choice. If you temporarily want to skip a section of code. Maybe you broke all the taps and you don’t have anymore so you want to skip the tapping. In this case I’d just jump with M99 and then take it out. However see the next example.

The last example (mm well you might have to think about this one). Call me finicky but I like the BLOCK SKIP/BLOCK DELETE as a default to be off. Most machines now don’t have a mechanical switch for BLOCK DELETE/BLOCK SKIP so when turned on it would jump the centre drill. I think the default should really be the way the programme was originally done. So if the block skip is off, which it will be when you start up your machine. The first jump will jump over the jump that stops it doing the programme and the programme will run as normal.

M99 Plus Block Skip
What’s This?

Think about it. Maybe you will let me know what you think. You might need counselling after this.

Jumping Sections of Code on a Toshiba Tosnuc 888 or Similar

This is how you do it on a Toshiba.

Don’t forget it’s GO (thats G and letter O) not G0 which is G and number zero.

Don’t get your letter O’s and your number zeros mixed up.

/M99 P50                                   /[GO,50]               (JUMP TO N50)
M99 P100                                    [GO,100]            (JUMP TO N100)
N50                                              N50                      (ARRIVE HERE
THE CODE
THE CODE
THE CODE
ETC
ETC
ETC
ETC
N100                                            N100                      (ARRIVE HERE)

Without Fancy Shit  (Just jump some code)

M99 P100                                    [GO,100]            (JUMP TO N100)
THE CODE
THE CODE
THE CODE
ETC
ETC
ETC
ETC
N100                                            N100                      (ARRIVE HERE)

 

Services offered at CNC Training Centre

 

Edgecam training.

Classroom programmer training.

Onsite CNC Machine Training.

CNC Training on all controls and machines.

Mazak Training Fanuc Training

Don’t forget we offer training on all types of Mazak Machines and all Fanuc Controls 6m to 31i Oi old to young.

Call 07834 858 407


Log out of this account

Leave a Reply

CNC Training Centre
WP to LinkedIn Auto Publish Powered By : XYZScripts.com