ini-test.ini
1 2 # EMC controller parameters for a simulated machine. 3 4 # General note: Comments can either be preceded with a # or ; - either is 5 # acceptable, although # is in keeping with most linux config files. 6 7 # General section ------------------------------------------------------------- 8 [EMC] 9 10 # Version of this INI file 11 VERSION = $Revision$ 12 13 # Name of machine, for use with display, etc. 14 MACHINE = EMC-HAL-SIM-AXIS 15 16 # Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others 17 # DEBUG = 0x7FFFFFFF 18 DEBUG = 0 19 20 # Sections for display options ------------------------------------------------ 21 [DISPLAY] 22 23 # Name of display program, e.g., axis 24 DISPLAY = axis 25 26 # Cycle time, in seconds, that display will sleep between polls 27 CYCLE_TIME = 0.100 28 29 # Path to help file 30 HELP_FILE = doc/help.txt 31 32 # Initial display setting for position, RELATIVE or MACHINE 33 POSITION_OFFSET = RELATIVE 34 35 # Initial display setting for position, COMMANDED or ACTUAL 36 POSITION_FEEDBACK = ACTUAL 37 38 # Highest value that will be allowed for feed override, 1.0 = 100% 39 MAX_FEED_OVERRIDE = 1.2 40 MAX_SPINDLE_OVERRIDE = 1.0 41 # Prefix to be used 42 PROGRAM_PREFIX = ../../nc_files/ 43 44 # Introductory graphic 45 INTRO_GRAPHIC = emc2.gif 46 INTRO_TIME = 5 47 48 EDITOR = gedit 49 50 INCREMENTS = 1 mm, .01 in, .1mm, 1 mil, .1 mil, 1/8000 in 51 [FILTER] 52 PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image 53 PROGRAM_EXTENSION = .py Python Script 54 55 png = image-to-gcode 56 gif = image-to-gcode 57 jpg = image-to-gcode 58 py = python 59 60 # Task controller section ----------------------------------------------------- 61 [TASK] 62 63 # Name of task controller program, e.g., milltask 64 TASK = milltask 65 66 # Cycle time, in seconds, that task controller will sleep between polls 67 CYCLE_TIME = 0.001 68 69 # Part program interpreter section -------------------------------------------- 70 [RS274NGC] 71 72 # File containing interpreter variables 73 PARAMETER_FILE = sim_mm.var 74 75 # Motion control section ------------------------------------------------------ 76 [EMCMOT] 77 78 EMCMOT = motmod 79 80 # Timeout for comm to emcmot, in seconds 81 COMM_TIMEOUT = 1.0 82 83 # BASE_PERIOD is unused in this configuration but specified in core_sim.hal 84 BASE_PERIOD = 0 85 # Servo task period, in nano-seconds 86 SERVO_PERIOD = 1000000 87 88 # Hardware Abstraction Layer section -------------------------------------------------- 89 [HAL] 90 91 # The run script first uses halcmd to execute any HALFILE 92 # files, and then to execute any individual HALCMD commands. 93 # 94 95 # list of hal config files to run through halcmd 96 # files are executed in the order in which they appear 97 HALFILE = core_sim.hal 98 HALFILE = axis_manualtoolchange.hal 99 HALFILE = simulated_home.hal 100 #HALFILE = gamepad.hal 101 102 # list of halcmd commands to execute 103 # commands are executed in the order in which they appear 104 #HALCMD = save neta 105 106 # Single file that is executed after the GUI has started. Only supported by 107 # AXIS at this time (only AXIS creates a HAL component of its own) 108 #POSTGUI_HALFILE = test_postgui.hal 109 110 HALUI = halui 111 112 # Trajectory planner section -------------------------------------------------- 113 [TRAJ] 114 115 AXES = 3 116 COORDINATES = X Y Z 117 HOME = 0 0 0 118 LINEAR_UNITS = mm 119 ANGULAR_UNITS = degree 120 DEFAULT_LINEAR_VELOCITY = 30.48 121 MAX_LINEAR_VELOCITY = 53.34 122 DEFAULT_LINEAR_ACCELERATION = 508 123 MAX_LINEAR_ACCELERATION = 508 124 POSITION_FILE = position_mm.txt 125 126 # Axes sections --------------------------------------------------------------- 127 128 # First axis 129 [AXIS_0] 130 131 TYPE = LINEAR 132 HOME = 0.000 133 MAX_VELOCITY = 30.48 134 MAX_ACCELERATION = 508 135 BACKLASH = 0.000 136 INPUT_SCALE = 157.48 137 OUTPUT_SCALE = 1.000 138 MIN_LIMIT = -254 139 MAX_LIMIT = 254 140 FERROR = 1.27 141 MIN_FERROR = .254 142 HOME_OFFSET = 0.0 143 HOME_SEARCH_VEL = 127 144 HOME_LATCH_VEL = 25.4 145 HOME_USE_INDEX = NO 146 HOME_IGNORE_LIMITS = NO 147 HOME_SEQUENCE = 1 148 HOME_IS_SHARED = 1 149 150 # Second axis 151 [AXIS_1] 152 153 TYPE = LINEAR 154 HOME = 0.000 155 MAX_VELOCITY = 30.48 156 MAX_ACCELERATION = 508 157 BACKLASH = 0.000 158 INPUT_SCALE = 157.48 159 OUTPUT_SCALE = 1.000 160 MIN_LIMIT = -254 161 MAX_LIMIT = 254 162 FERROR = 1.27 163 MIN_FERROR = .254 164 HOME_OFFSET = 0.0 165 HOME_SEARCH_VEL = 127 166 HOME_LATCH_VEL = 25.4 167 HOME_USE_INDEX = NO 168 HOME_IGNORE_LIMITS = NO 169 HOME_SEQUENCE = 1 170 171 # Third axis 172 [AXIS_2] 173 174 TYPE = LINEAR 175 HOME = 0.0 176 MAX_VELOCITY = 30.48 177 MAX_ACCELERATION = 508 178 BACKLASH = 0.000 179 INPUT_SCALE = 157.48 180 OUTPUT_SCALE = 1.000 181 MIN_LIMIT = -50.8 182 MAX_LIMIT = 101.6 183 FERROR = 1.27 184 MIN_FERROR = .254 185 HOME_OFFSET = 25.4 186 HOME_SEARCH_VEL = 127 187 HOME_LATCH_VEL = 25.4 188 HOME_USE_INDEX = NO 189 HOME_IGNORE_LIMITS = NO 190 HOME_SEQUENCE = 0 191 HOME_IS_SHARED = 1 192 193 # section for main IO controller parameters ----------------------------------- 194 [EMCIO] 195 196 # Name of IO controller program, e.g., io 197 EMCIO = io 198 199 # cycle time, in seconds 200 CYCLE_TIME = 0.100 201 202 # tool table file 203 TOOL_TABLE = sim_mm.tbl 204 TOOL_CHANGE_POSITION = 0 0 50.8