Barcode scanning to run gcode

More
10 years 7 months ago #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

Please Log in to join the conversation.

More
10 years 7 months ago #72485 by BigJohnT
The axis-remote script can load a file.

What is the mach link for?

JT

Please Log in to join the conversation.

More
10 years 6 months ago #72504 by perra_e
The mach link is a demo of a barcode plugin in Mach3
--Per

Please Log in to join the conversation.

More
10 years 6 months ago #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 to join the conversation.

More
10 years 6 months ago #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?

Please Log in to join the conversation.

More
10 years 6 months ago #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.
Code:
if axis-remote -p; then axis-remote the-file-i-want; fi

JT

Please Log in to join the conversation.

More
10 years 6 months ago #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 to join the conversation.

More
10 years 6 months ago #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 to join the conversation.

More
10 years 6 months ago #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 to join the conversation.

More
10 years 6 months ago #72611 by BigJohnT

beltramidave wrote: 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 to join the conversation.

Time to create page: 0.223 seconds
Powered by Kunena Forum