5 Axis ParPort Stepper Setup with RTCP

More
8 years 10 months ago #103510 by andypugh

marq_torque wrote: Thing is i am running Pulse Sign Configuration so PID Tuning in EMC make any difference ?

Some stepper systems use PID. PnCConf sets up Mesa steppers with a PID because it works a bit better.

"DEFAULT_ACCELERATION = 2.0 - In machines with nontrivial kinematics, the acceleration used for "teleop" (Cartesian space) jogs, in machine units per second per second. "
So isn't it effective for jog move only ? While in my setup jog move it does same as MDI command.


Surely it is worth testing the change at least? It takes moments.

Any help regarding tool offset ? I have Er25 Collet dircet drive spindle so changing all time tools. not the holder so i cant measure tool length all time.


forum.linuxcnc.org/10-advanced-configura...-off?start=90#103477

Please Log in to join the conversation.

More
8 years 9 months ago #104155 by marq_torque
Thank You Andy,

It was Mistake to disable step gen fb line in hal file. So I was getting swinging movement. It's solved now

Now I am stuck at tool Length offset and tool height sensor. And M code.

I tried g38.2 it ends movement as soon as it touches the sensor. But not retracting and not slowly reversing to cutoff the signal.
Also how to get tool length offset in tool table from DRO ? Is there any reference to start from ?
And all after that .. is it possible to shoot just one m code to perform all this ?

Regards
Ankit

Please Log in to join the conversation.

More
4 months 3 weeks ago #346913 by marq_torque
Hello Andypugh,

This modification was really helpful in last machine I made. I'm now trying to achieve similar but Linuxcnc has changed a alot. Also changed a lot in kinematics. I tried to modify kinematics as per this thread but as expected it's failing with errors.

I want to use XZ and B axis with TCP along with tool length probing. Setup in this thread is working in older version.. I'm struggling to getit worli with Debian 13 rt 2.9.8 Any help or suggestions would be appreciated,


Thanks

Please Log in to join the conversation.

More
4 months 3 weeks ago #346962 by grandixximo
Build errors? Can you share your current code? Not many people will have the time to read 10 pages of an 8 years old thread...
Be more specific about what you are struggling with.

---
test signature

Please Log in to join the conversation.

More
4 months 2 weeks ago #347040 by marq_torque
Pardon my brevity,

Here is detail

I'm trying to compile this kinematics file "5axiskinsN.c" and getting this error

cnc@cnc:~/linuxcnc/configs$ sudo halcompile --install 5axiskinsN.c
Compiling realtime 5axiskinsN.c
Linking 5axiskinsN.so
objdump: section '.rtapi_export' mentioned in a -j option, but not found in any input file
/usr/bin/ld:5axiskinsN.ver:2: syntax error in VERSION script
collect2: error: ld returned 1 exit status
make: *** [/usr/share/linuxcnc/Makefile.modinc:124: 5axiskinsN.so] Error 1



 

Please Log in to join the conversation.

More
4 months 2 weeks ago #347043 by marq_torque
Ok, I found my one mistake. i was trying to compile "5axiskin.c" but it didnt work so after reading more, I found there is "userkins.comp" file need to be compiled. so i edited file as per attachment and getting error as per screenshot.


 

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
4 months 2 weeks ago #347080 by Aciera
1. As you have already found out 'halcompile' will not work with all .c files. A 'run-in-place' (RIP) installation would be required here.
2. .comp files have their own syntax, so you cannot simply copy-paste the code from a .c file into a .comp file.

Please Log in to join the conversation.

More
4 months 1 week ago #347274 by marq_torque
Hello Aceiera,

Can you help modifying this Kinematics which I can compile as .comp file, I'm Total noob to understand RIP installation.

Any documentation or guide, for RIP in 2.9.8.


Thanks in advance

Please Log in to join the conversation.

More
4 months 1 week ago #347279 by Aciera
For a simple example of a switchable kinematics component see:
github.com/LinuxCNC/linuxcnc/blob/master...onents/millturn.comp
This is the kinematics used in the simulation config at 'configs/sim/axis/vismach/millturn'

For a more complex but fully documented example that might even cover your use case this might be of interest:
forum.linuxcnc.org/show-your-stuff/49103...-head?start=0#271334
The two kinematic models presented in the zip folder attached to the above post can do a fair bit more than what you need but together with the documentation it will give you an in depth introduction on how to build your own kinematic components.



For documentation on building linuxcnc on your local machine (RIP):
linuxcnc.org/docs/html/code/building-linuxcnc.html

Please Log in to join the conversation.

Time to create page: 0.250 seconds
Powered by Kunena Forum