Uni-dreh.ini
1 # EMC controller parameters for generic controller. Make these what you need 2 # for your system. 3 # General note: Comments can either be preceded with a # or ; - either is 4 # acceptable, although # is in keeping with most linux config files. 5 # General section ------------------------------------------------------------- 6 7 [EMC] 8 # Version of this INI file 9 VERSION = 1.1 10 # Name of machine, for use with display, etc. 11 MACHINE = UNI-DREH 12 # Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others 13 # DEBUG = 0x00000003 14 # DEBUG = 0x00000007 15 # DEBUG = 0x7FFFFFFF 16 DEBUG = 0 17 # Sections for display options ------------------------------------------------ 18 19 [DISPLAY] 20 LATHE = 1 21 #DISPLAY = tklinuxcnc 22 DISPLAY = axis 23 #EDITOR = gedit 24 # Cycle time, in seconds, that display will sleep between polls 25 CYCLE_TIME = 0.200 26 # Path to help file 27 HELP_FILE = doc/help.txt 28 # Initial display setting for position, RELATIVE or MACHINE 29 POSITION_OFFSET = RELATIVE 30 # Initial display setting for position, COMMANDED or ACTUAL 31 POSITION_FEEDBACK = ACTUAL 32 # Highest value that will be allowed for feed override, 1.0 = 100% 33 MAX_FEED_OVERRIDE = 2.0 34 # Prefix to be used 35 PROGRAM_PREFIX = ../../nc_files/ 36 # Introductory graphic 37 INTRO_GRAPHIC = linuxcnc.gif 38 INTRO_TIME = 5 39 # Task controller section ----------------------------------------------------- 40 41 [FILTER] 42 PROGRAM_EXTENSION = .py Python Script 43 py = python 44 # Trajectory planner section -------------------------------------------------- 45 46 [RS274NGC] 47 # File containing interpreter variables 48 PARAMETER_FILE = stepper.var 49 # Motion control section ------------------------------------------------------ 50 51 [EMCMOT] 52 EMCMOT = motmod 53 # Timeout for comm to emcmot, in seconds 54 COMM_TIMEOUT = 1.0 55 # Base task period, in seconds - this is the fastest thread in the machine 56 BASE_PERIOD = 50000 57 # Servo task period, in seconds - will be rounded to an integer multiple 58 # of BASE_PERIOD 59 SERVO_PERIOD = 1000000 60 # Trajectory Planner task period, in seconds - will be rounded to an 61 # integer multiple of SERVO_PERIOD 62 TRAJ_PERIOD = 10000000 63 # Hardware Abstraction Layer section -------------------------------------------------- 64 65 [TASK] 66 # Name of task controller program, e.g., bridgeporttask 67 TASK = milltask 68 # Cycle time, in seconds, that task controller will sleep between polls 69 CYCLE_TIME = 0.010 70 # Part program interpreter section -------------------------------------------- 71 72 [HAL] 73 # The run script first uses halcmd to execute any HALFILE 74 # files, and then to execute any individual HALCMD commands. 75 # 76 # list of hal config files to run through halcmd 77 # files are executed in the order in which they appear 78 HALFILE = core_stepper.hal 79 HALFILE = standard_pinout.hal 80 # list of halcmd commands to execute 81 # commands are executed in the order in which they appear 82 #HALCMD = save neta 83 # Section Filter 84 85 [HALUI] 86 #No Content 87 88 [TRAJ] 89 COORDINATES = X Z 90 HOME = 0 0 0 91 LINEAR_UNITS = mm 92 ANGULAR_UNITS = degree 93 DEFAULT_LINEAR_VELOCITY = 2 94 MAX_LINEAR_VELOCITY = 50 95 DEFAULT_LINEAR_ACCELERATION = 20.0 96 MAX_LINEAR_ACCELERATION = 20.0 97 # Axes sections --------------------------------------------------------------- 98 # First axis 99 100 [EMCIO] 101 # Name of IO controller program, e.g., io 102 EMCIO = io 103 # cycle time, in seconds 104 CYCLE_TIME = 0.100 105 # tool table file 106 TOOL_TABLE = stepper.tbl 107 108 [KINS] 109 KINEMATICS = trivkins 110 JOINTS = 3 111 112 [AXIS_X] 113 MIN_LIMIT = -50.0 114 MAX_LIMIT = 50.0 115 MAX_VELOCITY = 5 116 MAX_ACCELERATION = 20.0 117 118 [JOINT_0] 119 TYPE = LINEAR 120 HOME = 0.000 121 MAX_VELOCITY = 5 122 MAX_ACCELERATION = 20.0 123 STEPGEN_MAXVEL = 6 124 STEPGEN_MAXACCEL = 22 125 BACKLASH = 0.000 126 SCALE = -800 127 MIN_LIMIT = -50.0 128 MAX_LIMIT = 50.0 129 FERROR = 0.500 130 MIN_FERROR = 0.500 131 HOME_OFFSET = 0.0 132 HOME_SEARCH_VEL = 0.0 133 HOME_LATCH_VEL = 0.0 134 HOME_USE_INDEX = NO 135 HOME_IGNORE_LIMITS = NO 136 # Second axis 137 138 [AXIS_Y] 139 MIN_LIMIT = -32.0 140 MAX_LIMIT = 32.0 141 MAX_VELOCITY = 5 142 MAX_ACCELERATION = 20.0 143 144 [JOINT_1] 145 TYPE = LINEAR 146 HOME = 0.000 147 MAX_VELOCITY = 5 148 MAX_ACCELERATION = 20.0 149 STEPGEN_MAXVEL = 6 150 STEPGEN_MAXACCEL = 22 151 BACKLASH = 0.000 152 SCALE = -800 153 MIN_LIMIT = -32.0 154 MAX_LIMIT = 32.0 155 FERROR = 0.500 156 MIN_FERROR = 0.500 157 HOME_OFFSET = 0.0 158 HOME_SEARCH_VEL = 0.0 159 HOME_LATCH_VEL = 0.0 160 HOME_USE_INDEX = NO 161 HOME_IGNORE_LIMITS = NO 162 # Third axis 163 164 [AXIS_Z] 165 MIN_LIMIT = -145.0 166 MAX_LIMIT = 145.0 167 MAX_VELOCITY = 5 168 MAX_ACCELERATION = 20.0 169 170 [JOINT_2] 171 TYPE = LINEAR 172 HOME = 0.0 173 MAX_VELOCITY = 5 174 MAX_ACCELERATION = 20.0 175 STEPGEN_MAXVEL = 6 176 STEPGEN_MAXACCEL = 22 177 BACKLASH = 0.000 178 SCALE = -800 179 MIN_LIMIT = -145.0 180 MAX_LIMIT = 145.0 181 FERROR = 0.500 182 MIN_FERROR = 0.010 183 HOME_OFFSET = 0.0 184 HOME_SEARCH_VEL = 0.0 185 HOME_LATCH_VEL = 0.0 186 HOME_USE_INDEX = NO 187 HOME_IGNORE_LIMITS = NO 188 # section for main IO controller parameters -----------------------------------