Auto tool setup
3.39v open
Please Log in or Create an account to join the conversation.
3.39v open
Please Log in or Create an account to join the conversation.
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
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
Please Log in or Create an account to join the conversation.
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.
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.
No luck with the testing. I thought I sent the hal file...oops
Adrian
Please Log in or Create an account to join the conversation.
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?
Are you saying there is no change at pin 13 in Hal WATCH with contact and no contact ?No luck with the testing
If still no luck try the same on another input pin such as 10, 11, 12 or 15.
Rick G
Please Log in or Create an account to join the conversation.
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.
Possibly a bad buffer chip on pin 13.
What is nice is they are replaceable and just plug in.
Rick G
Please Log in or Create an account to join the conversation.