Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Smoothing of spindle rps factor.
- setp lowpass.0.gain 0.01
- #scale rps to rpm
- setp scale.0.gain 60
- setp encoder.0.position-scale 1.000000
- setp encoder.0.counter-mode 1
- # use interpolated postion because of 1 ppr
- net spindle-position encoder.0.position-interpolated => motion.spindle-revs
- #hooking the low pass in for spindle velocity smoothing (remarked out original line)
- # net spindle-velocity encoder.0.velocity => motion.spindle-speed-in
- net spindle-velocity encoder.0.velocity lowpass.0.in
- net spindle-velfiltered lowpass.0.out scale.0.in motion.spindle-speed-in
- #pin for rpm to pyvcp panel
- net spindle-rpm-filtered scale.0.out
- net spindle-index-enable encoder.0.index-enable <=> motion.spindle-index-enable
- #hook index to a also..
- net spindle-index <= parport.0.pin-11-in
- net spindle-index encoder.0.phase-A
- #net spindle-phase-b encoder.0.phase-B
- net spindle-index encoder.0.phase-Z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement