# Generated by PNCconf at Wed Mar 23 09:42:27 2022 # Using LinuxCNC version: 2.8 # Все изменения в этом файле будут перезаписаны # overwritten when you run PNCconf again [EMC] MACHINE = 7I96_GMOC DEBUG = 0 VERSION = 1.1 [DISPLAY] DISPLAY = gmoccapy # Probe sensor screen EMBED_TAB_NAME=Probe Screen EMBED_TAB_LOCATION = ntb_user_tabs EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x {XID} -u python/probe_screen.py -H probe_icons/probe_screen.hal probe_icons/probe_screen.glade POSITION_OFFSET = RELATIVE POSITION_FEEDBACK = ACTUAL MAX_FEED_OVERRIDE = 2.000000 MAX_SPINDLE_OVERRIDE = 1.000000 MIN_SPINDLE_OVERRIDE = 0.500000 INTRO_GRAPHIC = linuxcnc.gif INTRO_TIME = 5 PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files 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 GEOMETRY = xyz [FILTER] PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image PROGRAM_EXTENSION = .py Python Script PROGRAM_EXTENSION = .ngc gcode file PROGRAM_EXTENSION = .txt possible gcode file png = image-to-gcode gif = image-to-gcode jpg = image-to-gcode py = python [TASK] TASK = milltask CYCLE_TIME = 0.010 [RS274NGC] PARAMETER_FILE = linuxcnc.var # Probe sensor screen FEATURES=30 SUBROUTINE_PATH = macros REMAP=M6 modalgroup=6 prolog=change_prolog ngc=manual_change epilog=change_epilog [EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 SERVO_PERIOD = 1000000 [HMOT] # **** This is for info only **** CARD0=hm2_7i96.0 [HAL] HALUI = halui HALFILE = 7I96_GMOC.hal HALFILE = custom.hal HALFILE = LIB:xhc-hb04.tcl POSTGUI_HALFILE = postgui_call_list.hal SHUTDOWN = shutdown.hal [KINS] JOINTS = 3 KINEMATICS = trivkins coordinates=XYZ [TRAJ] COORDINATES = XYZ LINEAR_UNITS = mm ANGULAR_UNITS = degree DEFAULT_LINEAR_VELOCITY = 3.33 MAX_LINEAR_VELOCITY = 33.33 POSITION_FILE = position.txt NO_FORCE_HOMING = 1 [EMCIO] EMCIO = io CYCLE_TIME = 0.100 TOOL_TABLE = tool.tbl TOOL_CHANGE_QUILL_UP = 1 #****************************************** [AXIS_X] MAX_VELOCITY = 33.3333333333 MAX_ACCELERATION = 750.0 MIN_LIMIT = -0.01 MAX_LIMIT = 200.0 [JOINT_0] TYPE = LINEAR HOME = 0.0 FERROR = 10.0 MIN_FERROR = 1.0 MAX_VELOCITY = 33.3333333333 MAX_ACCELERATION = 750.0 # 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 = 41.67 STEPGEN_MAXACCEL = 937.50 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 = 10000 DIRHOLD = 10000 STEPLEN = 5000 STEPSPACE = 5000 STEP_SCALE = 2000.0 MIN_LIMIT = -0.01 MAX_LIMIT = 200.0 HOME_OFFSET = 0.0 #****************************************** #****************************************** [AXIS_Y] MAX_VELOCITY = 33.3333333333 MAX_ACCELERATION = 750.0 MIN_LIMIT = -0.01 MAX_LIMIT = 200.0 [JOINT_1] TYPE = LINEAR HOME = 0.0 FERROR = 10.0 MIN_FERROR = 1.0 MAX_VELOCITY = 33.3333333333 MAX_ACCELERATION = 750.0 # 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 = 41.67 STEPGEN_MAXACCEL = 937.50 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 = 10000 DIRHOLD = 10000 STEPLEN = 5000 STEPSPACE = 5000 STEP_SCALE = 2000.0 MIN_LIMIT = -0.01 MAX_LIMIT = 200.0 HOME_OFFSET = 0.0 #****************************************** #****************************************** [AXIS_Z] MAX_VELOCITY = 33.3333333333 MAX_ACCELERATION = 750.0 MIN_LIMIT = -0.01 MAX_LIMIT = 100.0 [JOINT_2] TYPE = LINEAR HOME = 0.0 FERROR = 10.0 MIN_FERROR = 1.0 MAX_VELOCITY = 33.3333333333 MAX_ACCELERATION = 750.0 # 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 = 41.67 STEPGEN_MAXACCEL = 937.50 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 = 10000 DIRHOLD = 10000 STEPLEN = 5000 STEPSPACE = 5000 STEP_SCALE = 2000.0 MIN_LIMIT = -0.01 MAX_LIMIT = 100 HOME_OFFSET = 0.0 #****************************************** [SPINDLE_0] 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 = 4000.0 ENCODER_SCALE = 1000.0 #****************************************** # Probe sensor screen [TOOLSENSOR] # Absolute coordinates of the toolsetter pad X = 10 Y = 10 # Absolute Z start search coordinates Z = 60 # Maximum search distance and direction (sign) MAXPROBE = -60 # Speed of movements during working in Probe Screen RAPID_SPEED = 600 # Diameter of toolsetter pad TS_DIAMETER = 10 # The speed of the reverse rotation of the spindle when measuring the tool diameter REV_ROTATION_SPEED = 300 [CHANGE_POSITION] # Abs coordinates tool change point X = 10 Y = 10 Z = 60 [PYTHON] PATH_PREPEND = ./python TOPLEVEL = python/toplevel.py [XHC-HB04] BUTTON=01:button-goto-zero BUTTON=02:button-start-pause BUTTON=03:button-rewind BUTTON=04:button-probe-z BUTTON=05:button-macro-3 BUTTON=06:button-half BUTTON=07:button-zero BUTTON=08:button-safe-z BUTTON=09:button-home BUTTON=0A:button-macro-1 BUTTON=0B:button-macro-2 BUTTON=0C:button-spindle BUTTON=0D:button-step BUTTON=0E:button-mode BUTTON=0F:button-macro-6 BUTTON=10:button-macro-7 BUTTON=16:button-stop BUTTON=17:button-reset [XHC_HB04_CONFIG] # specify layout = n for LIB:xhc-hb04-layout{n}.cfg files layout = 2 # coords: specify upto 4 letters from set {x y z a b c u v w} # coords: switch labels are xyza but any unique 4 letters # from the set {xyxabcuvw) can be used (if the coord exists) coords = x y z # lowpass settings: # coef: slows rate of change of output, range: 0 < coef < 1 coefs = 1 1 1 1 # mpg_accels: provision for reduced acceleration for mpg jogging mpg_accels = 10 50 200 500 # scale plus or minus, rotaries may require larger scale factor: scales = 1 1 1 1 # require_pendant = no: create xhc-hb04 hal pins when pendant not connecte # at startup require_pendant = no # inch_or_mm = in | mm inch_or_mm = mm # jogmode normal(default) or vnormal or plus-minus jogmode = normal # sequence 1: 0.001,0.010,0.100,1.000 (mm-based machine) # sequence 2: 0.001,0.005,0.010,0.020 (inch-based machine) # sequence 3: 0.001,0.010,0.100 # sequence 4: 0.001,0.005,0.010,0.020,0.050,0.100 # sequence 5: 0.001,0.010,0.050,0.100,1.000 sequence = 1 [XHC_HB04_BUTTONS] # use button names according to layout file LIB:xhc-hb04-layout{n}.cfg # note: "start-pause" is connected for standard behavior # controlling halui.pause/halui.resume/halui.run # these are examples, edit as required: goto-zero = halui.mdi-command-00 # synthesized per-axis buttons for goto-zero button: goto-zero-x = "" goto-zero-y = "" goto-zero-z = "" goto-zero-a = "" start-pause = std_start_pause rewind = halui.program.step # probe-input for simulating a probe: probe-z = "" macro-3 = halui.mdi-command-03 half = halui.spindle.stop # synthesized per-axis buttons for half button: half-x = "" half-y = "" half-z = "" half-a = "" zero = "" # synthesized per-axis buttons for zero button: zero-x = halui.mdi-command-12 zero-y = halui.mdi-command-13 zero-z = halui.mdi-command-14 zero-a = halui.mdi-command-15 safe-z = halui.mdi-command-10 # in this sim, home-all only works first time, hold down till finished: #home = halui.home-all macro-1 = halui.mdi-command-01 macro-2 = halui.mdi-command-02 spindle = halui.spindle.start step = xhc-hb04.stepsize-up mode = "" macro-6 = halui.mdi-command-06 macro-7 = halui.mdi-command-07 stop = halui.program.stop reset = halui.estop.activate [HALUI] # these are examples, edit as required: # a halui hal pin is created for each MDI_COMMAND below # halui.mdi-command-00, halui.mdi-command-01,... etc MDI_COMMAND=G0 X0 Y0 Z0 MDI_COMMAND=(debug, example: mdi-01) MDI_COMMAND=(debug, example: mdi-02) #03 M110: clears notifications MDI_COMMAND=M110 MDI_COMMAND=(debug, example: mdi-04) MDI_COMMAND=(debug, example: mdi-05) MDI_COMMAND=(debug, example: mdi-06) #07 M101: example print to stdout MDI_COMMAND=M101 MDI_COMMAND=(debug, example: mdi-08) MDI_COMMAND=(debug, example: mdi-09) MDI_COMMAND=(debug, example: mdi-10) MDI_COMMAND=(debug, example: mdi-11) #12 MDI_COMMAND= G10 L20 P0 X0 #13 MDI_COMMAND= G10 L20 P0 Y0 #14 MDI_COMMAND= G10 L20 P0 Z0 #15 MDI_COMMAND= G10 L20 P0 C0 [APPLICATIONS] APP = xhc-hb04-accels APP = monitor-xhc-hb04