59 lines
2 KiB
Plaintext
59 lines
2 KiB
Plaintext
# Include your customized HAL commands here
|
|
# The commands in this file are run after the AXIS GUI (including PyVCP panel) starts
|
|
|
|
net mpg pyvcp.mpg-chkbtn => cncextension.enableMpg
|
|
|
|
# Vacuume and coolant
|
|
addf xor2.0 servo-thread
|
|
net sigVacuumeBtn pyvcp.vacuume-chkbtn => xor2.0.in0
|
|
net sigIoctlFlood iocontrol.0.coolant-flood => xor2.0.in1
|
|
net vacuume <= xor2.0.out
|
|
net vacuume => cncextension.wr1
|
|
|
|
addf xor2.1 servo-thread
|
|
net sigAirBtn pyvcp.air-chkbtn => xor2.1.in0
|
|
net sigIoctlAir iocontrol.0.coolant-mist => xor2.1.in1
|
|
net air <= xor2.1.out
|
|
net air => cncextension.wr2
|
|
|
|
# alcohol
|
|
net alcohol pyvcp.alcohol-scale-i => cncextension.pwm
|
|
net alcoholPrime pyvcp.prime-chkbtn => cncextension.pwmPrime
|
|
|
|
net spindle-inhibit => pyvcp.feed-inhibit-led
|
|
|
|
addf or2.2 servo-thread
|
|
net touchoffall-btn pyvcp.touchoffall-btn => or2.2.in0
|
|
net button1 cncextension.button2 => or2.2.in1
|
|
|
|
net m600 halui.mdi-command-00 <= pyvcp.m600-btn
|
|
net g0x0y0 halui.mdi-command-01 <= pyvcp.x0y0-btn
|
|
net g53g0x0y0z0 halui.mdi-command-02 <= pyvcp.g53g0x0y0z0-btn
|
|
net g53g0z0 halui.mdi-command-03 <= pyvcp.g53g0z0-btn
|
|
net microscopeHightBtn halui.mdi-command-04 <= pyvcp.g53g0z-40-btn
|
|
net g10l20x0y0z0 halui.mdi-command-05 <= or2.2.out
|
|
net g10l20x20y20 halui.mdi-command-06 <= pyvcp.microscope-btn
|
|
net g53g10l20pin halui.mdi-command-07 <= pyvcp.touchoffpin-btn
|
|
net touchofzpin halui.mdi-command-08 <= pyvcp.touchofz-btn
|
|
|
|
# Collisionavoid
|
|
|
|
net collision-stop => pyvcp.collision-led
|
|
net chuck pyvcp.chuck-chkbtn => collisionavoid.chuck
|
|
setp pyvcp.chuck-chkbtn.changepin 1
|
|
|
|
# Autolevel
|
|
net levelpin pyvcp.level-chkbtn => compensation.enable-in
|
|
net runalprobe halui.mdi-command-09 <= pyvcp.alprobe-btn
|
|
|
|
# Autolevel spinbox display
|
|
net alprsx pyvcp.alprsx => pyvcp.alprsxDisp
|
|
net alprsy pyvcp.alprsy => pyvcp.alprsyDisp
|
|
net alintervl pyvcp.alintervl => pyvcp.alintervlDisp
|
|
net alheight pyvcp.alheight => pyvcp.alheightDisp
|
|
|
|
net jitter <= timedelta.0.jitter
|
|
net jitter => pyvcp.jitter-disp
|
|
net jitter-reset <= pyvcp.jitter-rst-btn
|
|
net jitter-reset => timedelta.0.reset
|