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