<commit_before># EMC controller parameters for Mesa 5i20 controlled Smithy 622 Mill
[EMC]
MACHINE = Smithy 622 Mill
VERSION = $Revision$
NML_FILE = emc.nml
DEBUG = 0x7FFFFFFF

[DISPLAY]
#DISPLAY = eztrol
# CYCLE_TIME is used by eztrol
CYCLE_TIME = .1
DISPLAY = axis
#DISPLAY = mini
#DISPLAY = tkemc
#HELP_FILE = /usr/share/doc/emc2/tkemc.txt
#DISPLAY = xemc
#HELP_FILE = /usr/share/doc/emc2/xemc.txt
#DISPLAY = keystick
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.5
MIN_SPINDLE_OVERRIDE = 0.2
MAX_SPINDLE_OVERRIDE = 1.5
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 5
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
PROGRAM_PREFIX = /home/smithy/emc2/nc_files/
EDITOR = gedit
# for gui only
# DEFAULT_VELOCITY and DEFAULT_ANGULAR_VELOCITY are used by eztrol
DEFAULT_VELOCITY = 0.2
DEFAULT_LINEAR_VELOCITY = 0.2
MAX_LINEAR_VELOCITY = 3.0
DEFAULT_ANGULAR_VELOCITY = 12.0
MAX_ANGULAR_VELOCITY = 60

[EZTROL]
QTEMC_PLUGIN = /usr/share/eztrol/lib/libqtemc-2.3.1.so
QTEMCHAL_PLUGIN = /usr/share/eztrol/lib/libqtemchal-2.3.1.so
EZTROLGUI = /usr/share/eztrol/eztrolgui/libguimill2.so
MAX_SPINDLE_RPM = 5000
DIR_PLUGIN = /usr/share/eztrol/eztrolplugins
PLUGIN = libtestplugin1.so
PLUGIN = libeztrol_wizard_plugin.so
PLUGIN = libeztrol_webwizard_plugin.so
# disabling settings gcode editor will benefit systems with small memory size
# TODO: remove this??? GUI specific
ENABLE_SETTINGS_EDITOR = true 
# disable OpenGL 3D Preview
ENABLE_3D_PREVIEW = true
# set to Full Screen TRUE/FALSE
FULLSCREEN = false
# Settings Tab GCode Editor Syntax Highlight
# color guide - http://www.w3.org/TR/SVG/types.html#ColorKeywords
AXIS_COLOR = magenta
LINENUMBER_COLOR = rosybrown
GM_COLOR = blue
STFDRLPQH_COLOR = red
O_COLOR = blue
RESERVEDWORDS_COLOR = darkviolet
VARIABLE_COLOR = olive
COMMENT_COLOR = seagreen

[TESTPLUGIN1]
AXIS_COLOR = magenta
LINENUMBER_COLOR = rosybrown
GM_COLOR = blue
STFDRLPQH_COLOR = red
O_COLOR = blue
RESERVEDWORDS_COLOR = darkviolet
VARIABLE_COLOR = olive
COMMENT_COLOR = seagreen

[EZTROLWIZARDS]
WIZARD_DIRECTORY = /usr/share/eztrol/eztrolwizards
SAVE_DIRECTORY = /home/smithy/emc2/nc_files

[EZTROLWEBWIZARD]
URL = http://www.mattshaver.com/ecmacam/ecmacam.htm

