On Mon, 11 May 2020 at 01:18, Curtis Dutton <curtd...@gmail.com> wrote:
> Would be possible to use the encoder to output a rotor-angle directly to be > used with an 8i20 or other type drive thus removing the need for the bldc > component when using the yaskawa motor. That can work, and one of the motors on my lathe is commutated exactly that way. I am using Resolvers. If the resolver pole count matches the motor pole count and the resolver is aligned to the motor, then this works: net z-angle hm2_5i24.0.resolver.01.angle hm2_8i20.0003.angle (You will note that I am using the option to address smart-serial devices by their serial number, and that I have one of the very first 8i20s) For the X axis, where nether condition is true, I use bldc to adjust for pole count differences and offset. net x-counts hm2_5i24.0.resolver.00.rawcounts => bldc.0.rawcounts setp bldc.0.scale -16777216 setp bldc.0.poles 8 setp bldc.0.encoder-offset 1700000 net x-angle bldc.0.rotor-angle hm2_8i20.008d.angle -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers