Is it possible to automatically output the Macro variable values into a program without physically using the softkey (which is the regular practice) ?
Any help from the Guru's is highly appreciated
Cheers
yaji
Is it possible to automatically output the Macro variable values into a program without physically using the softkey (which is the regular practice) ?
Any help from the Guru's is highly appreciated
Cheers
yaji
Yea as long as you have the macro B option. I think most fanuc controls in the last 20 years usually have it turned on.
Make a macro program and assign it a G or M code.
Something like:
Code:#1=500 (starting variable number to output) #2=599 (ending variable number) POPEN WHILE [#1 LE #2] DO1 DPRNT[VARIABLE*#1*#[#1][44]] #1=#1=1 END1 M99
I' am looking for a solution to punch the variables as a file and not through RS-232 DPRINT. Sorry that I was not specific.
My requirement is wanting to punch out the variables as a file into the computer Or into the CF Card or into the Dataserver (this is anyways based on what channel is being used for I/O)