LinuxCNC Toolsetter config

More
9 years 10 months ago #84741 by timmert
Hi

I have a auto toolsetter for my mill that's using pin
tool measuring: IN11
tool setter limit: IN12
on my MESA board.

But I really have no idea how to set it up further and what would be the best way to achieve this?

It's one like this (the little one)
toolsensor.com/products/product_t/

Please Log in to join the conversation.

More
9 years 10 months ago #84772 by andypugh
Replied by andypugh on topic LinuxCNC Toolsetter config
take a look at the sample config:
sim/axis/remap/manual-toolchange-with-tool-length-switch

Please Log in to join the conversation.

More
9 years 9 months ago #85415 by timmert
Replied by timmert on topic LinuxCNC Toolsetter config
thanks for the information
I checked the sample but I'm not sure how to get it working.

I also don't have an idea how to set it up in my .hal file.

Please Log in to join the conversation.

More
9 years 9 months ago #85464 by timmert
Replied by timmert on topic LinuxCNC Toolsetter config
Ok I added this to my HAL file:

net probe-in => hm2_5i25.0.7i76.0.0.input-11

When I startup LCNC and check with the hall meter the probe is on TRUE
When I press the probe with my finger it changes to FALSE

Should it be this way? Or should I change it so it's FALSE and TRUE (when pressed in)

The setter limit is on pin 12. Is this being used?

Edit

Changed it so it's false and true (while being pressed)

Edit 2

Did a test probe with the example ngc file.
Z going down slowly, but when I press the probe with my finger (don't want to crash the endmill into the probe haha). Nothing happens, Z keeps going.

Please Log in to join the conversation.

More
9 years 9 months ago #85521 by timmert
Replied by timmert on topic LinuxCNC Toolsetter config
I use Gmoccapy as UI. But I'm not using the gmocappy tool setting method.
To make sure Gmoccapy is not the reason it's not working, I switched to Axis. But I get the same result.
Pressing the probe changes the status from false to true. But when I use the ngc the Z keeps going down, even if I press the probe

Please Log in to join the conversation.

More
9 years 9 months ago #85538 by timmert
Replied by timmert on topic LinuxCNC Toolsetter config
There is a second sensor (pin 12) that's the limit of the setter
I changed the HAL file so it will be using this sensor instead of the pin 11 sensor. Just for testing.
But no positive results so far.

I can see the switch is working fine with HAL-meter.
But LinuxCNC doesn't respond to the probe in.

Please Log in to join the conversation.

More
9 years 9 months ago #85541 by tommylight
If it is working in hal, there is something fuzzy with the ngc. Post it here so we can have a look.

Please Log in to join the conversation.

More
9 years 9 months ago #85542 by timmert
Replied by timmert on topic LinuxCNC Toolsetter config
I use this and insert the commands per line in the MDI. First I home the machine and make sure a tool is loaded

softsolder.com/2010/04/14/emc2-ugliest-t...-probe-station-ever/

O<Probe_Init> SUB

G49 ( clear tool length compensation)
G30 ( to probe switch)
G91 ( relative mode for probing)

G38.2 Z-90 F300 ( trip switch on the way down)
G0 Z1 ( back off the switch)
G38.2 Z-10 F10 ( trip switch slowly)

#<_ToolRefZ> = #5063 ( save trip point)

G90 ( absolute mode)
G30 ( return to safe level)

O<Probe_Init> ENDSUB

Please Log in to join the conversation.

More
9 years 9 months ago #85559 by timmert
Replied by timmert on topic LinuxCNC Toolsetter config
I checked both Signal and Pins from the HAL meter again.
But it's working fine

The setter is not the problem. But somehow LinuxCNC doesn't pick it up?

Please Log in to join the conversation.

More
9 years 9 months ago #85653 by timmert
Replied by timmert on topic LinuxCNC Toolsetter config
Seems like a difficult problem haha
Could it be wrong information in my .ini or .hal file?

Please Log in to join the conversation.

Time to create page: 0.454 seconds
Powered by Kunena Forum