Add Movment inhibit from spindle at speed signal to stop movment on spindown
This commit is contained in:
parent
c577f0de9a
commit
c864c69735
|
@ -8,6 +8,7 @@ loadrt ilowpass count=1
|
|||
loadrt timedelay count=2
|
||||
loadrt or2 count=3
|
||||
loadrt xor2 count=2
|
||||
loadrt not count=1
|
||||
loadrt mux_generic config="bb2"
|
||||
loadrt dsmono count=1
|
||||
loadrt timedelta count=1
|
||||
|
@ -143,7 +144,7 @@ loadusr -Wn cncextension ./cncextension
|
|||
# Amp enable
|
||||
net amp-enable halui.machine.is-on => cncextension.wr0
|
||||
|
||||
#Main Spindle Control
|
||||
# Spindle Control
|
||||
net spindle-main-fwd spindle.0.forward
|
||||
net spindle-main-fwd => cncextension.ch0
|
||||
net spindle-main-fwd => cncextension.ch2
|
||||
|
@ -166,11 +167,16 @@ net spindle-on-timer => or2.0.in0
|
|||
net spindle-off-timer => or2.0.in1
|
||||
net spindle-main-inhibit <= or2.0.out
|
||||
|
||||
# Currently not working override for a axis spindle?
|
||||
addf or2.1 servo-thread
|
||||
net spindle-1-enable => or2.1.in0
|
||||
net spindle-main-inhibit => or2.1.in1
|
||||
net spindle-inhibit <= or2.1.out
|
||||
|
||||
net spindle-main-inhibit => spindle.0.at-speed
|
||||
net spindle-main-inhibit => not.0.in
|
||||
net spindle-main-inhibit-not <= not.0.out
|
||||
net spindle-main-inhibit-not => motion.feed-inhibit
|
||||
|
||||
net spindle-position => spindle.0.revs
|
||||
net spindle-axis-rpm => spindle.0.speed-in
|
||||
|
|
|
@ -16,16 +16,18 @@ net sigIoctlAir iocontrol.0.coolant-mist => xor2.1.in1
|
|||
net air <= xor2.1.out
|
||||
net air => cncextension.wr2
|
||||
|
||||
# alcohol
|
||||
# Alcohol
|
||||
net alcohol pyvcp.alcohol-scale-i => cncextension.pwm
|
||||
net alcoholPrime pyvcp.prime-chkbtn => cncextension.pwmPrime
|
||||
|
||||
# Spindle inhibit
|
||||
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
|
||||
|
||||
# MDI Commands
|
||||
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
|
||||
|
@ -37,7 +39,6 @@ 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
|
||||
|
@ -52,6 +53,7 @@ net alprsy pyvcp.alprsy => pyvcp.alprsyDisp
|
|||
net alintervl pyvcp.alintervl => pyvcp.alintervlDisp
|
||||
net alheight pyvcp.alheight => pyvcp.alheightDisp
|
||||
|
||||
# Jitter display
|
||||
net jitter <= timedelta.0.jitter
|
||||
net jitter => pyvcp.jitter-disp
|
||||
net jitter-reset <= pyvcp.jitter-rst-btn
|
||||
|
|
Loading…
Reference in a new issue