LinuxCNC Toolsetter config
27 Dec 2016 09:53 #84741
by timmert
LinuxCNC Toolsetter config was created 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/
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 or Create an account to join the conversation.
27 Dec 2016 22:51 #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
sim/axis/remap/manual-toolchange-with-tool-length-switch
Please Log in or Create an account to join the conversation.
07 Jan 2017 19:03 #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.
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 or Create an account to join the conversation.
08 Jan 2017 12:30 - 08 Jan 2017 13:12 #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.
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.
Last edit: 08 Jan 2017 13:12 by timmert.
Please Log in or Create an account to join the conversation.
09 Jan 2017 16:55 #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
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 or Create an account to join the conversation.
09 Jan 2017 19:06 #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.
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 or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19274
- Thank you received: 6451
09 Jan 2017 19:14 #85541
by tommylight
Replied by tommylight on topic LinuxCNC Toolsetter config
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 or Create an account to join the conversation.
09 Jan 2017 19:16 - 09 Jan 2017 19:19 #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
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
Last edit: 09 Jan 2017 19:19 by timmert.
Please Log in or Create an account to join the conversation.
10 Jan 2017 11:03 #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?
But it's working fine
The setter is not the problem. But somehow LinuxCNC doesn't pick it up?
Please Log in or Create an account to join the conversation.
12 Jan 2017 14:23 #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?
Could it be wrong information in my .ini or .hal file?
Please Log in or Create an account to join the conversation.
Time to create page: 0.145 seconds