|
Posted by Dave B on December 9, 2009, 4:39 pm
Please log in for more thread options
>Put this in your program,
>
>IF [5 GT 4] M30;
>
> If you have it, your program will end on that line, if you don't it will
>ignore it.
>
>
>>I have a Fanuc 0M-d control on my mill. How do I tell if I have macro
>> capability?
>> I have an indexer that will take commands thru the serial port and the
>> macro for that does nothing.
>> Thanks in advance for any help
>
So how do you tell if a given control has Custom Macro B? One
universal way is to perform a simple test in the MDI mode. In the
manual data input (MDI) mode, simply enter and execute the command
#101=1
Remember that most Fanuc controls require that you terminate MDI
commands with a semicolon (;). If the control has Custom Macro B, it
will execute this command without generating an alarm. If it does not,
an alarm will be sounded (something like "unrecognizable address").
Additionally, if the machine has Custom Macro B, you should be able to
find a display screen that shows the Custom Macro variables. With
Fanuc controls, it will either be in the OFFSET or SETTING display
screen pages.
db
|
> capability?
> I have an indexer that will take commands thru the serial port and the
> macro for that does nothing.
> Thanks in advance for any help