Auto tool setup
21 Jun 2015 10:41 #60027
by awilcox
Auto tool setup was created by awilcox
Hi all,
I am trying to setup a probe for auto tool zeroing but I am not have much success.
My setup is as follows:
Joes 4x4 machine
Running linuxcnc 2.5
C10, rev 7 breakout board
Connection:
wire #1 from the tool to port 13 on bob
2.2k ohm resistor from port 13 to 5v
wire #2 from touch plate to board ground
I used the hal meter to test it but there was no response after touching the plate to the tool. I checked the voltage between port 13 and 5v connection and it read 2.1v. I checked the voltage again with the plate touching the tool and it read 6.3v
What am I missing?
I am trying to setup a probe for auto tool zeroing but I am not have much success.
My setup is as follows:
Joes 4x4 machine
Running linuxcnc 2.5
C10, rev 7 breakout board
Connection:
wire #1 from the tool to port 13 on bob
2.2k ohm resistor from port 13 to 5v
wire #2 from touch plate to board ground
I used the hal meter to test it but there was no response after touching the plate to the tool. I checked the voltage between port 13 and 5v connection and it read 2.1v. I checked the voltage again with the plate touching the tool and it read 6.3v
What am I missing?
Please Log in or Create an account to join the conversation.
21 Jun 2015 13:45 - 21 Jun 2015 14:01 #60031
by Rick G
Replied by Rick G on topic Auto tool setup
With that set up you should have around 5 volts between 13 and board ground when not touching and around 0 volts when touching.
Try using...
Hal configuration
Watch
and select pin 13
linuxcnc.org/docs/html/hal/basic_hal.html
The state of the pin should change between contact of the tool and no contact.
Rick G
Try using...
Hal configuration
Watch
and select pin 13
linuxcnc.org/docs/html/hal/basic_hal.html
The state of the pin should change between contact of the tool and no contact.
Rick G
Last edit: 21 Jun 2015 14:01 by Rick G.
The following user(s) said Thank You: awilcox
Please Log in or Create an account to join the conversation.
21 Jun 2015 20:07 #60036
by awilcox
Replied by awilcox on topic Auto tool setup
Thanks Rick, I will give it a try later today and report back.
Adrian
Adrian
Please Log in or Create an account to join the conversation.
21 Jun 2015 21:23 #60037
by Rick G
Replied by Rick G on topic Auto tool setup
Be sure to connect the pin in hal to the probe input
wiki.linuxcnc.org/cgi-bin/wiki.pl?Touch_Probe
Some other info...
github.com/araisrobo/linuxcnc/blob/maste...ool-length-probe.ngc
softsolder.com/2010/04/14/emc2-ugliest-t...-probe-station-ever/
Rick G
wiki.linuxcnc.org/cgi-bin/wiki.pl?Touch_Probe
Some other info...
github.com/araisrobo/linuxcnc/blob/maste...ool-length-probe.ngc
softsolder.com/2010/04/14/emc2-ugliest-t...-probe-station-ever/
Rick G
Please Log in or Create an account to join the conversation.
22 Jun 2015 04:34 #60043
by awilcox
Replied by awilcox on topic Auto tool setup
Rick,
I setup the hal configuration but the signal doesn't does not chI changed the board ground to the gnd/com connection between pin 8/9. The voltage read 5v connected and 1.9v disconnected. Not sure where to go from here.
I setup the hal configuration but the signal doesn't does not chI changed the board ground to the gnd/com connection between pin 8/9. The voltage read 5v connected and 1.9v disconnected. Not sure where to go from here.
Please Log in or Create an account to join the conversation.
22 Jun 2015 14:55 #60052
by Rick G
Replied by Rick G on topic Auto tool setup
From your first post it looks like you wired the tool probe as shown here on page 11...
cnc4pc.com/Tech_Docs/C10R8_User_Manual.pdf
Not sure what is different from Rev. 7 and Rev. 8.
Did you test this set up?
To use pins 2-9 as inputs you have to set a jumper selecting input or output.
Rick G
cnc4pc.com/Tech_Docs/C10R8_User_Manual.pdf
Not sure what is different from Rev. 7 and Rev. 8.
Did you test this set up?
To use pins 2-9 as inputs you have to set a jumper selecting input or output.
Rick G
Please Log in or Create an account to join the conversation.
22 Jun 2015 16:38 #60053
by awilcox
Replied by awilcox on topic Auto tool setup
I usedthat exact setup for the probe. I also tested that setup in hal but the signal didn't respond when I touched the ends together. I got different measurements on the multimeter when I touched the wires together.
I am missing something but I can't put my finger on it.
I am going to switch to pin 15 and see if it makes a difference. Pins 2-9 are used as outputs.
Rev 7 board doesn't have the option to switch ground/5v on output pins.
I am missing something but I can't put my finger on it.
I am going to switch to pin 15 and see if it makes a difference. Pins 2-9 are used as outputs.
Rev 7 board doesn't have the option to switch ground/5v on output pins.
Please Log in or Create an account to join the conversation.
22 Jun 2015 18:15 #60055
by Rick G
Let's just start with the hardware.
When set up as shown on page 11 what voltages on your voltmeter did you get between pin 13 and ground with and without contact?
In linuxcnc you need to use an input pin for the probe and connect it in hal.
Rick G
Replied by Rick G on topic Auto tool setup
What were they?I got different measurements on the multimeter when I touched the wires together.
Let's just start with the hardware.
When set up as shown on page 11 what voltages on your voltmeter did you get between pin 13 and ground with and without contact?
In linuxcnc you need to use an input pin for the probe and connect it in hal.
Rick G
Please Log in or Create an account to join the conversation.
22 Jun 2015 21:52 #60061
by awilcox
Replied by awilcox on topic Auto tool setup
I will take that measurement when I get home. I took them across pin 13 and 5v...mistake #1
Please Log in or Create an account to join the conversation.
23 Jun 2015 08:08 #60077
by awilcox
Replied by awilcox on topic Auto tool setup
Rick 9v open and 0v closed.
The syntax for hal pin is slightly different that the example below.
From my hal:
net probe in => motion.probe-input
The syntax for hal pin is slightly different that the example below.
From my hal:
net probe in => motion.probe-input
Please Log in or Create an account to join the conversation.
Time to create page: 0.071 seconds