[EMC] VERSION = 1.1 MACHINE = g8812 # Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others DEBUG = 0 [DISPLAY] GLADEVCP= osubdemo-ns.ui DISPLAY = axis OPEN_FILE= "" CYCLE_TIME = 0.100 HELP_FILE = doc/help.txt POSITION_OFFSET = RELATIVE POSITION_FEEDBACK = ACTUAL MAX_FEED_OVERRIDE = 1.2 MAX_SPINDLE_OVERRIDE = 1.0 PROGRAM_PREFIX = ../../nc_files/ INTRO_GRAPHIC = linuxcnc.gif INTRO_TIME = 5 #EDITOR = geany INCREMENTS = 1 mm, .01 in, .1mm, 1 mil, .1 mil, 1/8000 in [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 = python3 [RS274NGC] SUBROUTINE_PATH = ../../nc_files/remap_lib/common_nc_subs #RS274NGC_STARTUP_CODE = G21 # this bombs - machine not on yet so no 'I/O' possible #RS274NGC_STARTUP_CODE = M61Q3 # remap T to a named oword subroutine. # The tool number will be passed as parameter #1 # The pocket number will be passed as parameter #2 # if positive return value, commits the tool prepare. # Otherwise just a procedure call. T_COMMAND= ocall # remap M6 to a named oword subroutine. # parameter #1: the current tool-in-spindle # parameter #2: the tool number requested in the last T (prepare) command # parameter #3: pocket of new tool # param #3 at this point in time is useless - dont rely on its value. # This will change once iocontrol is history, and tooltable I/O is # moved to the interpreter. # if positive return value, commits the tool change. # Otherwise just a procedure call. M6_COMMAND= ocall # called on M61 with Q-number as parameter #1 # if positive return value, commits the tool number change. # Otherwise just a procedure call. M61_COMMAND= ocall # handler procedure called on aborts - to cleanup HAL pins etc ON_ABORT_COMMAND= ocall #LOG_FILE= foo.log LOG_LEVEL = 2 # File containing interpreter variables PARAMETER_FILE = sim_mm.var # # define custom G and M codes # # syntax: GCODE= ,, # # argument spec: 0-n characters of the class [A-KMNP-Za-kmnp-z] # an uppercase letter for each required parameter 'word' # a lowercase letter for each optional parameter 'word' # superfluous words present in the current block which are neither required nor optional cause an error message # # an 'S' requires speed > 0 # an 'F' requires feed > 0 [EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 BASE_PERIOD = 0 SERVO_PERIOD = 1000000 [TASK] TASK = milltask CYCLE_TIME = 0.001 [HAL] HALUI = halui HALFILE = core_sim.hal HALFILE = simulated_home.hal POSTGUI_HALFILE = v2_oword_gladevcp_postgui.hal [TRAJ] COORDINATES = X Y Z LINEAR_UNITS = mm ANGULAR_UNITS = degree DEFAULT_LINEAR_VELOCITY = 30.48 MAX_LINEAR_VELOCITY = 53.34 DEFAULT_LINEAR_ACCELERATION = 508 MAX_LINEAR_ACCELERATION = 508 POSITION_FILE = position_mm.txt NO_FORCE_HOMING = 1 [EMCIO] # Name of IO controller program, e.g., io # explicitly support the start-change protocol. # needs to be explicitly enabled for backwards compatibility. # NB: if the start-change pin isn't used it needs to be looped like below to # start-change-ack or an M6 will hang waiting for start-change-ack: # net start-change iocontrol.0.start-change iocontrol.0.start-change-ack #EMCIO = iov2 -support-start-change # starting iov2 like so will create the start-change and start-change-ack pins # but the start-change protocol remains disabled - start-change remains low and # start-change-ack is ignored: EMCIO = iov2 CYCLE_TIME = 0.100 TOOL_TABLE = nstools.tbl TOOL_CHANGE_POSITION = 2 3 10 [KINS] KINEMATICS = trivkins JOINTS = 3 [AXIS_X] MIN_LIMIT = -2540 MAX_LIMIT = 2540 MAX_VELOCITY = 30.48 MAX_ACCELERATION = 508 [JOINT_0] TYPE = LINEAR HOME = 0.000 MAX_VELOCITY = 30.48 MAX_ACCELERATION = 508 MIN_LIMIT = -2540 MAX_LIMIT = 2540 HOME_OFFSET = 0.0 HOME_SEARCH_VEL = 127 HOME_LATCH_VEL = 25.4 HOME_SEQUENCE = 1 HOME_IS_SHARED = 1 [AXIS_Y] MIN_LIMIT = -2540 MAX_LIMIT = 2540 MAX_VELOCITY = 30.48 MAX_ACCELERATION = 508 [JOINT_1] TYPE = LINEAR HOME = 0.000 MAX_VELOCITY = 30.48 MAX_ACCELERATION = 508 MIN_LIMIT = -2540 MAX_LIMIT = 2540 HOME_OFFSET = 0.0 HOME_SEARCH_VEL = 127 HOME_LATCH_VEL = 25.4 HOME_SEQUENCE = 1 [AXIS_Z] MIN_LIMIT = -1000 MAX_LIMIT = 2000 MAX_VELOCITY = 30.48 MAX_ACCELERATION = 508 [JOINT_2] TYPE = LINEAR HOME = 0.0 MAX_VELOCITY = 30.48 MAX_ACCELERATION = 508 MIN_LIMIT = -1000 MAX_LIMIT = 2000 HOME_OFFSET = 25.4 HOME_SEARCH_VEL = 127 HOME_LATCH_VEL = 25.4 HOME_SEQUENCE = 0 HOME_IS_SHARED = 1 [CUSTOM] # currently supported modal group: 1 GCODE= 88.1,1,XYZrF GCODE= 88.2,1,XYpq GCODE= 88.3,1,PQ # creates error message: no modal group #GCODE= 88.3 # currently supported modal groups: 5,6,7,8,9,10 MCODE= 75,5,PQ MCODE= 76,6,PQ MCODE= 77,7,PQ MCODE= 78,8,PQ MCODE= 79,9,PQ MCODE= 80,10,PQ MCODE= 250,10,xyzpq # creates error message: no modal group #MCODE= 76 #MCODE= 76,10,xy