Error code on exit

More
21 Jun 2019 14:39 #137494 by Vector459
Replied by Vector459 on topic Error code on exit
Okay I tried the settings in the bios like you suggested and it did not work same result same error.

Thanks

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

More
21 Jun 2019 14:41 #137495 by Vector459
Replied by Vector459 on topic Error code on exit
I figured out what it was I did not have my gamepad USB plugged in if I plug in my gamepad controller linuxcnc starts fine. But I do not use the controller and I did not think that would make linuxcnc not start? any ideas how I correct that as I don't even use the GamePad controller and I don't want to have to have it connected for linuxcnc to work properly.

Thank you so much for taking the time to help.

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

More
21 Jun 2019 15:09 #137496 by andypugh
Replied by andypugh on topic Error code on exit

I figured out what it was I did not have my gamepad USB plugged in if I plug in my gamepad controller linuxcnc starts fine.


That wasn't at all evident from the error messages you posted.

Is the gamepad configured by a separate HAL file? It seems likely that it is as I haven't noticed anything related to it in the files you have shown us.

if it is then you can just comment-out that HAL file in the [HAL] section of the INI file.

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

More
21 Jun 2019 15:22 #137498 by Vector459
Replied by Vector459 on topic Error code on exit
This is a cutom_postgui config in my folders:

# Include your customized HAL commands here
# The commands in this file are run after the AXIS GUI (including PyVCP panel) starts

loadrt or2 count=2
loadrt mux4 count=1
loadrt and2 count=4
loadrt not count=2
loadrt scale count=1
loadrt abs count=1
loadrt lowpass count=1

addf or2.0 servo-thread
addf or2.1 servo-thread
addf mux4.0 servo-thread
addf and2.0 servo-thread
addf and2.1 servo-thread
addf and2.2 servo-thread
addf and2.3 servo-thread
addf not.0 servo-thread
addf not.1 servo-thread
addf scale.0 servo-thread
addf abs.0 servo-thread
addf lowpass.0 servo-thread

# set the jog speed for the joypad
# this one must be 0 to prevent motion unless a button is pressed
setp mux4.0.in0 0
setp mux4.0.in1 .25
setp mux4.0.in2 10
setp mux4.0.in3 50

# the following does the magic of setting the jog speeds
net remote-speed-slow or2.0.in0 input.0.btn-x
net remote-speed-medium or2.1.in0 input.0.btn-a
net remote-speed-fast or2.0.in1 or2.1.in1 input.0.btn-b

net joy-speed-1 mux4.0.sel0 <= or2.0.out
net joy-speed-2 mux4.0.sel1 <= or2.1.out
net joy-speed-final halui.jog-speed <= mux4.0.out


net joy-x-jog halui.jog.0.analog <= input.0.abs-y-position
net joy-z-jog halui.jog.2.analog <= input.0.abs-rx-position

#sets button5 to toggle machine on & off
net machine-is-on halui.machine.is-on => and2.0.in0
net machine-is-on halui.machine.is-on => not.0.in
net not-machine-is-on not.0.out => and2.1.in0
net button5 input.0.btn-tr => and2.0.in1
net button5 input.0.btn-tr => and2.1.in1
net machineOff and2.0.out => halui.machine.off
net machineOn and2.1.out => halui.machine.on


#sets button7 to toggle estop on & off
net estop-is-on halui.estop.is-activated => and2.2.in0
net estop-is-on halui.estop.is-activated => not.1.in
net not-estop-is-on not.1.out => and2.3.in0
net button7 input.0.btn-tl => and2.2.in1
net button7 input.0.btn-tl => and2.3.in1
net estopOff and2.2.out => halui.estop.reset
net estopOn and2.3.out => halui.estop.activate

setp lowpass.0.gain .001
###############################################
# Display spindle speed in pyvcp bar
###############################################
setp scale.0.gain 60 #convert velocity per sec into rpm
net spindle-velocity => lowpass.0.in
net filtered-spindle-velocity <= lowpass.0.out => abs.0.in
net absolute-spindle-velocity <= abs.0.out => scale.0.in
net scaled-spindle-velocity <= scale.0.out => pyvcp.spindle-speed

