Page 1 of 1

spindle rotation

Posted: Tue Jun 21, 2016 4:12 pm
by larryl
i would like to invert the spindle signal -+ for m3 m4 using dac out lug78 dac com lug79 is this possible thank you. ( -10 cw +10 ccw, instead of 0 10 and inverter rev, inverter fwd.)

Re: spindle rotation

Posted: Tue Jul 05, 2016 5:46 pm
by cncsnw
I do not know what "lug78" and "lug79" are.

The usual spindle DAC output on the GPIO4D (H6, terminals 11 and 12) cannot provide a bipolar (+/-) output. It can only provide a 0-10V output.

If you are not using all four axis outputs from the GPIO4D (H14 - H11), then you can use one of the spare axis outputs (typically the fourth one, on H11) for your spindle analog output instead.

This requires custom PLC programming, to calculate the appropriate bipolar DAC value based on speed and direction; to write it to the correct address for the axis analog output; and to turn on that axis enable whenever the spindle is enabled.