Barcode scanning to run gcode
- eFalegname
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 253
- Thank you received: 30
15 Mar 2016 11:00 - 23 Apr 2016 13:33 #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
Last edit: 23 Apr 2016 13:33 by eFalegname.
Please Log in or Create an account to join the conversation.
31 Mar 2016 18:33 #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 or Create an account to join the conversation.
01 Apr 2016 05:50 #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 or Create an account to join the conversation.
- eFalegname
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 253
- Thank you received: 30
01 Apr 2016 06:55 #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 or Create an account to join the conversation.
- eFalegname
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 253
- Thank you received: 30
01 Apr 2016 07:10 - 01 Apr 2016 11:22 #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?
Last edit: 01 Apr 2016 11:22 by eFalegname.
Please Log in or Create an account to join the conversation.
02 Apr 2016 11:53 #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
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.
- beltramidave
- Offline
- Elite Member
-
Less
More
- Posts: 174
- Thank you received: 4
03 Apr 2016 02:22 #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 or Create an account to join the conversation.
- eFalegname
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 253
- Thank you received: 30
03 Apr 2016 10:08 #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 or Create an account to join the conversation.
- eFalegname
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 253
- Thank you received: 30
03 Apr 2016 10:44 #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 or Create an account to join the conversation.
03 Apr 2016 10:47 #72611
by BigJohnT
What does the "o" do?
JT
Replied by BigJohnT 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
What does the "o" do?
JT
Please Log in or Create an account to join the conversation.
Time to create page: 0.093 seconds