How to define the number of axes?

More
18 May 2011 17:46 #9917 by aike
Hi!
Please help.
I write own GUI to substitude keystick.
The question:
There is value in [TRAJ] section
COORDINATES = XYZ for mill and XZ for lathe.
What HAL pin or what value in structure define the used axes?
I've thought it is axis[N].active but I missed.
Please help me.

Please Log in or Create an account to join the conversation.

More
19 May 2011 11:12 #9924 by Rick G
Take a look at the Integrators Manual
Section
4.2.8
[TRAJ] Section

Rick G

Please Log in or Create an account to join the conversation.

More
19 May 2011 13:45 #9927 by aike
I know about [TRAJ] section.
I want to know the part in sources (in C) or the file where this function defined.

Please Log in or Create an account to join the conversation.

More
19 May 2011 14:02 #9928 by ArcEye
Hi

If you use grep -r "COORDINATES" /usr/src/emc-dev or whatever directory you have your sources in, you will see it is present hundreds of times.

../emc-dev/src/emc/ini/inittraj.cc is a starting point, this sets the axes based upon .ini file entries.

Not entirely sure what you are looking for, so can't help further

regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.130 seconds
Powered by Kunena Forum