Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate CNC with barcode #1207

Closed
kikirikiki opened this issue Mar 27, 2019 · 5 comments
Closed

Automate CNC with barcode #1207

kikirikiki opened this issue Mar 27, 2019 · 5 comments
Labels

Comments

@kikirikiki
Copy link

Feature request

Hi, I would like to automate the process of my CNC.
I would like to start a g-code from a Raspberri Pi with a barcode or QR-Code. Is there any way to do it? Any idea how I could do it? is it possible?

Thank you very much!!

@breiler
Copy link
Collaborator

breiler commented Mar 27, 2019

Do you have any programming experience?

In that case there is a web based API available that you could hook into from an external program. It's currently a bit limited. Have a look here: https://github.com/winder/Universal-G-Code-Sender/blob/master/ugs-core/src/com/willwinder/universalgcodesender/pendantui/PendantUI.java

I'm currently working on a new version of an API in #1203. If that gets merged you could pretty much automate a complete workflow using the API. Shortly after that I have a new feature where you can run UGS headless in a terminal which will probably be useful when running on a RPi (no popups, smaller memory footprint, etc.)

If you don't have any programming experience, I would say no - it's not possible. =)

@kikirikiki
Copy link
Author

And a simple way to do it? I want to automate 10 diferent G-Codes. I had the idea with a barcode, but another way would it work for it. Is there anyway to automatic start a G-Code between 10 diferent G-Codes? Would it work with a PLC? Any idea?

@breiler
Copy link
Collaborator

breiler commented Apr 1, 2019

You can run UGS from a terminal, it can take a filename as a parameter:
https://github.com/winder/Universal-G-Code-Sender/tree/master/ugs-cli

@kikirikiki
Copy link
Author

kikirikiki commented Apr 1, 2019

so, I could use a Raspberry Pi as a terminal with this programm, right? Sorry for my lack of programming knowledge

@breiler
Copy link
Collaborator

breiler commented Apr 3, 2019

Yes in theory it should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants