-
Notifications
You must be signed in to change notification settings - Fork 0
/
printnc.ini
184 lines (153 loc) · 3.83 KB
/
printnc.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# Generated by stepconf 1.1 at Fri Jun 26 19:50:27 2020
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
MACHINE = printnc
DEBUG = 0x00048000
[DISPLAY]
DISPLAY = axis
GLADEVCP=-c gladevcp -u python/gladevcp-handler.py manualtoolchange.ui
EMBED_TAB_NAME=Probe Screen
EMBED_TAB_COMMAND=halcmd loadusr -Wn probe_screen gladevcp -c probe_screen -x {XID} -u python/probe_screen.py -H probe_icons/probe_screen.hal probe_icons/probe_screen.glade
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm
MAX_FEED_OVERRIDE = 1.4
MIN_SPINDLE_OVERRIDE = 0.5
MAX_SPINDLE_OVERRIDE = 1.2
DEFAULT_LINEAR_VELOCITY = 50
.00
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 200.00
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 1
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
TASK = milltask
CYCLE_TIME = 0.001
# the Python plugins serves interpreter and task
[PYTHON]
# where to find Python code
# code specific for this configuration
PATH_PREPEND=./python
# generic support code
PATH_APPEND=../../nc_files/remap_lib/python-stdglue
# import the following Python module
TOPLEVEL=python/toplevel.py
# the higher the more verbose tracing of the Python plugin
LOG_LEVEL = 100
[RS274NGC]
PARAMETER_FILE = linuxcnc.var
SUBROUTINE_PATH = nc_subroutines:../../nc_files/remap_lib/common_nc_subs:macros
USER_M_PATH=mcodes
FEATURES=30
ON_ABORT_COMMAND=O <on_abort> call
REMAP=M6 modalgroup=6 prolog=change_prolog ngc=manual_change epilog=change_epilog
[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
[TOOL_CHANGE]
CHANGE_POS_X = 925.822
CHANGE_POS_Y = 58.667
CHANGE_POS_Z = 0
PROBE_POS_X = 925.360
PROBE_POS_Y = 59.699
PROBE_POS_Z = -100
MAX_PROBE_Z=-140 # abort change if no toolsensor contact after this probe distance
PROBE_FEED=400
SIGNAL_TOOL_CHANGE_DIN = 3 # motion.digital-in-##, connect this pin in HAL
TIMEOUT_SECS = 3600
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 45000
SERVO_PERIOD = 1000000
[HAL]
HALUI = halui
HALFILE = hal/printnc.hal
HALFILE = hal/probe.hal
HALFILE = hal/joypad.hal
HALFILE = hal/vfd.hal
HALFILE = hal/gladevcp.hal
POSTGUI_HALFILE = hal/custom_postgui.hal
[HALUI]
# add halui MDI commands here (max 64)
[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 25.00
MAX_VELOCITY = 250.00
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[AXIS_0]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 225.0
MAX_ACCELERATION = 300.0
STEPGEN_MAXACCEL = 375.0
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -0.001
MAX_LIMIT = 936.48
HOME_OFFSET = -1.000000
HOME_SEARCH_VEL = -40.00000
HOME_LATCH_VEL = -2.00000
HOME_SEQUENCE = 1
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 225.0
MAX_ACCELERATION = 300.0
STEPGEN_MAXACCEL = 375.0
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -0.001
MAX_LIMIT = 615.7
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -40.00000
HOME_LATCH_VEL = -2.00000
HOME_SEQUENCE = 1
[AXIS_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 131.944444444
MAX_ACCELERATION = 250.0
STEPGEN_MAXACCEL = 312.5
SCALE = -100.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -300.0
MAX_LIMIT = 10.0
HOME_OFFSET = 1.0
HOME_SEARCH_VEL = 35.00000
HOME_LATCH_VEL = 2.00000
HOME_SEQUENCE = 0