Hi Everybody,
I was looking to try the levelling software with LinuxCNC 2.5.0
I'm having some difficulty getting the Jar file to run,
I've installed the Java enviroment, when I run the .jar file nothing happens,
Just seeking some help in getting it running.
Cheers Dave
Attempting to Run Autoleveller077.jar in LinuxCNC 2.5.0
-
- Posts: 3
- Joined: Mon Jan 27, 2014 5:55 am
Re: Attempting to Run Autoleveller077.jar in LinuxCNC 2.5.0
Hi Dave,
I will check later when I boot into Linux but you need java 1.7 or later installed.
at the console will tell you I think.
After that should work. As I said I'll check later.
I will check later when I boot into Linux but you need java 1.7 or later installed.
Code: Select all
java --version
After that
Code: Select all
java -jar Autoleveller077.jar
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.
http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.
-James
http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.
-James
-
- Posts: 3
- Joined: Mon Jan 27, 2014 5:55 am
Re: Attempting to Run Autoleveller077.jar in LinuxCNC 2.5.0
Hi,
I sorted out the Java Problem, with LinuxCNC. I had to uninstall an old version before it would let upgrade.
I've loaded the gcode using the Autolevel software, setup the probe input, which works okay using HAL.
The gcode runs the bit down to the copper and stops at line 23, with an error of P value out of range, with G10 L2 and L20.
Any help would be appreciated.
Cheers Dave
I sorted out the Java Problem, with LinuxCNC. I had to uninstall an old version before it would let upgrade.
I've loaded the gcode using the Autolevel software, setup the probe input, which works okay using HAL.
The gcode runs the bit down to the copper and stops at line 23, with an error of P value out of range, with G10 L2 and L20.
Any help would be appreciated.
Cheers Dave
Re: Attempting to Run Autoleveller077.jar in LinuxCNC 2.5.0
P0 doesn't seem to work in some versions of LinuxCNC. Try changing P to P1. That line should now be:
Code: Select all
G10 L20 P1 Z0
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.
http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.
-James
http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.
-James
-
- Posts: 3
- Joined: Mon Jan 27, 2014 5:55 am
Re: Attempting to Run Autoleveller077.jar in LinuxCNC 2.5.0
Hi,
Thanks for your responses so far,
I've updated to LinuxCNC 2.5.3 which has cleared the last errors which has stopped the code from running,
I've introduced a new bug however. The Z Axis no longer zero's when I press the home button. It seems to to go some random value. When I start linuxCNC from scratch the z axis does not start from zero which I haven't seen before.
I've done some googling and think it may have something to do with a tool offset,
any thoughts would be appreciated.
Cheers Dave
Thanks for your responses so far,
I've updated to LinuxCNC 2.5.3 which has cleared the last errors which has stopped the code from running,
I've introduced a new bug however. The Z Axis no longer zero's when I press the home button. It seems to to go some random value. When I start linuxCNC from scratch the z axis does not start from zero which I haven't seen before.
I've done some googling and think it may have something to do with a tool offset,
any thoughts would be appreciated.
Cheers Dave
Re: Attempting to Run Autoleveller077.jar in LinuxCNC 2.5.0
Im at work at the moment and dont have my linuxcnc to hand. However, off the top of my head, maybe your ini file got changed somehow. Here is an old backup of my_cnc.ini:
Z is [AXIS_2] and HOME should read 0.0. If yours is different then you might need to change the value.
Code: Select all
# Generated by stepconf at Sun Jan 6 10:47:33 2013
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
MACHINE = my-cnc
DEBUG = 0
[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.2
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/daedelus/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
PYVCP = custompanel.xml
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[RS274NGC]
PARAMETER_FILE = linuxcnc.var
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 76894
SERVO_PERIOD = 1000000
[HAL]
HALFILE = my-cnc.hal
HALFILE = custom.hal
HALUI = halui
POSTGUI_HALFILE = custom_postgui.hal
[HALUI]
MDI_COMMAND = G38.2 Z-20 F100
MDI_COMMAND = G10 L20 P0 Z1.54
MDI_COMMAND = G00 Z10
[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 0.51
MAX_LINEAR_VELOCITY = 5.08
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 4.6
MAX_ACCELERATION = 765.0
STEPGEN_MAXACCEL = 956.25
SCALE = 2560.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -0.001
MAX_LIMIT = 196.0
HOME_OFFSET = -3.5
HOME_SEARCH_VEL = -4.6
HOME_LATCH_VEL = 2.4
HOME_SEQUENCE = 1
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 4.82604299425
MAX_ACCELERATION = 765.0
STEPGEN_MAXACCEL = 956.25
SCALE = 2560.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = 0
MAX_LIMIT = 162
HOME_OFFSET = -3.5
HOME_SEARCH_VEL = -4.82604299425
HOME_LATCH_VEL = 2.4
HOME_SEQUENCE = 2
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 4.82604299425
MAX_ACCELERATION = 765.0
STEPGEN_MAXACCEL = 956.25
SCALE = 2560.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -70
MAX_LIMIT = 30
HOME_OFFSET = 3.5
HOME_SEARCH_VEL = 4.82604299425
HOME_LATCH_VEL = -2.4
HOME_SEQUENCE = 0
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.
http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.
-James
http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.
-James