# Generated by PNCconf at Fri Apr 3 14:48:52 2020 # If you make changes to this file, they will be # overwritten when you run PNCconf again [EMC] MACHINE = Test_7i76e_7i74_D12.02-5axis DEBUG = 0 [DISPLAY] DISPLAY = axis POSITION_OFFSET = RELATIVE POSITION_FEEDBACK = ACTUAL MAX_FEED_OVERRIDE = 2.000000 MAX_SPINDLE_OVERRIDE = 1.000000 MIN_SPINDLE_OVERRIDE = 0.500000 DEFAULT_SPINDLE_SPEED = 70 INTRO_GRAPHIC = linuxcnc.gif INTRO_TIME = 5 OPEN_FILE=./nc_files/tcdemo.ngc #PROGRAM_PREFIX = /home/engineering/linuxcnc/nc_files # Prefix to be used PROGRAM_PREFIX = /home/cms/linuxcnc/nc_files #OPEN_FILE = /full/path/to/filename.ngc PYVCP = pyvcp-panel.xml INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm POSITION_FEEDBACK = ACTUAL DEFAULT_LINEAR_VELOCITY = 6.000000 MAX_LINEAR_VELOCITY = 25.000000 MIN_LINEAR_VELOCITY = 0.500000 DEFAULT_ANGULAR_VELOCITY = 12.000000 MAX_ANGULAR_VELOCITY = 180.000000 MIN_ANGULAR_VELOCITY = 1.666667 EDITOR = gedit #TOOL_EDITOR = tooledit #GEOMETRY = xyzac GEOMETRY = XYZBCW [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 # the Python plugins serves interpreter and task [PYTHON] # where to find Python code # code specific for this configuration PATH_PREPEND=./python # generic support code PATH_APPEND=../../nc_files/remap_lib/python-stdglue # import the following Python module TOPLEVEL=python/toplevel.py # the higher the more verbose tracing of the Python plugin LOG_LEVEL = 0 # Part program interpreter section -------------------------------------------- [RS274NGC] # File containing interpreter variables #PARAMETER_FILE = sim_mm.var PARAMETER_FILE = linuxcnc.var #RS274NGC_STARTUP_CODE = G17 G20 G40 G49 G64 P0.001 G80 G90 G92 G94 G97 G98 #The default location for g-code files and the location for user-defined M-codes. #This location is searched for the file name before the subroutine path and user M path if specified in the [RS274NGC] section. #PROGRAM_PREFIX = ~/linuxcnc/nc_files #PROGRAM_PREFIX = /home/cms/linuxcnc/nc_files USER_M_PATH = /home/cms/linuxcnc/nc_files SUBROUTINE_PATH = nc_subroutines:../../nc_files/remap_lib/common_nc_subs LOG_LEVEL = 0 REMAP=M400 modalgroup=10 argspec=Pq ngc=m400 REMAP=M410 modalgroup=10 argspec=@Pq ngc=m410 REMAP=M60 modalgroup=4 ngc=extend_m60 # this is important - read nc_subroutines/on_abort.ngc ON_ABORT_COMMAND=O call # optional features - a bit mask to selectively turn on experimental/dubious features # see # RETAIN_G43 0x00000001 # OWORD_N_ARGS 0x00000002 # INI_VARS 0x00000004 # HAL_PIN_VARS 0x00000008 # NO_DOWNCASE_OWORD 0x00000010 # turn on all optional features # turn on all optional features except RETAIN_G43 FEATURES=30 #ON_ABORT_COMMAND=O call # # ------ remapping toolchange - related codes ---------------------- # # see python/remap.py for the prolog and epilog handlers # see nc_files/remap-subroutines for the NGC procedures # # the prepare_min.ngc and change_min.ngc are templates - fill in as needed #REMAP=M6 modalgroup=6 prolog=change_prolog ngc=rack_change epilog=change_epilog # accessible in interp as #<_[section]name> [TOOL_HOLDER_CLEAR] X = 10 Y = 30 Z = 10 [TOOL_SLOT_DELTA] X = 0 Y = 10 Z = 0 # this is not named TOOL_CHANGE_POSITION on purpose - canon uses it and will # interfere [CHANGE_POSITION] X = 10 Y = 10 Z = 10 [DWELL] LOCK_TIME = 0.5 MYSTERY = 0 NEW_TOOL = 1.0 POST_UNLOCK = 0.5 # motion.digital-out-NN pins [PINS] LOCK = 0 FLUSH = 1 # Motion control section ------------------------------------------------------ [EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 COMM_WAIT = 0.010 SERVO_PERIOD = 1000000 [HOSTMOT2] # **** This is for info only **** # DRIVER0=hm2_eth # BOARD0=7i76e # Hardware Abstraction Layer section -------------------------------------------------- [HAL] # The run script first uses halcmd to execute any HALFILE # files, and then to execute any individual HALCMD commands. # # list of hal config files to run through halcmd # files are executed in the order in which they appear HALUI = halui HALFILE = Test_7i76e_7i74_D12.02-5axis.hal HALFILE = custom.hal # list of halcmd commands to execute # commands are executed in the order in which they appear #HALCMD = save neta # Single file that is executed after the GUI has started. Only supported by # AXIS at this time (only AXIS creates a HAL component of its own) #POSTGUI_HALFILE = test_postgui.hal POSTGUI_HALFILE = postgui_call_list.hal SHUTDOWN = shutdown.hal [HALUI] MDI_COMMAND = G38.2 Z-2 F16 ( search for touch off plate ) MDI_COMMAND = G10 L20 P0 Z.25 ( Ofset current Origin by plate thickness ) MDI_COMMAND = G0 Z.5 ( Rapid away from touch off plate ) [TRAJ] #Edited -AL AXES = 9 #Edited -AL #COORDINATES = X Y Z A B C U V W #COORDINATES = X Y Z A C V COORDINATES = X Y Z B C W HOME = 0 0 0 0 0 0 MAX_ANGULAR_VELOCITY = 360.00 DEFAULT_ANGULAR_VELOCITY = 36.00 LINEAR_UNITS = mm #LINEAR_UNITS = inch ANGULAR_UNITS = degree CYCLE_TIME = 0.010 DEFAULT_VELOCITY = 25.0 MAX_LINEAR_VELOCITY = 250.0 TLO_IS_ALONG_W = 1 # section for main IO controller parameters ----------------------------------- [EMCIO] # Name of IO controller program, e.g., io EMCIO = io # cycle time, in seconds CYCLE_TIME = 0.100 # tool table file TOOL_TABLE = tool.tbl #TOOL_CHANGE_POSITION = 0 0 0 TOOL_CHANGE_QUILL_UP = 1 [KINS] # 5axiskins misnomer 1 more joint for W KINEMATICS = 5axiskins JOINTS = 6 #******************** # Axis X #******************** [AXIS_0] TYPE = LINEAR #Motor Parameters P = 1000.0 I = 0.0 D = 0.0 FF0 = 0.0 FF1 = 1.0 FF2 = 0.0 BIAS = 0.0 DEADBAND = 0.0 MAX_OUTPUT = 0.0 # these are in nanoseconds DIRSETUP = 5000 DIRHOLD = 5000 STEPLEN = 2500 STEPSPACE = 2500 #---Unit Dependent Parameters:mm---# #Axis Scale [steps/mm] STEP_SCALE = 64.3382352941177 #Velocity [mm/s] and Acceleration [mm/s^2] MAX_VELOCITY = 800 MAX_ACCELERATION = 750 # The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION # If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger. STEPGEN_MAXVEL = 1000 STEPGEN_MAXACCEL = 937.5 # Rapid Speed Following Error [mm]: FERROR = 10.0 # Feed Speed Following Error [mm]: MIN_FERROR = 1.0 #Axis Dimensions [mm] MIN_LIMIT = -0.1 MAX_LIMIT = 3500 #testmotor#HOME = 210 #testmotor#HOME_OFFSET = 210 HOME = 0 HOME_OFFSET = 0 HOME_SEQUENCE = 0 HOME_SEARCH_VEL = 0.0 HOME_LATCH_VEL = 0.0 HOME_USE_INDEX = NO HOME_IGNORE_LIMITS = NO #---End Unit Dependent Parameters:mm---# #******************** # Axis Y #******************** [AXIS_1] TYPE = LINEAR #Motor Parameters P = 1000.0 I = 0.0 D = 0.0 FF0 = 0.0 FF1 = 1.0 FF2 = 0.0 BIAS = 0.0 DEADBAND = 0.0 MAX_OUTPUT = 0.0 # these are in nanoseconds DIRSETUP = 5000 DIRHOLD = 5000 STEPLEN = 100 STEPSPACE = 800 #---Unit Dependent Parameters:mm---# #Axis Scale [steps/mm] STEP_SCALE = 833.333333333333 #Velocity [mm/s] and Acceleration [mm/s^2] MAX_VELOCITY = 600 MAX_ACCELERATION = 300 # The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION # If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger. STEPGEN_MAXVEL = 750 STEPGEN_MAXACCEL = 375 # Rapid Speed Following Error [mm]: FERROR = 10.0 # Feed Speed Following Error [mm]: MIN_FERROR = 1.0 #Axis Dimensions [mm] MIN_LIMIT = -0.1 MAX_LIMIT = 2210 HOME = 0 HOME_OFFSET = 0 HOME_SEQUENCE = 0 HOME_SEARCH_VEL = 0.0 HOME_LATCH_VEL = 0.0 HOME_USE_INDEX = NO HOME_IGNORE_LIMITS = NO #---End Unit Dependent Parameters:mm---# #******************** # Axis Z #******************** [AXIS_2] TYPE = LINEAR #Motor Parameters P = 1000.0 I = 0.0 D = 0.0 FF0 = 0.0 FF1 = 1.0 FF2 = 0.0 BIAS = 0.0 DEADBAND = 0.0 MAX_OUTPUT = 0.0 # these are in nanoseconds DIRSETUP = 5000 DIRHOLD = 5000 STEPLEN = 100 STEPSPACE = 800 #---Unit Dependent Parameters:mm---# #Axis Scale [steps/mm] STEP_SCALE = 2153.84615384615 #Velocity [mm/s] and Acceleration [mm/s^2] MAX_VELOCITY = 232.142857142857 MAX_ACCELERATION = 300 # The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION # If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger. STEPGEN_MAXVEL = 290.178571428571 STEPGEN_MAXACCEL = 375 # Rapid Speed Following Error [mm]: FERROR = 10.0 # Feed Speed Following Error [mm]: MIN_FERROR = 1.0 #Axis Dimensions [mm] MIN_LIMIT = -260 MAX_LIMIT = 260 #testmotor#HOME = 260 HOME = 0 HOME_OFFSET = 0 HOME_SEQUENCE = 0 HOME_SEARCH_VEL = 0.0 HOME_LATCH_VEL = 0.0 HOME_USE_INDEX = NO HOME_IGNORE_LIMITS = NO #---End Unit Dependent Parameters:mm---# #******************** # Axis B #******************** [AXIS_4] TYPE = ANGULAR #Motor Parameters P = 1000.0 I = 0.0 D = 0.0 FF0 = 0.0 FF1 = 1.0 FF2 = 0.0 BIAS = 0.0 DEADBAND = 0.0 MAX_OUTPUT = 0.0 # these are in nanoseconds DIRSETUP = 5000 DIRHOLD = 5000 STEPLEN = 2500 STEPSPACE = 2500 #---Unit Dependent Parameters:mm---# #Axis Scale [steps/mm] STEP_SCALE = 200 #Velocity [mm/s] and Acceleration [mm/s^2] MAX_VELOCITY = 800 MAX_ACCELERATION = 750 # The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION # If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger. STEPGEN_MAXVEL = 1000 STEPGEN_MAXACCEL = 937.5 # Rapid Speed Following Error [degree]: FERROR = 0.5 # Feed Speed Following Error [degree]: MIN_FERROR = 0.05 #Axis Dimensions [mm] MIN_LIMIT = -9999 MAX_LIMIT = 9999 HOME = 0 HOME_OFFSET = 0 HOME_SEQUENCE = 0 HOME_SEARCH_VEL = 0.0 HOME_LATCH_VEL = 0.0 HOME_USE_INDEX = NO HOME_IGNORE_LIMITS = NO #******************** # Axis C #******************** [AXIS_5] TYPE = ANGULAR #Motor Parameters P = 1000.0 I = 0.0 D = 0.0 FF0 = 0.0 FF1 = 1.0 FF2 = 0.0 BIAS = 0.0 DEADBAND = 0.0 MAX_OUTPUT = 0.0 # these are in nanoseconds DIRSETUP = 5000 DIRHOLD = 5000 STEPLEN = 100 STEPSPACE = 800 #---Unit Dependent Parameters:mm---# #Axis Scale [steps/degree] STEP_SCALE = 2000 #Velocity [degree/s] and Acceleration [degree/s^2] MAX_VELOCITY = 250 MAX_ACCELERATION = 25 # The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION # If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger. STEPGEN_MAXVEL = 312.5 STEPGEN_MAXACCEL = 31.25 # Rapid Speed Following Error [degree]: FERROR = 0.5 # Feed Speed Following Error [degree]: MIN_FERROR = 0.05 #Axis Dimensions [mm] MIN_LIMIT = -9999 MAX_LIMIT = 9999 HOME = 0 HOME_OFFSET = 0 HOME_SEQUENCE = 0 HOME_SEARCH_VEL = 0.0 HOME_LATCH_VEL = 0.0 HOME_USE_INDEX = NO HOME_IGNORE_LIMITS = NO #Edited -AL #******************** # Axis V #******************** #[AXIS_7] #TYPE = LINEAR #Motor Parameters #P = 1000.0 #I = 0.0 #D = 0.0 #FF0 = 0.0 #FF1 = 1.0 #FF2 = 0.0 #BIAS = 0.0 #DEADBAND = 0.0 #MAX_OUTPUT = 0.0 ## these are in nanoseconds #DIRSETUP = 5000 #DIRHOLD = 5000 #STEPLEN = 100 #STEPSPACE = 800 [AXIS_8] TYPE = LINEAR HOME = 0.000 MAX_VELOCITY = 200.0 MAX_ACCELERATION = 800.0 BACKLASH = 0.000 INPUT_SCALE = 4000 OUTPUT_SCALE = 1.000 MIN_LIMIT = 0.0 MAX_LIMIT = 500.0 FERROR = 2.000 MIN_FERROR = 0.200 HOME_OFFSET = 0.0 HOME_SEARCH_VEL = 0.0 HOME_LATCH_VEL = 0.0 HOME_USE_INDEX = NO HOME_IGNORE_LIMITS = NO HOME_SEQUENCE = 0 #******************** # Spindle #******************** [SPINDLE_9] P = 0.0 I = 0.0 D = 0.0 FF0 = 1.0 FF1 = 0.0 FF2 = 0.0 BIAS = 0.0 DEADBAND = 0.0 MAX_OUTPUT = 1725.0