[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale 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.001

[RS274NGC]
PARAMETER_FILE = emc.var

[EMCMOT]
EMCMOT = motmod
SHMEM_KEY = 111
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 1000000
SERVO_PERIOD = 1000000
TRAJ_PERIOD = 1000000

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = mill.tbl
#TOOL_CHANGE_POSITION = 0 0 2
#TOOL_CHANGE_WITH_SPINDLE_ON = 1
TOOL_CHANGE_QUILL_UP = 1
#TOOL_CHANGE_AT_G30 = 1

[HAL]
HALUI = halui
HALFILE = 622.hal
EZTROL_HALFILE = 622eztrol.hal
POSTGUI_HALFILE = axis_manualtoolchange.hal

[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
MAX_VELOCITY = 3.0
MAX_ACCELERATION = 20.0
# for gui only
# DEFAULT_VELOCITY and DEFAULT_ANGULAR_VELOCITY are used by eztrol
DEFAULT_VELOCITY = 0.2
DEFAULT_LINEAR_VELOCITY = 0.2
MAX_LINEAR_VELOCITY = 3.0
DEFAULT_ANGULAR_VELOCITY = 12.0
MAX_ANGULAR_VELOCITY = 60.0

[AXIS_0]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 3.0
MAX_ACCELERATION = 20.0
STEPGEN_MAXVEL = 0.0
STEPGEN_MAXACCEL = 0.0
BACKLASH = 0.0000
# Leadscrew Pitch = 4mm
# Drive Ratio = 1:1
# Steps/Rev = 200 * 50uSteps = 10000
# Vel at 200k Steps/S = 200"/min
SCALE = 63500
OUTPUT_SCALE = 1.000
MIN_LIMIT = -11.6
MAX_LIMIT = 0.2
FERROR = 0.25
MIN_FERROR = 0.1
HOME_OFFSET = 0.25
HOME_SEARCH_VEL = 0.5
HOME_LATCH_VEL = 0.05
HOME_FINAL_VEL = 0.5
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2

[AXIS_1]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 3.0
MAX_ACCELERATION = 20.0
STEPGEN_MAXVEL = 0.0
STEPGEN_MAXACCEL = 0.0
BACKLASH = 0.0000
# Leadscrew Pitch = 4mm
# Drive Ratio = 1:1
# Steps/Rev = 200 * 50uSteps = 10000
# Vel at 200k Steps/S = 200"/min
SCALE = -63500
OUTPUT_SCALE = 1.000
MIN_LIMIT = -5.3
MAX_LIMIT = 0.2
FERROR = 0.25
MIN_FERROR = 0.1
HOME_OFFSET = 0.25
HOME_SEARCH_VEL = 0.5
HOME_LATCH_VEL = 0.05
HOME_FINAL_VEL = 0.5
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1

[AXIS_2]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 2.0
MAX_ACCELERATION = 20.0
STEPGEN_MAXVEL = 0.0
STEPGEN_MAXACCEL = 0.0
BACKLASH = 0.0000
# Leadscrew Pitch = 4mm
# Drive Ratio = 1:1
# Steps/Rev = 200 * 50uSteps = 10000
# Vel at 200k Steps/S = 200"/min
SCALE = -63500
OUTPUT_SCALE = 1.000
MIN_LIMIT = -10.2
MAX_LIMIT = 0.2
FERROR = 0.25
MIN_FERROR = 0.1
HOME_OFFSET = 0.25
HOME_SEARCH_VEL = 0.5
HOME_LATCH_VEL = 0.05
HOME_FINAL_VEL = 0.5
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0

[AXIS_3]
TYPE = ANGULAR
HOME = 0.000
MAX_VELOCITY = 60.0
MAX_ACCELERATION = 120.0
STEPGEN_MAXVEL = 0.0
STEPGEN_MAXACCEL = 0.0
BACKLASH = 0.0000
# Drive Ratio = 1:4
# Steps/Rev = 200 * 50uSteps = 10000
# Vel at 200k Steps/S = 4800 deg/min
SCALE = -1111.11111111111111111111111111
# If [TRAJ]ANGULAR_UNITS = grad
#SCALE = -1000
OUTPUT_SCALE = 1.000
MIN_LIMIT = -360000.0
MAX_LIMIT = 360000.0
FERROR = 0.25
MIN_FERROR = 0.1
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 36.0
HOME_LATCH_VEL = 3.6
HOME_FINAL_VEL = 36.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 3

<commit_msg>fix a numerical error in a comment<commit_after># EMC controller parameters for Mesa 5i20 controlled Smithy 622 Mill
[EMC]
MACHINE = Smithy 622 Mill
VERSION = $Revision$
NML_FILE = emc.nml
DEBUG = 0x7FFFFFFF

[DISPLAY]
#DISPLAY = eztrol
# CYCLE_TIME is used by eztrol
CYCLE_TIME = .1
DISPLAY = axis
#DISPLAY = mini
#DISPLAY = tkemc
#HELP_FILE = /usr/share/doc/emc2/tkemc.txt
#DISPLAY = xemc
#HELP_FILE = /usr/share/doc/emc2/xemc.txt
#DISPLAY = keystick
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.5
MIN_SPINDLE_OVERRIDE = 0.2
MAX_SPINDLE_OVERRIDE = 1.5
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 5
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
PROGRAM_PREFIX = /home/smithy/emc2/nc_files/
EDITOR = gedit
# for gui only
# DEFAULT_VELOCITY and DEFAULT_ANGULAR_VELOCITY are used by eztrol
DEFAULT_VELOCITY = 0.2
DEFAULT_LINEAR_VELOCITY = 0.2
MAX_LINEAR_VELOCITY = 3.0
DEFAULT_ANGULAR_VELOCITY = 12.0
MAX_ANGULAR_VELOCITY = 60

[EZTROL]
QTEMC_PLUGIN = /usr/share/eztrol/lib/libqtemc-2.3.1.so
QTEMCHAL_PLUGIN = /usr/share/eztrol/lib/libqtemchal-2.3.1.so
EZTROLGUI = /usr/share/eztrol/eztrolgui/libguimill2.so
MAX_SPINDLE_RPM = 5000
DIR_PLUGIN = /usr/share/eztrol/eztrolplugins
PLUGIN = libtestplugin1.so
PLUGIN = libeztrol_wizard_plugin.so
PLUGIN = libeztrol_webwizard_plugin.so
# disabling settings gcode editor will benefit systems with small memory size
# TODO: remove this??? GUI specific
ENABLE_SETTINGS_EDITOR = true 
# disable OpenGL 3D Preview
ENABLE_3D_PREVIEW = true
# set to Full Screen TRUE/FALSE
FULLSCREEN = false
# Settings Tab GCode Editor Syntax Highlight
# color guide - http://www.w3.org/TR/SVG/types.html#ColorKeywords
AXIS_COLOR = magenta
LINENUMBER_COLOR = rosybrown
GM_COLOR = blue
STFDRLPQH_COLOR = red
O_COLOR = blue
RESERVEDWORDS_COLOR = darkviolet
VARIABLE_COLOR = olive
COMMENT_COLOR = seagreen

[TESTPLUGIN1]
AXIS_COLOR = magenta
LINENUMBER_COLOR = rosybrown
GM_COLOR = blue
STFDRLPQH_COLOR = red
O_COLOR = blue
RESERVEDWORDS_COLOR = darkviolet
VARIABLE_COLOR = olive
COMMENT_COLOR = seagreen

[EZTROLWIZARDS]
WIZARD_DIRECTORY = /usr/share/eztrol/eztrolwizards
SAVE_DIRECTORY = /home/smithy/emc2/nc_files

[EZTROLWEBWIZARD]
URL = http://www.mattshaver.com/ecmacam/ecmacam.htm

[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale 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.001

[RS274NGC]
PARAMETER_FILE = emc.var

[EMCMOT]
EMCMOT = motmod
SHMEM_KEY = 111
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 1000000
SERVO_PERIOD = 1000000
TRAJ_PERIOD = 1000000

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = mill.tbl
#TOOL_CHANGE_POSITION = 0 0 2
#TOOL_CHANGE_WITH_SPINDLE_ON = 1
TOOL_CHANGE_QUILL_UP = 1
#TOOL_CHANGE_AT_G30 = 1

[HAL]
HALUI = halui
HALFILE = 622.hal
EZTROL_HALFILE = 622eztrol.hal
POSTGUI_HALFILE = axis_manualtoolchange.hal

[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
MAX_VELOCITY = 3.0
MAX_ACCELERATION = 20.0
# for gui only
# DEFAULT_VELOCITY and DEFAULT_ANGULAR_VELOCITY are used by eztrol
DEFAULT_VELOCITY = 0.2
DEFAULT_LINEAR_VELOCITY = 0.2
MAX_LINEAR_VELOCITY = 3.0
DEFAULT_ANGULAR_VELOCITY = 12.0
MAX_ANGULAR_VELOCITY = 60.0

[AXIS_0]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 3.0
MAX_ACCELERATION = 20.0
STEPGEN_MAXVEL = 0.0
STEPGEN_MAXACCEL = 0.0
BACKLASH = 0.0000
# Leadscrew Pitch = 4mm
# Drive Ratio = 1:1
# Steps/Rev = 200 * 50uSteps = 10000
# Vel at 200k Steps/S = 180"/min
SCALE = 63500
OUTPUT_SCALE = 1.000
MIN_LIMIT = -11.6
MAX_LIMIT = 0.2
FERROR = 0.25
MIN_FERROR = 0.1
HOME_OFFSET = 0.25
HOME_SEARCH_VEL = 0.5
HOME_LATCH_VEL = 0.05
HOME_FINAL_VEL = 0.5
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2

[AXIS_1]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 3.0
MAX_ACCELERATION = 20.0
STEPGEN_MAXVEL = 0.0
STEPGEN_MAXACCEL = 0.0
BACKLASH = 0.0000
# Leadscrew Pitch = 4mm
# Drive Ratio = 1:1
# Steps/Rev = 200 * 50uSteps = 10000
# Vel at 200k Steps/S = 180"/min
SCALE = -63500
OUTPUT_SCALE = 1.000
MIN_LIMIT = -5.3
MAX_LIMIT = 0.2
FERROR = 0.25
MIN_FERROR = 0.1
HOME_OFFSET = 0.25
HOME_SEARCH_VEL = 0.5
HOME_LATCH_VEL = 0.05
HOME_FINAL_VEL = 0.5
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1

[AXIS_2]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 2.0
MAX_ACCELERATION = 20.0
STEPGEN_MAXVEL = 0.0
STEPGEN_MAXACCEL = 0.0
BACKLASH = 0.0000
# Leadscrew Pitch = 4mm
# Drive Ratio = 1:1
# Steps/Rev = 200 * 50uSteps = 10000
# Vel at 200k Steps/S = 180"/min
SCALE = -63500
OUTPUT_SCALE = 1.000
MIN_LIMIT = -10.2
MAX_LIMIT = 0.2
FERROR = 0.25
MIN_FERROR = 0.1
HOME_OFFSET = 0.25
HOME_SEARCH_VEL = 0.5
HOME_LATCH_VEL = 0.05
HOME_FINAL_VEL = 0.5
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0

[AXIS_3]
TYPE = ANGULAR
HOME = 0.000
MAX_VELOCITY = 60.0
MAX_ACCELERATION = 120.0
STEPGEN_MAXVEL = 0.0
STEPGEN_MAXACCEL = 0.0
BACKLASH = 0.0000
# Drive Ratio = 1:4
# Steps/Rev = 200 * 50uSteps = 10000
# Vel at 200k Steps/S = 4800 deg/min
SCALE = -1111.11111111111111111111111111
# If [TRAJ]ANGULAR_UNITS = grad
#SCALE = -1000
OUTPUT_SCALE = 1.000
MIN_LIMIT = -360000.0
MAX_LIMIT = 360000.0
FERROR = 0.25
MIN_FERROR = 0.1
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 36.0
HOME_LATCH_VEL = 3.6
HOME_FINAL_VEL = 36.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 3


{'fraction_non_alphanumeric': 0.09237961664329125, 'fraction_numerical': 0.08489948574100047, 'mean_word_length': 4.533367822038282, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1512420', 'n_tokens_mistral': 5391, 'n_tokens_neox': 4727, 'n_words': 1044}