• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

delucidazioni sul macro per cnc fanuc

  • Thread starter Thread starter Pinkled
  • Start date Start date

Pinkled

Guest
Hello, guys.
I wanted to ask some questions about programming with variables for cnc fanuc 31i.
I would like to convert in macro some algorithms that I have written in c++ of quite complex geometric figures, which very often we do in the workshop, to make them parametric, and can also use geometrically different tools changing only a few data on board machine.
I wanted to know if you can use the g65 function to create even mathematical functions external to the main macro;
I would like to use the g65 function not necessarily to command machine movements, but also to do only calculations and thus obtain the results saved in common variables that will then be used by the main pgm.
I also wanted to know if it is possible to pass to the arguments of the g65 function not only of the absolute values, but also the values contained in common variables such as:
Is this syntax correct?
and this other sitassi is possible:
♪[760 + #640] = [#641 * COS[#637]What? or does the car make me mistake?

Thanks :)
 
you have two things to do:
- download the pdf controller manual
- download the simulator and program it and see what happens

If step two can't or you want to do it, try it directly in the car.

I think you do first to ask someone in fanuc
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top