Auto tool setup

More
23 Jun 2015 08:09 #60078 by awilcox
Replied by awilcox on topic Auto tool setup
Correction
3.39v open

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

More
23 Jun 2015 08:36 #60080 by awilcox
Replied by awilcox on topic Auto tool setup
Correction
3.39v open

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

More
23 Jun 2015 17:25 - 23 Jun 2015 17:35 #60084 by Rick G
Replied by Rick G on topic Auto tool setup
From Touch probe link...

You can choose any input-mode parallel port pin--10, 11, 12, 13, or 15. connect it in your hal file with a line like

net probe parport.0.pin-10-in => motion.probe-input

If the signal is inverted (starts at 5V when probe is not in contact, goes to 0V when the probe makes contact), then use the inverted version of the pin:

net probe parport.0.pin-10-in-not => motion.probe-input


In your case if using pin 13 substitute 13 for 10
net probe parport.0.pin-13-in-not => motion.probe-input
There needs to be line like that somewhere in your hal file that selects pin 13.

First to make sure the signal is working go to
hal configuration
Watch
select par port pin 13
and make sure it's state changes when the contact is open or closed. Be sure to do this in "Watch"

Then make sure your hal file selects pin 13 or edit it so it does.
Perhaps post your hal file here so we can check it.



Rick G
Last edit: 23 Jun 2015 17:35 by Rick G.

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

More
23 Jun 2015 20:22 #60089 by awilcox
Replied by awilcox on topic Auto tool setup
Rick,
I input that exact string into my hal file and got an error. I chkd the spelling and it was correct. I can post a full file and error msg this evening when I get home.

Adrian

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

More
24 Jun 2015 00:05 #60094 by Rick G
Replied by Rick G on topic Auto tool setup
Yes post your files.

Run the test above to make sure the signal is getting to linuxcnc on par port pin 13. The hal files does not need to be edited to test the pin.

Rick G

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

More
27 Jun 2015 07:31 #60175 by awilcox
Replied by awilcox on topic Auto tool setup
Rick,

No luck with the testing. I thought I sent the hal file...oops


Adrian
Attachments:

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

More
27 Jun 2015 13:34 - 27 Jun 2015 13:41 #60179 by Rick G
Replied by Rick G on topic Auto tool setup
Starting with the hardware.

Start at the power supply connections, make sure you have 5 volts there.
If there is an enable connection make sure it is properly connected.

Without the resistor connected is there 5 volts at the 5 volt connector you are using for the probe?

No luck with the testing

Are you saying there is no change at pin 13 in Hal WATCH with contact and no contact ?
If still no luck try the same on another input pin such as 10, 11, 12 or 15.

Rick G
Last edit: 27 Jun 2015 13:41 by Rick G.

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

More
28 Jun 2015 11:14 #60211 by awilcox
Replied by awilcox on topic Auto tool setup
EUREKA!, we have activity in the halscope!

I verified the voltage at the recommended locations and everything checked out. The halscope still had no activity. I then switched to pin 15 and everything worked. I don't know why, but it worked.
Tomorrow I will begin to learn the how to use the auto tool length code.

Thanks Rick for your patience and awesome advice.

Adrian

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

More
28 Jun 2015 13:15 #60213 by Rick G
Replied by Rick G on topic Auto tool setup
Glad you got it sorted out.

Possibly a bad buffer chip on pin 13.
What is nice is they are replaceable and just plug in.

Rick G
The following user(s) said Thank You: awilcox

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

Time to create page: 0.188 seconds
Powered by Kunena Forum