Need testers for gmoccapy_5_axis
- eighthaxis
- Offline
- Premium Member
Less
More
- Posts: 84
- Thank you received: 8
14 Jun 2016 07:49 #75961
by eighthaxis
Replied by eighthaxis on topic Need testers for gmoccapy_5_axis
I will try gmoccapy_XYZAC.ini I had no clue to do so. I will tryi it tomorrow and get back to you.
I did copy your instructions verbatim on the first page of this thread and the rip-environment thing did seem to work.
Is there a way to verify I did it correctly?
Please excuse my ignorance and thank you for your help. I learned about the locate and find commands today in linux and when I try to locate gmoccappy_5_axis it shows up in just two locations.
Aloha,
Josh
I did copy your instructions verbatim on the first page of this thread and the rip-environment thing did seem to work.
Is there a way to verify I did it correctly?
Please excuse my ignorance and thank you for your help. I learned about the locate and find commands today in linux and when I try to locate gmoccappy_5_axis it shows up in just two locations.
Aloha,
Josh
The topic has been locked.
- newbynobi
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 2075
- Thank you received: 406
14 Jun 2016 08:25 #75966
by newbynobi
Replied by newbynobi on topic Need testers for gmoccapy_5_axis
@All,
the newest version supporting 5 axis is now branch gmoccapy_2, please update.
There are some changes on the inner part and that version will be one of the next releases.
We will need to find a new name or a way to distinguish version 1 and 2.
Recommendations welcome!
Norbert
the newest version supporting 5 axis is now branch gmoccapy_2, please update.
There are some changes on the inner part and that version will be one of the next releases.
We will need to find a new name or a way to distinguish version 1 and 2.
Recommendations welcome!
Norbert
The topic has been locked.
- eighthaxis
- Offline
- Premium Member
Less
More
- Posts: 84
- Thank you received: 8
14 Jun 2016 19:58 #76022
by eighthaxis
Replied by eighthaxis on topic Need testers for gmoccapy_5_axis
OK I pulled from the branch gmoccapy_2.
I have attached the terminal session via mousepad for you to review.
I copied the gmoccapy directory from linuxcnc-dev../sim to linuxcnc/configs directory and named it sim.gmoccapy_2
I tried gmoccapy_XYZAB.ini to no avail. I get errors saying gmoccappy can't handle more than 4 axis.
I attached a second doc with all of the errors.
Please let me know where to go from here.
Aloha,
Josh
gmocappy_2
Thank you again for all of your help.
I have attached the terminal session via mousepad for you to review.
I copied the gmoccapy directory from linuxcnc-dev../sim to linuxcnc/configs directory and named it sim.gmoccapy_2
I tried gmoccapy_XYZAB.ini to no avail. I get errors saying gmoccappy can't handle more than 4 axis.
I attached a second doc with all of the errors.
Please let me know where to go from here.
Aloha,
Josh
gmocappy_2
Thank you again for all of your help.
The topic has been locked.
- newbynobi
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 2075
- Thank you received: 406
14 Jun 2016 21:30 #76027
by newbynobi
Replied by newbynobi on topic Need testers for gmoccapy_5_axis
If you get errors, why do you ignore them?
Solve them, otherwise you will never get a working system!!!!!!
Norbert
Solve them, otherwise you will never get a working system!!!!!!
f you get errory, please solve them before doing the next step!!!!!!!!!!
distributable due to a license incompatiblilty with LinuxCNC (some portions GPL-2 only) and Readline version 6 and greater (GPL-3 or later). configure: error: To configure LinuxCNC in this way, you must invoke configure with "--enable-non-distributable=yes". Note that on Debian-based systems, you may be able to use libreadline-gplv2-dev instead. make: Failed to remake makefile `Makefile.inc'. make: Failed to remake makefile `Makefile'. josh@Mill:~/linuxcnc-dev/src$ sudo make setuid
Norbert
The topic has been locked.
- eighthaxis
- Offline
- Premium Member
Less
More
- Posts: 84
- Thank you received: 8
15 Jun 2016 00:17 #76034
by eighthaxis
Just ignorant.
Thank you very much for your help.
I have successfully installed gmoccapy with all five axis!
Being that you said pnconfig is not compatible with gmoccapy what is the best way to configure the I/O for the 7i77?
Aloha
Replied by eighthaxis on topic Need testers for gmoccapy_5_axis
If you get errors, why do you ignore them?
Solve them, otherwise you will never get a working system!!!!!!
f you get errory, please solve them before doing the next step!!!!!!!!!! distributable due to a license incompatiblilty with LinuxCNC (some portions GPL-2 only) and Readline version 6 and greater (GPL-3 or later). configure: error: To configure LinuxCNC in this way, you must invoke configure with "--enable-non-distributable=yes". Note that on Debian-based systems, you may be able to use libreadline-gplv2-dev instead. make: Failed to remake makefile `Makefile.inc'. make: Failed to remake makefile `Makefile'. josh@Mill:~/linuxcnc-dev/src$ sudo make setuid
Norbert
Just ignorant.
Thank you very much for your help.
I have successfully installed gmoccapy with all five axis!
Being that you said pnconfig is not compatible with gmoccapy what is the best way to configure the I/O for the 7i77?
Aloha
The topic has been locked.
- newbynobi
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 2075
- Thank you received: 406
15 Jun 2016 05:59 #76042
by newbynobi
Replied by newbynobi on topic Need testers for gmoccapy_5_axis
@eightaxis
I am glad, you make it work.
You may use pncconf to get 4 axis and the IO ' configured and edit this file with gedit or notepad to get gmoccapy and the 5'th axis.
I do it that way, I just build a 3 axis machine and edit the INI and HAL files.
First I get rid of all unneded stuff, i.e. in the INI File all the unneded hal entries as shutdown.hal etc.
Second I make the file more easy to edit, I just cut and paste parts arround and split the huge hal file in separate smaler files. I have than a machine.hal file and a spindle.hal and a doors.hal and a toolchange.hal, a coolant.hal, etc. The only problem is, that you need to add all the files in the right order in your INI File, as you may need a component in various files and they are only allowed to be loaded ones.
So good luck.
Norbert
I am glad, you make it work.
You may use pncconf to get 4 axis and the IO ' configured and edit this file with gedit or notepad to get gmoccapy and the 5'th axis.
I do it that way, I just build a 3 axis machine and edit the INI and HAL files.
First I get rid of all unneded stuff, i.e. in the INI File all the unneded hal entries as shutdown.hal etc.
Second I make the file more easy to edit, I just cut and paste parts arround and split the huge hal file in separate smaler files. I have than a machine.hal file and a spindle.hal and a doors.hal and a toolchange.hal, a coolant.hal, etc. The only problem is, that you need to add all the files in the right order in your INI File, as you may need a component in various files and they are only allowed to be loaded ones.
So good luck.
Norbert
The topic has been locked.
- eighthaxis
- Offline
- Premium Member
Less
More
- Posts: 84
- Thank you received: 8
15 Jun 2016 21:28 #76122
by eighthaxis
Replied by eighthaxis on topic Need testers for gmoccapy_5_axis
Would you please post an example gmoccapy ini file that is working in five axis?
I am having trouble figuring out what to keep or not keep or overwrite. Some of it is straight forward others not so much.
Which HAL files for example. I am posting the two ini's I am trying to integrate per your suggestion for your evaluation.
Aloha
I am having trouble figuring out what to keep or not keep or overwrite. Some of it is straight forward others not so much.
Which HAL files for example. I am posting the two ini's I am trying to integrate per your suggestion for your evaluation.
Aloha
The topic has been locked.
- eighthaxis
- Offline
- Premium Member
Less
More
- Posts: 84
- Thank you received: 8
15 Jun 2016 21:45 #76124
by eighthaxis
Replied by eighthaxis on topic Need testers for gmoccapy_5_axis
Looks like I need to do the same
with the main HAL files as well. Here they are.
Any suggestions would be appreciated.
Thanks
with the main HAL files as well. Here they are.
Any suggestions would be appreciated.
Thanks
The topic has been locked.
- eighthaxis
- Offline
- Premium Member
Less
More
- Posts: 84
- Thank you received: 8
16 Jun 2016 01:04 - 16 Jun 2016 01:11 #76126
by eighthaxis
Replied by eighthaxis on topic Need testers for gmoccapy_5_axis
Here is my feeble attempt at combining them.
It has errors: Ini variable [AXIS_0]P not found.
Aloha
It has errors: Ini variable [AXIS_0]P not found.
Aloha
Last edit: 16 Jun 2016 01:11 by eighthaxis.
The topic has been locked.
- andypugh
- Away
- Moderator
Less
More
- Posts: 23561
- Thank you received: 4859
16 Jun 2016 11:39 #76150
by andypugh
Replied by andypugh on topic Need testers for gmoccapy_5_axis
I think that the problem is at least partly caused by you using a simulator config as your sample file, so all the stuff related to moving hardware is missing.
If you have a 3-axis config then adding more axes isn't particularly difficult.
The INI will have three sections like
[AXIS_0]
...
[AXIS_1]
...
[AXIS_2]
You just need to copy and paste those a few more times up to [AXIS_4] (for an XYZAB machine, you would need to go as far as [AXIS_5] for an XYZAC machine)
You also need to change the entry for [TRAJ]AXES and the [TRAJ]COORDINATES to XYZAB.
Then in the HAL file, you will have entries for the connections for each axis. Again, just copy and paste them and increase the index numbers for things like encoders and INI file entries.
It might help to know that, for example, your error message
./core_sim_XYZAB.hal:52: Ini variable '[AXIS_0]P' not found.
mean that in line 52 of the HAL file core_sim_XYZAB,hal file the code is looking for an INI variable that is not there.
ie the HAL has: setp pid.x.Pgain [AXIS_0]P
but the INI file does not have an entry called P in the [AXIS_0] section.
If you have a 3-axis config then adding more axes isn't particularly difficult.
The INI will have three sections like
[AXIS_0]
...
[AXIS_1]
...
[AXIS_2]
You just need to copy and paste those a few more times up to [AXIS_4] (for an XYZAB machine, you would need to go as far as [AXIS_5] for an XYZAC machine)
You also need to change the entry for [TRAJ]AXES and the [TRAJ]COORDINATES to XYZAB.
Then in the HAL file, you will have entries for the connections for each axis. Again, just copy and paste them and increase the index numbers for things like encoders and INI file entries.
It might help to know that, for example, your error message
./core_sim_XYZAB.hal:52: Ini variable '[AXIS_0]P' not found.
mean that in line 52 of the HAL file core_sim_XYZAB,hal file the code is looking for an INI variable that is not there.
ie the HAL has: setp pid.x.Pgain [AXIS_0]P
but the INI file does not have an entry called P in the [AXIS_0] section.
The topic has been locked.
Moderators: newbynobi, HansU
Time to create page: 0.088 seconds