View Full Version : Makino A61 with fanuc 31i pro5

04-14-2012, 06:50 AM
Hello I would like to get a manual for programing macros.

I have got the original fanuc manuals, but It does not explain very well How I have to develop the custom macros.

I have been looking at the forums and I have seen the book Fanuc CNC custom macros.

Is it what do I need?

Someone knows anything better.

I have to develop many custom macros for manufacturing.

I will be very glad to hearing from you.

Thank you in advance.

Best regards.

04-20-2012, 05:44 PM
I have the programming manual too and it seems to explain how to do a macros. What I think that you need is the PMC programming manual, which explains how to map PMC data to the CNC program...am I right?

I have that too, PM me your email address and I will mail it to you.

04-21-2012, 05:35 AM
Thanks for answering.

As you say I have got all fanuc manuals and makino manuals.

I am trying to make custom macros to makino.

One of my questions is How could I find out the signals that I have to use in the macro program?
For instance, I have been looking for in the manuals the meaning from the macro #535 and I could not find out.
Where could I find out which is the meaning of #535 and also others of them.
Browsing by internet I find out the meaning of #535, but sometimes I can not understand it
I have been reading a custom macro program about the tool life and I do not know the meaning of M102S1
Which is meaning of M102S1 at the custom macro ?

I will be glad to hearing back from you.

Thanks in advance.

04-23-2012, 08:49 AM
#535 is a common variable. Common variables are MACRO program variables which the user assigns a given value for later use. Go to the MACRO menu by pressing OFFSET/SETTING and then press + and select MACRO. You will see all the variables and their values. If, for example, you asign a value of 1.5 to your variable #535 you will see on this menu that you have a 1.5 on the #535 variable.

This 1.5 you can later use to program something like this
and it will be equivalent to writing
because the current value of variable #535 is 1.5

You can access most of the data available on the NC to use on a program by using variables.

About your other question, the M102S1 can mean anything if taken out of context. Can you post the rest of the MACRO? M102 seems to be a machine code (like M08 or M06) and S1 looks like programming for spindle speed...but I cant be sure unless I look at the rest of the program.