gridprobe problem

More
20 Jun 2012 06:05 - 20 Jun 2012 06:07 #21137 by Revilo
gridprobe problem was created by Revilo
hey there!

After running gridprobe.ngc, the values are written in a .txt file.
is it possible to transfer them directly into my program so that the z-values will be corrected automatically?


greetz
Last edit: 20 Jun 2012 06:07 by Revilo.

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

More
20 Jun 2012 15:52 #21152 by andypugh
Replied by andypugh on topic Re:gridprobe problem
Revilo wrote:

After running gridprobe.ngc, the values are written in a .txt file.
is it possible to transfer them directly into my program so that the z-values will be corrected automatically?


Are you trying to correct for a non-flat workpiece?

If you google for "probekins" you might find some interesting pointers. This is a "partially solved" problem.
The main link would be: wiki.linuxcnc.org/cgi-bin/wiki.pl?ProbeKins

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

More
25 Jun 2012 11:27 #21287 by Revilo
Replied by Revilo on topic Re:gridprobe problem
Ok, thx. this is definitely a help.

my other problem is:

i built a spinbox with pyvcp for typing in some values. now i want linuxcnc to integrate it in my g-code. is this possible somehow?

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

More
25 Jun 2012 12:33 #21289 by BigJohnT
Replied by BigJohnT on topic Re:gridprobe problem
It might be possible but that depends on the function of the spinbox... so far not enough information has been revealed to answer your question.

John

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

More
25 Jun 2012 13:04 #21294 by andypugh
Replied by andypugh on topic Re:gridprobe problem
Revilo wrote:

i built a spinbox with pyvcp for typing in some values. now i want linuxcnc to integrate it in my g-code. is this possible somehow?

Probably. Typically you would connect the spinbox output to the analogue-input pins (motion,analog-in-00 etc) which are then readable from G-code with an M66 command.
(There are rather more layers than you might expect)
www.linuxcnc.org/docs/html/gcode/m-code....ec:M66-Input-Control
www.linuxcnc.org/docs/html/config/emc2hal.html#_pins
www.linuxcnc.org/docs/html/hal/intro.html

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

More
25 Jun 2012 13:58 #21298 by Revilo
Replied by Revilo on topic Re:gridprobe problem
oh i didnĀ“t know that there are input wich can be read by a g-command. that makes the whole thing much easier.

thanks a lot :woohoo:

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

More
13 Jul 2012 05:51 #21862 by Revilo
Replied by Revilo on topic Re:gridprobe problem
Hey guys,

i was trying it with probekins.
after i installed it, i was trying to execute probekins but my console brings an input error "no module named voronoi".
if i am searching in my console for "probe2stl" in the same folder i installed and compiled probekins, he cant find any file.

also i dont understand completely what probekins is and what it is doing.


greetz

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

More
13 Jul 2012 10:57 #21868 by andypugh
Replied by andypugh on topic Re:gridprobe problem
Revilo wrote:

also i dont understand completely what probekins is and what it is doing.


In LinuxCNC kinematics modules convert the XYZ positions from G-code into "joint" positions. Typically a joint is a machine slideway and motor, but can be the elbow of a robot, or the length of a string or the extension of a hydraulic cylinder, for example.
Most machines are laid out so that the axes and joints correspond 1 to 1. These are called "trivial kinematics" machines. An example of a very non-trivial kinematics machine would be a hexapod. (nice example here:
)

Probekins is for a machine where the Z-height varies because the table or work is not flat. It allows you to probe the work or the table, build an STL file to describe the shape of the table or work, and then the Z axis will track at a constant height above the work as XY change.

That might or might not be what you want to do.

probe2stl is here: git.mah.priv.at/gitweb/emc2-dev.git/blob...ematics/probe2stl.py

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

Time to create page: 0.071 seconds
Powered by Kunena Forum