DIY Arduino ATC Pathpilot....

More
4 years 9 months ago #232922 by Vmax549
I get an error message when I load/compile the source into the Arduino has anyone ran this code ??

(;-)

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

More
4 years 9 months ago #232940 by Vmax549
OK I fixed the error(my fault) verified the sketch loaded the shetch. Ran the serial monitor and the Arduino reponded ok.
I did set the VID and PID in the rules file to my Arduino values
Plugged in to PP and set it to ATC in the setting page.
PP did not see the Arduino as the Arduino never flashed the TX or RX leds so it never pinged it to check for IDs.
PP then reset back to manual tool change.

ANY ideas on how to get it to work from here ??

(;-) TP

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

More
4 years 9 months ago - 4 years 9 months ago #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: 4 years 9 months ago by snowgoer540.

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

More
4 years 9 months ago #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
4 years 9 months ago #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
4 years 9 months ago #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.

Time to create page: 0.068 seconds
Powered by Kunena Forum