-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprobe_basic_postgui.hal
215 lines (113 loc) · 5.88 KB
/
probe_basic_postgui.hal
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
loadrt time
addf time.0 servo-thread
# expose z tool offset to qtpyvcp
setp qtpyvcp.tool-offset-z.enable true
net tool-offset-z qtpyvcp.tool-offset-z.in <= halui.tool.length_offset.z
setp qtpyvcp.current-tool.enable true
net qt-current-tool qtpyvcp.current-tool.in <= halui.tool.number
net prog-running not.1.in <= halui.program.is-idle
net prog-paused halui.program.is-paused => time.0.pause
net cycle-timer time.0.start <= not.1.out
# *** Probe graphic simulation trigger push probe tip ***
net probe-in => qtpyvcp.probe-in.out
# *** Set line below for actual spindle readout from your hal file ***
#net spindle-rpm-filtered scale_to_rpm.out => qtpyvcp.spindle-encoder-rpm.in
net spindle-fb-rpm-abs-filtered => qtpyvcp.spindle-encoder-rpm.in
# *** set below for the status leds ***
#net enter-hal-input-name-here <= qtpyvcp.1in1.on
#net enter-hal-input-name-here <= qtpyvcp.1in2.on
#net enter-hal-input-name-here <= qtpyvcp.1in3.on
#net enter-hal-input-name-here <= qtpyvcp.1in4.on
#net enter-hal-input-name-here <= qtpyvcp.1in5.on
#net enter-hal-input-name-here <= qtpyvcp.1in6.on
#net enter-hal-input-name-here <= qtpyvcp.1in7.on
#net enter-hal-input-name-here <= qtpyvcp.1in8.on
#net enter-hal-input-name-here <= qtpyvcp.1in9.on
#net enter-hal-input-name-here <= qtpyvcp.1in10.on
#net enter-hal-input-name-here <= qtpyvcp.1in11.on
#net enter-hal-input-name-here <= qtpyvcp.1in12.on
#net enter-hal-input-name-here <= qtpyvcp.1in13.on
#net enter-hal-input-name-here <= qtpyvcp.1in14.on
#net enter-hal-input-name-here <= qtpyvcp.1in15.on
#net enter-hal-input-name-here <= qtpyvcp.1in16.on
#net enter-hal-input-name-here <= qtpyvcp.1in17.on
#net enter-hal-input-name-here <= qtpyvcp.1in18.on
#net enter-hal-input-name-here <= qtpyvcp.1in19.on
#net enter-hal-input-name-here <= qtpyvcp.1in20.on
#net enter-hal-input-name-here <= qtpyvcp.1in21.on
#net enter-hal-input-name-here <= qtpyvcp.1in22.on
#net enter-hal-input-name-here <= qtpyvcp.1in23.on
#net enter-hal-input-name-here <= qtpyvcp.1in24.on
#net enter-hal-input-name-here <= qtpyvcp.1in25.on
#net enter-hal-input-name-here <= qtpyvcp.1in26.on
#net enter-hal-input-name-here <= qtpyvcp.1in27.on
#net enter-hal-input-name-here <= qtpyvcp.1in28.on
#net enter-hal-input-name-here <= qtpyvcp.1in29.on
#net enter-hal-input-name-here <= qtpyvcp.1in30.on
#net enter-hal-input-name-here <= qtpyvcp.1in31.on
#net enter-hal-input-name-here <= qtpyvcp.1in32.on
#net enter-hal-input-name-here <= qtpyvcp.2in1.on
#net enter-hal-input-name-here <= qtpyvcp.2in2.on
#net enter-hal-input-name-here <= qtpyvcp.2in3.on
#net enter-hal-input-name-here <= qtpyvcp.2in4.on
#net enter-hal-input-name-here <= qtpyvcp.2in5.on
#net enter-hal-input-name-here <= qtpyvcp.2in6.on
#net enter-hal-input-name-here <= qtpyvcp.2in7.on
#net enter-hal-input-name-here <= qtpyvcp.2in8.on
#net enter-hal-input-name-here <= qtpyvcp.2in9.on
#net enter-hal-input-name-here <= qtpyvcp.2in10.on
#net enter-hal-input-name-here <= qtpyvcp.2in11.on
#net enter-hal-input-name-here <= qtpyvcp.2in12.on
#net enter-hal-input-name-here <= qtpyvcp.2in13.on
#net enter-hal-input-name-here <= qtpyvcp.2in14.on
#net enter-hal-input-name-here <= qtpyvcp.2in15.on
#net enter-hal-input-name-here <= qtpyvcp.2in16.on
#net enter-hal-input-name-here <= qtpyvcp.2in17.on
#net enter-hal-input-name-here <= qtpyvcp.2in18.on
#net enter-hal-input-name-here <= qtpyvcp.2in19.on
#net enter-hal-input-name-here <= qtpyvcp.2in20.on
#net enter-hal-input-name-here <= qtpyvcp.2in21.on
#net enter-hal-input-name-here <= qtpyvcp.2in22.on
#net enter-hal-input-name-here <= qtpyvcp.2in23.on
#net enter-hal-input-name-here <= qtpyvcp.2in24.on
#net enter-hal-input-name-here <= qtpyvcp.2in25.on
#net enter-hal-input-name-here <= qtpyvcp.2in26.on
#net enter-hal-input-name-here <= qtpyvcp.2in27.on
#net enter-hal-input-name-here <= qtpyvcp.2in28.on
#net enter-hal-input-name-here <= qtpyvcp.2in29.on
#net enter-hal-input-name-here <= qtpyvcp.2in30.on
#net enter-hal-input-name-here <= qtpyvcp.2in31.on
#net enter-hal-input-name-here <= qtpyvcp.2in32.on
# --- OUTPUTS ---
#net enter-hal-output-name-here => qtpyvcp.1out1.on
#net enter-hal-output-name-here => qtpyvcp.1out2.on
#net enter-hal-output-name-here => qtpyvcp.1out3.on
#net enter-hal-output-name-here => qtpyvcp.1out4.on
#net enter-hal-output-name-here => qtpyvcp.1out5.on
#net enter-hal-output-name-here => qtpyvcp.1out6.on
#net enter-hal-output-name-here => qtpyvcp.1out7.on
#net enter-hal-output-name-here => qtpyvcp.1out8.on
#net enter-hal-output-name-here => qtpyvcp.1out9.on
#net enter-hal-output-name-here => qtpyvcp.1out10.on
#net enter-hal-output-name-here => qtpyvcp.1out11.on
#net enter-hal-output-name-here => qtpyvcp.1out12.on
#net enter-hal-output-name-here => qtpyvcp.1out13.on
#net enter-hal-output-name-here => qtpyvcp.1out14.on
#net enter-hal-output-name-here => qtpyvcp.1out15.on
#net enter-hal-output-name-here => qtpyvcp.1out16.on
#net enter-hal-output-name-here => qtpyvcp.2out1.on
#net enter-hal-output-name-here => qtpyvcp.2out2.on
#net enter-hal-output-name-here => qtpyvcp.2out3.on
#net enter-hal-output-name-here => qtpyvcp.2out4.on
#net enter-hal-output-name-here => qtpyvcp.2out5.on
#net enter-hal-output-name-here => qtpyvcp.2out6.on
#net enter-hal-output-name-here => qtpyvcp.2out7.on
#net enter-hal-output-name-here => qtpyvcp.2out8.on
#net enter-hal-output-name-here => qtpyvcp.2out9.on
#net enter-hal-output-name-here => qtpyvcp.2out10.on
#net enter-hal-output-name-here => qtpyvcp.2out11.on
#net enter-hal-output-name-here => qtpyvcp.2out12.on
#net enter-hal-output-name-here => qtpyvcp.2out13.on
#net enter-hal-output-name-here => qtpyvcp.2out14.on
#net enter-hal-output-name-here => qtpyvcp.2out15.on
#net enter-hal-output-name-here => qtpyvcp.2out16.on