-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom_postgui.hal
38 lines (31 loc) · 1.52 KB
/
custom_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
# Include your customized HAL commands here
# The commands in this file are run after the AXIS GUI (including PyVCP panel) starts
# set up the rapid to home button
net remote-rapid-to-home halui.mdi-command-00 <= pyvcp.rapid-to-home
net remote-rapid-to-home-xy halui.mdi-command-01 <= pyvcp.rapid-to-home-xy
net remote-go-away-xyz halui.mdi-command-02 <= pyvcp.go-away-xyz
net remote-recenter halui.mdi-command-03 <= pyvcp.recenter
net remote-find-center halui.mdi-command-04 <= pyvcp.find-center
net remote-rect-center halui.mdi-command-05 <= pyvcp.find-rectangle-center
net center-here-xyz halui.mdi-command-06 <= pyvcp.center-here-xyz
net set_z halui.mdi-command-07 <= pyvcp.set_z
net probe parport.0.pin-11-in-not <= pyvcp.probe
# set up spindle speed control
net spindle-cmd-rpm-abs => pyvcp.spindle-speed
sets spindle-at-speed true
# 3D probe
net 3D_probe arduino.probe_3d <= pyvcp.probe_3d
# Temperature
#net water_temp arduino.temperature => pyvcp.temperature
# Timer
loadrt time
loadrt not
addf time.0 servo-thread
addf not.0 servo-thread
net prog-running not.0.in <= halui.program.is-idle
net cycle-timer time.0.start <= not.0.out
net cycle-seconds pyvcp.time-seconds <= time.0.seconds
net cycle-minutes pyvcp.time-minutes <= time.0.minutes
net cycle-hours pyvcp.time-hours <= time.0.hours
#Time estimantion
net time-minutes-sim pyvcp.time-minutes-sim <= axisui.cut_time