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
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