# Connect unhome pins in hal to pyvcp buttons
net unhome-x halui.joint.0.unhome <= pyvcp.x-unhome
net unhome-z halui.joint.2.unhome <= pyvcp.z-unhome

# Connect rapid home pins to pyvcp buttons
net remote-rapid-home halui.mdi-command-00 <= pyvcp.rapid-to-home

# Include your customized HAL commands here
# The commands in this file are run after the AXIS GUI (including PyVCP panel) starts

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

More
21 Jun 2019 15:24 #137499 by Vector459
Replied by Vector459 on topic Error code on exit
# Generated by stepconf at Sun Dec 15 13:01:19 2013
# If you make changes to this file, they will be
# overwritten when you run stepconf again

[EMC]
MACHINE = my-lathe
DEBUG = 0

[DISPLAY]
TKPKG = Ngcgui 1.0
TKPKG = Ngcguittt 1.0
# Ngcgui must precede Ngcguittt

NGCGUI_FONT = Helvetica -12 normal
# specify filenames only, files must be in [RS274NGC]SUBROUTINE_PATH
NGCGUI_PREAMBLE = in_std.ngc
NGCGUI_SUBFILE = odtaper.ngc
NGCGUI_SUBFILE = taper-od.ngc
NGCGUI_SUBFILE = radius.ngc
NGCGUI_SUBFILE = od.ngc
NGCGUI_SUBFILE = idtaper.ngc
NGCGUI_SUBFILE = taperid.ngc
NGCGUI_SUBFILE = odtip.ngc
NGCGUI_SUBFILE = g76.ngc
NGCGUI_SUBFILE = drill.ngc
NGCGUI_SUBFILE = face.ngc
# specify "" for a custom tab page
NGCGUI_SUBFILE = ""
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.2
INTRO_GRAPHIC = ""
INTRO_TIME = .01
PROGRAM_PREFIX = /home/probotix/linuxcnc/nc_files/ngcgui_lib/
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
PYVCP = custompanel.xml
LATHE = 1

[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
SUBROUTINE_PATH = /home/probotix/linuxcnc/nc_files/ngcgui_lib/
RS274NGC_STARTUP_CODE = G18 G20 G90

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 100000
SERVO_PERIOD = 1000000

[HAL]
HALUI = halui
HALFILE = my-lathe.hal
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal

[HALUI]
# add halui MDI commands here (max 64)
MDI_COMMAND = G0 X0 Z0

[TRAJ]
AXES = 3
COORDINATES = X Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 0.17
MAX_LINEAR_VELOCITY = 1.70

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

[AXIS_0]
TYPE = LINEAR
HOME = 0.0
BACKLASH = 0.007
MAX_VELOCITY = 0.4
MAX_ACCELERATION = 30.0
STEPGEN_MAXACCEL = 37.5
SCALE = 8000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -2.3264
MAX_LIMIT = 2.3264
HOME_OFFSET = 0.0
#HOME_SEARCH_VEL = 0.050000
#HOME_LATCH_VEL = 0.050000
#HOME_SEQUENCE = 1

[AXIS_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 1.7
MAX_ACCELERATION = 90.0
STEPGEN_MAXACCEL = 112.5
SCALE = 2000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -8.4
MAX_LIMIT = 0.0001
HOME_OFFSET = 0.0
#HOME_SEARCH_VEL = 0.050000
#HOME_LATCH_VEL = 0.050000
#HOME_SEQUENCE = 0

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

More
21 Jun 2019 15:32 #137500 by andypugh
Replied by andypugh on topic Error code on exit
I think there must be something else somewhere too, with a "loadusr hal_input......" line.

You need to deactivate that, and all lines that mention input.0 in other HAL files.

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

More
21 Jun 2019 15:53 #137501 by Vector459
Replied by Vector459 on topic Error code on exit
Okay I'll do some digging. And thank you again for your patience I'm a New Lenox CNC user coming from mach3 so I'm trying to learn but it's very different so again you're helps appreciated.

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

Time to create page: 0.235 seconds
Powered by Kunena Forum