- Posts: 247
- Thank you received: 0
Barcode scanning to run gcode
- eFalegname
- Topic Author
- Offline
- Elite Member
-
Less
More
10 years 7 months ago #71673
by eFalegname
Barcode scanning to run gcode was created 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
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.
10 years 7 months ago #72485
by BigJohnT
Replied by BigJohnT on topic Barcode scanning to open gcode
The axis-remote script can load a file.
What is the mach link for?
JT
What is the mach link for?
JT
Please Log in to join the conversation.
10 years 6 months ago #72504
by perra_e
Replied by perra_e on topic Barcode scanning to open gcode
The mach link is a demo of a barcode plugin in Mach3
--Per
--Per
Please Log in to join the conversation.
- eFalegname
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 247
- Thank you received: 0
10 years 6 months ago #72508
by eFalegname
Replied by eFalegname on topic Barcode scanning to open gcode
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
-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.
- eFalegname
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 247
- Thank you received: 0
10 years 6 months ago #72509
by eFalegname
Replied by eFalegname on topic Barcode scanning to open gcode
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?
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.
10 years 6 months ago #72562
by BigJohnT
Replied by BigJohnT on topic Barcode scanning to open gcode
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.
JT
Code:
if axis-remote -p;
then axis-remote the-file-i-want;
fi
JT
Please Log in to join the conversation.
- beltramidave
- Offline
- Premium Member
-
Less
More
- Posts: 84
- Thank you received: 0
10 years 6 months ago #72604
by beltramidave
Replied by beltramidave on topic Barcode scanning to open gcode
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
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.
- eFalegname
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 247
- Thank you received: 0
10 years 6 months ago #72608
by eFalegname
Replied by eFalegname on topic Barcode scanning to open gcode
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..
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.
- eFalegname
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 247
- Thank you received: 0
10 years 6 months ago #72610
by eFalegname
Replied by eFalegname on topic Barcode scanning to open gcode
..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.
10 years 6 months ago #72611
by BigJohnT
What does the "o" do?
JT
Replied by BigJohnT on topic Barcode scanning to open gcode
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
