about probe

More
19 Jul 2011 00:47 #11625 by KobeYang
about probe was created by KobeYang
Hi all,
I use a mesa hm2-5i20 (fireware:5I20_SVST8_3P.BIT,the pin configuration as shown in attachment)to control a 3 axis mill ,and i need a high resolution probe.Does I need to "net probe_test hm2_[HOSTMOT2](BOARD).0.gpio.071.in => JOYJB200.probesign hm2_[HOSTMOT2](BOARD).0.encoder.00.latch-enable hm2_[HOSTMOT2](BOARD).0.encoder.01.latch-enable hm2_[HOSTMOT2](BOARD).0.encoder.02.latch-enable "?

Thanks

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

More
19 Jul 2011 00:49 #11626 by KobeYang
Replied by KobeYang on topic Re:about probe
pin configuration

File Attachment:

File Name: 5I20_SVST8_3P.txt
File Size:7 KB
Attachments:

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

More
19 Jul 2011 07:47 #11629 by andypugh
Replied by andypugh on topic Re:about probe
KobeYang wrote:

Hi all,
I use a mesa hm2-5i20 (fireware:5I20_SVST8_3P.BIT,the pin configuration as shown in attachment)to control a 3 axis mill ,and i need a high resolution probe.Does I need to "net probe_test hm2_[HOSTMOT2](BOARD).0.gpio.071.in => JOYJB200.probesign hm2_[HOSTMOT2](BOARD).0.encoder.00.latch-enable hm2_[HOSTMOT2](BOARD).0.encoder.01.latch-enable hm2_[HOSTMOT2](BOARD).0.encoder.02.latch-enable "?


It isn't usual to involve the encoder latches in probing. If the encoder is wired to gpio.071 then it would just be:

net probe_input hm2_[HOSTMOT2](BOARD).0.gpio.071.in => motion.probe-input

That is all that is required for G38 probing.

Are you trying to zero the axes when the probe touches? It seems to me that you can't zero every axis from one probe event, as the axis to be zeroed depends on the direction of motion of the probe.

Can you give us a bit more detail on what you wish to do?

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

More
19 Jul 2011 09:28 #11633 by KobeYang
Replied by KobeYang on topic Re:about probe
I want to use a joystick to control the 3 axis mill to do high resolution probe touch.But I don't know how to configure it and get the probe data ?

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

More
19 Jul 2011 09:45 #11634 by andypugh
Replied by andypugh on topic Re:about probe
In that case, as the machine will not be in auto mode at the time, you can link the probe pin to an MDI_COMMAND
details here: linuxcnc.org/docs/html/gui_halui.html#sub:MDI
In the INI file, in the [HALUI] section
MDI_COMMAND (debug, X = #5420 Y = #5421 Z = #5422)
in the HAL file
net probe-touch hm2_[HOSTMOT2](BOARD).0.gpio.071.in => halui.mdi-command-00

Not that that way of accessing X Y and Z is a feature only available in v2.5. if you need to do it in 2.4 then it is a little more complicated.
You might also want to use (log, ..) rather than (debug, ) to output the data to file.

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

More
19 Jul 2011 10:26 #11637 by KobeYang
Replied by KobeYang on topic Re:about probe
there is a post shown in "git.linuxcnc.org/gitweb?p=emc2.git;a=com...5c459182cbb75af9732f"
the version 2.4.6 doesn't support it now?

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

More
19 Jul 2011 11:28 #11639 by andypugh
Replied by andypugh on topic Re:about probe
Sorry, I mean that #5420 to return the X coordinate (and that is from memory, and could be wrong) is a 2.5 feature (also from memory, and could be wrong).

I know nothing about latch-on-probe, that is new to me.

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

More
19 Jul 2011 11:37 #11640 by KobeYang
Replied by KobeYang on topic Re:about probe
Thanks a lot

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

More
19 Jul 2011 14:11 - 19 Jul 2011 14:12 #11649 by PCW
Replied by PCW on topic Re:about probe
I think KobeYang has a config with a hardware probe input pin. This pin latches all encoder counters on a selectable edge of the probe input. Unfortunately there is no EMC2 support for this feature so the standard software probe routine must be used limiting encoder count sampling resolution to the servo thread period.
Last edit: 19 Jul 2011 14:12 by PCW. Reason: sp

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

More
20 Jul 2011 00:44 #11667 by KobeYang
Replied by KobeYang on topic Re:about probe

File Attachment:

File Name: 5i20-c8056...39c1.ini
File Size:5 KB
Yes,I have a Renishaw touch probe,I want to use a joystick to control the 3 axis mill to do probe touch.I read the post git.linuxcnc.org/gitweb?p=emc2.git;a=com...5c459182cbb75af9732f and git.linuxcnc.org/gitweb?p=hostmot2-firmw...63f6f7dfdc0c25ebb8ca .It seems that EMC2 supports the high resolution probe.then I link the extern probe signal to gpio 71(as shown in pin configuration) and "net probe_test hm2_[HOSTMOT2](BOARD).0.gpio.071.in => hm2_[HOSTMOT2](BOARD).0.encoder.00.latch-enable hm2_[HOSTMOT2](BOARD).0.encoder.01.latch-enable hm2_[HOSTMOT2](BOARD).0.encoder.02.latch-enable ",finally I get the probe data from "hm2_[HOSTMOT2](BOARD).0.encoder.00.position-latched hm2_[HOSTMOT2](BOARD).0.encoder.01.position-latched hm2_[HOSTMOT2](BOARD).0.encoder.02.position-latched ",but I don't know whether the configure is correct?my configuation as shown in attachment .
Attachments:

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

Time to create page: 0.078 seconds
Powered by Kunena Forum