51
CS-Lab / Re: CSMIO-ENC Spindle Orientation
« on: July 23, 2019, 06:01:21 AM »
No luck at all getting this to work, i asked CSL and got this reply...
Now the only part i have wrong is that i am sharing the encoder between main controller and ENC module - could that be it??
Quote
Construction:
a. M20 macro for spindle positioning can only be used if the spindle is driven by a servo drive that works in position mode (never in opened position loop).
b. If there's gear between a servo motor and a spindle, then it has to be non-slip gear, e.g. toothed belt used.
c. The encoder for revs and spindle angle reading must be installed directly on a spindle or through the non-slip gear (e.g. the tootled belt) , with ratio 1:1.
d. The encoder for revs and spindle angle reading can only be connected to CSMIO-ENC module.
The encode signals can't be used for any other purposes as it will be overloaded this way (it's a common issue).
Settings:
a. Using M20 macro for spindle positioning, you can't use „Align at stop” function at the same time (plugin „Spindle” tab) and reversely.
b. If there is gear between a servo motor and a spindle, then the gear ration should be set in Mach3 in the „Spindle Pulleys” tab (1:1 by default).
c. Set the „Spindle Pulses / Revolution” value in the plugin „Spindle” tab:
The „Spindle Pulses / Revolution” value is encoder pulses number incl. all four edges and the electronic gear in a servo drive (if used).
The M20 macro verifies the set and real position after spindle positioning.
If the difference between those two values is higher than „Const Offset = 1” parameter value, the „M20 ERROR Offset !!!„ error will appear.
The „Const Offset” value can be reasonably adjusted to our needs (the value of 1 is usually optimal).
Now the only part i have wrong is that i am sharing the encoder between main controller and ENC module - could that be it??