DIY Arduino ATC Pathpilot....

More
24 Jan 2022 12:15 - 24 Jan 2022 12:30 #232951 by snowgoer540
You need to put a rules file for the arduino in the rules folder.  If you haven’t done that then it won’t recognize it.

somewhere out here there’s an example of how to do that for the usbio clones.  I’m at work currently so I can’t be more helpful than that at the moment…

edit:  I see the rules file was part of my post, perhaps the contexts of the rules file needs to change to match your specific arduino board…?
Last edit: 24 Jan 2022 12:30 by snowgoer540.

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

More
24 Jan 2022 15:06 #232970 by Vmax549
I did add the new rules file and changed the IDs to match my device. The error message I get said that PP could not open the com port. I have looked but not really found any reference to which port it is trying to open yet (;-) Still looking through the code.

(;-) TP

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

More
24 Jan 2022 22:38 #233022 by Vmax549
Here is the error I get when PP looks for teh Arduino.
2022-01-24 16:20:49.138303 CST (+0:00:04.008069) | ATC: i/o error Traceback (most recent call last):
File "python/hal_zbotatc.py", line 1018, in connect_to_device_thread
self.atc_s_cmd = serial.Serial("/dev/zbot_atc", baudrate=57600, timeout=0)
File "/usr/local/lib/python2.7/dist-packages/serial/serialutil.py", line 236, in __init__
self.open()
File "/usr/local/lib/python2.7/dist-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
SerialException: [Errno 2] could not open port /dev/zbot_atc: [Errno 2] No such file or directory: '/dev/zbot_atc'
[python/hal_zbotatc.py:1255]
2022-01-24 16:20:49.145704 CST (+0:00:00.007401) | ATC: device not found [python/hal_zbotatc.py:1069]
2022-01-24 16:21:03.145798 CST (+0:00:14.673367) | Check ATC USB cabling, or fuses. Switching mill to manual toolchange. Repair problem. To re-enable, click ATC in Settings tab. [tormach_mill_ui.py:8194]
2022-01-24 16:21:03.154095 CST (+0:00:00.008297) | Tool change type changed to Manual [/home/operator/v2.8.3/python/ui_settings_mill.py:136]

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

More
24 Jan 2022 22:48 #233025 by snowgoer540
Without trying to muddle through it at the machine, it's hard for me to say.  

But perhaps there is something here that will help:  xoomspeed.com/CNC/usbio/installation.htm

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

More
25 Jan 2022 00:06 #233027 by Vmax549
Tried that and get the same error. PP is looking for something it cannot find.

(;-) TP

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

More
25 Jan 2022 00:07 #233028 by Vmax549
Remember this is a NON Tormach machine and it does NOT have the atc card and it appears to be looking for it but cannot find it.

(;-) TP

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

More
25 Jan 2022 12:41 #233057 by snowgoer540
Oh, I'm not sure I knew that.  Unfortunately, I'm not sure I can be much help in that case, hopefully someone who has gotten it to work chimes in.

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

More
25 Jan 2022 16:42 #233084 by Vmax549
Update minor progress. I worked on the rules a bit and got PP to ping the Arduino and the Arduino signals back but PP does not like what it says so it shuts the ATC mode back down. Not having any idea what PP is looking for when it pings the Arduino make it tuff to figure this out.

The Arduino is working as I can talk to it with the Arduino IDE serial monitor. I can ping it with VE and get the responce.info back.

So now to figure out what PP did not like when looking for the ATC.

(;-) TP
The following user(s) said Thank You: snowgoer540

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

More
25 Jan 2022 20:48 #233103 by Vmax549
Snow do you know IF any of teh pins on the Arduino need to be jumpered to emulate the ATC is ready to run. I see in the PP atc code IF anything is not reporting as correct then PP shuts down the ATC function all together. Things like PDB or VFD not responding. ONCE I get PP talking to the Arduino then I can figure out the rest maybe (;-). At this point I am not sure if it is a comm issue or a setup issue with hardware.

Perhaps you could check with your friend who wrote all the code. He seemed to make it work.

(;-) TP

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

More
26 Jan 2022 01:48 #233138 by snowgoer540
I fired off an email, will report back if he replies

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

Moderators: cncbasher
Time to create page: 0.137 seconds
Powered by Kunena Forum