PDA

View Full Version : G Code help



moose007
22-05-2009, 11:53 AM
Hello my first post and i need help kinda quick, whats the G code for using the arctan trig function ?

is it ATAN(x) ?

irving2008
22-05-2009, 12:17 PM
Hello my first post and i need help kinda quick, whats the G code for using the arctan trig function ?

is it ATAN(x) ?
Welcome to the forum Moose. As far as I am aware G-code has no maths or calculation functions. All calculations are done externally and the G-code only process the results.

What are you trying to achieve?

irving2008
22-05-2009, 12:33 PM
If you mean arc it's R with the modifier telling which direction..
I did wonder if he meant the ARC functions... but he did say the 'trig' function and R isnt a trig function, its the radius modifier to the G2 arc move function.

moose007
22-05-2009, 12:35 PM
trying to use the inverse tanget of on angle...........

irving2008
22-05-2009, 12:39 PM
trying to use the inverse tanget of on angle...........
Hi moose, yes I understood that, but since G-Code doesnt understand angles your request doesnt make sense. Hence my question - in the wider context - what are you trying to do? If we understand the problem better we can help more...