[EMC] VERSION = 1.1 MACHINE = Lathezy DEBUG = 0x7FFFFFFF [DISPLAY] DISPLAY = gscreen -c lathezy -d EDITOR = gedit LATHE = 1 INCREMENTS 1 mm, 0.1 mm, 0.01 mm, 0.001 mm, 0.1 inch, 0.01 inch, 0.001 inch, 0.0001 inch # time that display will sleep between polls ms CYCLE_TIME = 100 POSITION_OFFSET = RELATIVE POSITION_FEEDBACK = ACTUAL MAX_LINEAR_VELOCITY = 2.0 MAX_FEED_OVERRIDE = 2.0 MAX_SPINDLE_OVERRIDE = 1.2 # gscreen preference file location PREFERENCE_FILE_PATH = ~/.gscreen_preferences # default directory for gcode files and user-defined M-codes # 2.7 directory home/daniel/linuxcnc/nc_files #PROGRAM_PREFIX = ../../linuxcnc/nc_files # or # 2.8 rip directory = home/souces/linuxcnc-dev/nc_files #PROGRAM_PREFIX = home/sources/linuxcnc-dev/nc_files # NativeCAM wants this directory to be /home/fernand/linuxcnc/nc_files ???? PROGRAM_PREFIX = ../../ # items required for embeded NGCgui # pyngcgui.ui must be located in the same folder as the .ini file EMBED_TAB_NAME = NCG EMBED_TAB_LOCATION = embed_tab2_vbox EMBED_TAB_COMMAND = gladevcp -x {XID} pyngcgui.ui NGCGUI_FONT = Helvetica -12 normal # list of subroutines that the gui should be populated with # currently populated in the config/lathe-ui dir NGCGUI_PREAMBLE = lathe_std.ngc NGCGUI_SUBFILE = id-type2.ngc NGCGUI_SUBFILE = od-type2.ngc NGCGUI_SUBFILE = taper-od-type2.ngc NGCGUI_SUBFILE = g76base.ngc NGCGUI_SUBFILE = g76diam.ngc # specify "" for a custom tab page NGCGUI_SUBFILE = "" # items required for embeded Cycles EMBED_TAB_NAME = Cycles EMBED_TAB_LOCATION = embed_tab_vbox EMBED_TAB_COMMAND = gladevcp -u lathehandler.py -x {XID} lathemacro.ui # items required for embeded NativeCAM # location of python handeler file /home/user/bin? name of handler file? NCAM_DIR = ncam EMBED_TAB_NAME = NativeCAM EMBED_TAB_LOCATION = embed_tab3_vbox # ncam.ui must be in the same folder as the .ini file EMBED_TAB_COMMAND = gladevcp -x {XID} -U --catalog=lathe ncam.ui # list of selectable jog increments INCREMENTS = 1 in, 0.1 in, 10 mil, 1 mil, 1mm, .1mm, 1/8000 in # set up 3 user popup message dialogs MESSAGE_BOLDTEXT = NONE MESSAGE_TEXT = This is a statusbar test MESSAGE_TYPE = status MESSAGE_PINNAME = statustest MESSAGE_BOLDTEXT = NONE MESSAGE_TEXT = This is a yes no dialog test MESSAGE_TYPE = yesnodialog MESSAGE_PINNAME = yndialogtest MESSAGE_BOLDTEXT = This is the short text MESSAGE_TEXT = This is the longer text of the both type test. It can be longer then the status bar text MESSAGE_TYPE = okdialog status MESSAGE_PINNAME = bothtest # if you press the 'tooleditor' button then this program will be launched # leave it commented out if you prefer Gscreens tooleditor. #TOOL_EDITOR = tooledit INTRO_GRAPHIC = linuxcnc.gif INTRO_TIME = 5 [FILTER] PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image PROGRAM_EXTENSION = .py Python Script PROGRAM_EXTENSION = .ngc G-code files png = image-to-gcode gif = image-to-gcode jpg = image-to-gcode py = python [RS274NGC] # lathe-macro (.ngc) files located: /home/sources/linuxcnc-dev/lathezy/lathemacro-library # ngcgui (.ngc) files located: /home/sources/linuxcnc-dev/lathezy/ngcgui-library # ngcgui (.ngc) files are xxxx_type2.ngc # NativeCAM ncam/mystuff:ncam/lib/lathe:ncam/lib/utilities # copy n-cam folder from gscreen example into configs/lathezy # dir 1 ncam/my-stuff generated files? # dir 2 ncam/lib/lathe subroutine library # dir 3 ncam/lib/utilities shared subroutines library # NOTE: the first matching sub-routine file found in the search list is used. Format = dir-path:dir-path: # These directories are searched after [DISPLAY] PROGRAM_PREFIX # ../ = search parent directory # ./ = search currrent directory SUBROUTINE_PATH = ./:../../configs/lathezy/remap-library:../../configs/lathezy/lathemacro-library:../../configs/lathezy/ngcgui-library:../../nc_files:ncam/my-stuff:ncam/lib/lathe:ncam/lib/utilities # This machine has a lot of user m-codes, so we want to keep them all in the same place and not available to other configs USER_M_PATH = ../../configs/lathezy/mcodes REMAP = T prolog=get_T_number ngc=toolchange PARAMETER_FILE = sim-lathe.var [EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 BASE_PERIOD = 50000 SERVO_PERIOD = 1000000 [TASK] TASK = milltask CYCLE_TIME = 0.001 [HAL] HALFILE = LIB:basic_sim.tcl POSTGUI_HALFILE = lathezy-postgui.hal HALUI = halui [TRAJ] COORDINATES = X Z LINEAR_UNITS = inch ANGULAR_UNITS = degree DEFAULT_LINEAR_VELOCITY = 1.0 MAX_LINEAR_VELOCITY = 3.333333 DEFAULT_LINEAR_ACCELERATION = 20.0 MAX_LINEAR_ACCELERATION = 20.0 POSITION_FILE = position.txt NO_FORCE_HOMING = 1 [EMCIO] EMCIO = io CYCLE_TIME = 0.100 TOOL_TABLE = lathe-fanucy.tbl #TOOL_CHANGE_POSITION = 2 0 1 TOOL_CHANGE_WITH_SPINDLE_ON = 1 [KINS] KINEMATICS = trivkins coordinates=xz JOINTS = 2 [AXIS_X] MIN_LIMIT = -10.0 MAX_LIMIT = 10.0 MAX_VELOCITY = 3.333333 MAX_ACCELERATION = 20.0 [AXIS_Z] MIN_LIMIT = -2.0 MAX_LIMIT = 4.0 MAX_VELOCITY = 3.333333 MAX_ACCELERATION = 20.0 [JOINT_0] TYPE = LINEAR MAX_VELOCITY = 3.333333 MAX_ACCELERATION = 20.0 MIN_LIMIT = -10.0 MAX_LIMIT = 10.0 HOME_SEARCH_VEL = 5.0 HOME_LATCH_VEL = 1.0 HOME_SEQUENCE = 0 [JOINT_1] TYPE = LINEAR MAX_VELOCITY = 3.333333 MAX_ACCELERATION = 20.0 MIN_LIMIT = -2.0 MAX_LIMIT = 4.0 HOME_SEARCH_VEL = 5.0 HOME_LATCH_VEL = 1.0 HOME_SEQUENCE = 1 [PYTHON] # where to find Python code # code specific for this configuration PATH_PREPEND= ./ # generic support code PATH_APPEND= ../../nc_files/remap_lib/python-stdglue/ # import the following Python module TOPLEVEL= toplevel.py # the higher the more verbose tracing of the Python plugin LOG_LEVEL = 0