# this section only reqired if using the sim testing panel # [APPLICATIONS] # DELAY = 3 # APP = ./test/plasmac_test.py # required [PLASMAC] # sets the operating mode, if not specified the default is 0 # 0 = use arc-voltage-in for arcOK and THC (no need to connect arc-ok-in, move-up-in and move-down-in) # 1 = use arc-ok-in for arcOK and arc-voltage-in for THC (no need to connect move-up-in and move-down-in) # 2 = use arc-ok-in for arcOK and move-down-in + move-up-in for THC (no need to connect arc-voltage-in) MODE = 1 # enable(0) or disable(1) the plasmac config page, if not specified the default is enabled CONFIG_DISABLE = 0 # the font for the Axis GUI, if not specified 'sans 10' will be used # valid font sizes are from 10 to 15 FONT = sans 11 # the theme for the Axis GUI tabs, if not specified the system theme will be used THEME = Clearlooks # percentage of cut-feed-rate used for paused motion speed PAUSED_MOTION_SPEED = 50 # torch on time when manual pulse requested TORCH_PULSE_TIME = 1.0 # for the five user buttons # the text that appears on the button # for multiple lines, split the lines with a \ # e.g. BUTTON_1_NAME = Clear \ Coordinates or #BUTTON_n_NAME BUTTON_1_NAME = Ohmic\Test BUTTON_2_NAME = Probe\Test BUTTON_3_NAME = Z\To Top BUTTON_4_NAME = Load\Sheet BUTTON_5_NAME = HAL\Show # the command that the button sends # for multiple lines, split the lines with a \ # e.g. BUTTON_1_NAME = Clear \ Coordinates or # e.g. BUTTON_1_CODE = g0 x0 \ g1x10f100 \ g0x0 # ini file settings can be used, must be within {} and with a space between # e.g. G0 X{JOINT_0 HOME} # e.g. G0 X{JOINT_0 HOME} Y1 # e.g. G53 G0 Z[{AXIS_Z MAX_LIMIT} - 1.001] # for an external command precede the command with % # e.g. %halshow # external commands and gcode may be on the same code line # e.g %halshow \ g0x.5y.5 \ %halmeter # there are two special commands: # probe-test and ohmic-test # using these will set/reset the corresponding hal pin in the component # adding a number after probe-test will hold the pin for that number of seconds # e.g. probe-test 15 will hold the halpin on for 15 seconds #BUTTON_n_CODE BUTTON_1_CODE = ohmic-test BUTTON_2_CODE = probe-test BUTTON_3_CODE = G53 G0 Z[{AXIS_Z MAX_LIMIT} - 0.0401] BUTTON_4_CODE = G53 G0 X{JOINT_0 HOME} Y1 BUTTON_5_CODE = %halshow # this section required as is for removing z axis moves from the loaded gcode file # this is optional and if used then plasmac_gcode.py needs to be set as executable [FILTER] PROGRAM_EXTENSION = .ngc remove z axis stuff ngc = ./plasmac_gcode.py [RS274NGC] RS274NGC_STARTUP_CODE = o call PARAMETER_FILE = imperial_parameters.txt # required, ./ must be in this path SUBROUTINE_PATH = ./:../../nc_files/subroutines # required for reading ini and hal variables FEATURES = 12 # required for our material change USER_M_PATH = ./ [HAL] # required TWOPASS = ON # the base machine HALFILE = plasmaworks.hal # the plasmac component connections HALFILE = plasmac.hal # the plasmac machine connections HALFILE = plasmaworks_connections.hal # use this for customisation after GUI has loaded POSTGUI_HALFILE = postgui.hal # required HALUI = halui [DISPLAY] #DISPLAY = gmoccapy DISPLAY = axis POSITION_OFFSET = RELATIVE POSITION_FEEDBACK = ACTUAL MAX_FEED_OVERRIDE = 1.5 DEFAULT_LINEAR_VELOCITY = 200 MAX_LINEAR_VELOCITY = 300 PROGRAM_PREFIX = ../../nc_files INTRO_GRAPHIC = linuxcnc.gif INTRO_TIME = 1 CYCLE_TIME = 150 INCREMENTS = 1, .1, .01, .001 MDI_HISTORY_FILE = imperial_mdi_history.txt OPEN_FILE = "" EDITOR = leafpad # required USER_COMMAND_FILE = plasmac_axis.py # required # for a working config add these to the [DISPLAY] section in your working configs ini file EMBED_TAB_NAME = Statistics EMBED_TAB_COMMAND = gladevcp -c plasmac_stats -x {XID} -u ./plasmac_stats.py -H ./plasmac_stats.hal plasmac_stats.glade # use one of the next two # run panel in tab behind preview EMBED_TAB_NAME = Plasma Run EMBED_TAB_COMMAND = gladevcp -c plasmac_run -x {XID} -u ./plasmac_run.py -H plasmac_run.hal plasmac_run_tab.glade # run panel in panel on right side #GLADEVCP = -c plasmac_run -u ./plasmac_run.py -H plasmac_run.hal plasmac_run_panel.glade EMBED_TAB_NAME = Plasma Config EMBED_TAB_COMMAND = gladevcp -c plasmac_config -x {XID} -u ./plasmac_config.py -H plasmac_config.hal plasmac_config.glade # this section only required if any of the options need to be specified [PYTHON] PATH_PREPEND = ./python/ TOPLEVEL = ./python/toplevel.py # this section required as is for removing z axis moves from the loaded gcode file # this is optional and if used then plasmac_gcode.py needs to be set as executable [EMC] VERSION = 1.1 # have plasma somewhere in here to enable the axis_tweaks MACHINE = PLASMAWORKS DEBUG = 0 [TASK] TASK = milltask CYCLE_TIME = 0.01 [EMCMOT] EMCMOT = motmod BASE_PERIOD = 32000 SERVO_PERIOD = 200000 [EMCIO] EMCIO = io CYCLE_TIME = 0.100 # TOOL_TABLE is just a placeholder, the contents are not used in this plasmac config TOOL_TABLE = tool.tbl [KINS] KINEMATICS = trivkins coordinates=xyz JOINTS = 3 [TRAJ] COORDINATES = XYZ LINEAR_UNITS = inch MAX_LINEAR_VELOCITY = 5 ANGULAR_UNITS = degree POSITION_FILE = imperial_position.txt NO_FORCE_HOMING = 0 DEFAULT_LINEAR_VELOCITY = 200 [AXIS_X] MIN_LIMIT = -0.05 MAX_LIMIT = 50.0 MAX_VELOCITY = 10.0 MAX_ACCELERATION = 20.0 [JOINT_0] TYPE = LINEAR MAX_VELOCITY = 10.0 MAX_ACCELERATION = 20.0 STEPGEN_MAXVEL = 11.5 STEPGEN_MAXACCEL = 25.0 SCALE = 2540 MIN_LIMIT = -0.05 MAX_LIMIT = 50.0 MIN_FERROR = 0.0005 FERROR = 0.003 HOME = 0.0 HOME_OFFSET = 0.0 HOME_SEARCH_VEL = -2.0 HOME_LATCH_VEL = -0.25 HOME_FINAL_VEL = 0.15 HOME_SEQUENCE = 1 HOME_USE_INDEX = NO #BACKLASH = 0.000 HOME_IGNORE_LIMITS = YES # these are in nanoseconds DIRSETUP = 10000 DIRHOLD = 10000 STEPLEN = 5000 STEPSPACE = 5000 #******************** # Axis Y #******************** [AXIS_Y] MIN_LIMIT = -58.0 MAX_LIMIT = 0.05 MAX_VELOCITY = 10.0 MAX_ACCELERATION = 20.0 [JOINT_1] TYPE = LINEAR MAX_VELOCITY = 6.0 MAX_ACCELERATION = 20.0 STEPGEN_MAXVEL = 7.5 STEPGEN_MAXACCEL = 25.0 SCALE = 2540 MIN_LIMIT = -58.0 MAX_LIMIT = 0.05 MIN_FERROR = 0.0005 FERROR = 0.003 HOME = 0.0 HOME_OFFSET = 0.0 HOME_SEARCH_VEL = 2.5 HOME_LATCH_VEL = 0.25 HOME_FINAL_VEL = 0.5 HOME_SEQUENCE = 2 HOME_USE_INDEX = NO #BACKLASH = 0.000 HOME_IGNORE_LIMITS = YES # these are in nanoseconds DIRSETUP = 10000 DIRHOLD = 10000 STEPLEN = 5000 STEPSPACE = 5000 #******************** # Axis Z #******************** [AXIS_Z] MIN_LIMIT = -3.5 MAX_LIMIT = 0.0001 #MIN_LIMIT = 0.0001 #MAX_LIMIT = -4.2501 # set to double the value in the corresponding joint MAX_VELOCITY = 2.0 # set to double the value in the corresponding joint MAX_ACCELERATION = 40.0 # shares the above two equally between the joint and the offset OFFSET_AV_RATIO = 0.5 # required, shares the above two equally between the axis/joint and the offset OFFSET_AV_RATIO = 0.5 [JOINT_2] TYPE = LINEAR MAX_VELOCITY = 1.0 MAX_ACCELERATION = 20 STEPGEN_MAXVEL = 1.25 STEPGEN_MAXACCEL = 37.50 SCALE = 10160 MIN_LIMIT = -3.5 MAX_LIMIT = 0.0001 #MIN_LIMIT = 0.0001 #MAX_LIMIT = -4.2501 MIN_FERROR = 0.0005 FERROR = 0.003 HOME = 0.00 HOME_OFFSET = 0.00 HOME_SEARCH_VEL = 0.25 HOME_LATCH_VEL = -0.25 HOME_FINAL_VEL = 0.75 HOME_SEQUENCE = 0 HOME_USE_INDEX = NO BACKLASH = 0.000 HOME_IGNORE_LIMITS = YES # these are in nanoseconds DIRSETUP = 20000 DIRHOLD = 20000 STEPLEN = 5000 STEPSPACE = 5000