Barcode scanning to run gcode

More
15 Mar 2016 11:00 - 23 Apr 2016 13:33 #71673 by eFalegname
Hi guys, I'm looking for any info to open Gcode by a barcode scanner to avoid mistakes loading in Axis the wrong program to machine and reduce the setup times. It seems there is not any post about the way to go about this.
I'm sure Ubuntu can interfaces with the barcode scanner but I have not idea how automate the loading process. Any help will be appreciate.
www.machsupport.com/wp-content/uploads/2013/04/BarCodeVid.swf
Last edit: 23 Apr 2016 13:33 by eFalegname.

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

More
31 Mar 2016 18:33 #72485 by BigJohnT
The axis-remote script can load a file.

What is the mach link for?

JT

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

More
01 Apr 2016 05:50 #72504 by perra_e
The mach link is a demo of a barcode plugin in Mach3
--Per

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

More
01 Apr 2016 06:55 #72508 by eFalegname
Right now I have even more doubts:
-Where I could download the axis-remote script for linuxcnc 2.7.4?
I found the axis-remote (-R) extend script by ArcEye, but it is for the 2.6.3 version.
Thank you

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

More
01 Apr 2016 07:10 - 01 Apr 2016 11:22 #72509 by eFalegname
UPDATE:
Ok guys, I managed to open the Gcode in Axis by the command axis-remote path/gcode.ngc in the terminal. Now I should just start it in a unique action with the help of the barcode scanner.
I want to point the scanner, load and run the gcode in one action.
Any idea?
Last edit: 01 Apr 2016 11:22 by eFalegname.

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

More
02 Apr 2016 11:53 #72562 by BigJohnT
I'm guessing by now you figured out axis-remote is part of LinuxCNC... you could use a bash script to capture the scanned data and run axis-remote. Also from a terminal if you do axis-remote --help. You might also use a Python script to run axis-remote.
if axis-remote -p;
then axis-remote the-file-i-want;
fi

JT
The following user(s) said Thank You: eFalegname

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

More
03 Apr 2016 02:22 #72604 by beltramidave
I have done this using Linuxcnc, don't know about Mach.
Basically, to open the gcode file, create a barcode from the gcode filename and put a lowercase o in front of it.
ex: otest.ngc

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

More
03 Apr 2016 10:08 #72608 by eFalegname
Ok now I understood how to open the gcode file with axis remote script, but what I still don't get is how to run it right away.
beltramidave: can you explain yourself better? step by step so we can understand, what programs did you use..

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

More
03 Apr 2016 10:44 #72610 by eFalegname
..JT, another thing I noticed is that I should not have spaces in the name of the gcode file to open it by the python script.

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

More
03 Apr 2016 10:47 #72611 by BigJohnT

I have done this using Linuxcnc, don't know about Mach.
Basically, to open the gcode file, create a barcode from the gcode filename and put a lowercase o in front of it.
ex: otest.ngc


What does the "o" do?

JT

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

Time to create page: 0.076 seconds
Powered by Kunena Forum