I'm controlling spindle VFD with C6 board (with reference voltage 0-10V) from
cnc4pc:
http://www.cnc4pc.com/Store/osc/product_info.php?cPath=25&products_id=58
and here is complete setup for running this, and it runs perfectly for me:
setp stepgen.2.position-scale 1
setp stepgen.2.maxvel 18000
setp stepgen.2.steplen 20000
setp stepgen.2.stepspace 0
setp stepgen.2.dirhold 20000
setp stepgen.2.dirsetup 20000
setp stepgen.2.maxaccel 200
# Enable
net spindle-enable <= motion.spindle-on => stepgen.2.enable
# Connect spindle speed to scaler
net spindle-cmd motion.spindle-speed-out => scale.0.in #
# Connect scaler output to stepgen velocity
net spindle-freq <= scale.0.out => stepgen.2.velocity-cmd #
# Connect output to the pin for the analog voltage of cnc4pc board
net spindle-out <= stepgen.2.step => parport.0.pin-14-out #
# Control of spindle on/off over the relay instead of triac
net spindle-fwd motion.spindle-forward => parport.0.pin-16-out
Now what I want is only to connect this with RPM display in pyvcp.
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users