Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: peter81 on March 29, 2020, 01:15:06 PM

Title: ESS and Encoder to read angle
Post by: peter81 on March 29, 2020, 01:15:06 PM
Hello everyone,

i've connected encoder to ESS and I can read encoder counts on my dro. Encoder is 5000ppr. Now I want to convert those counts into degrees so I can read the angle from a dro. What would be the best way of doing this? I've tried to achive this through the PMC but I don't have enough knowlede so any help would be appreciated. Thanks.

Regards,
Peter
Title: Re: ESS and Encoder to read angle
Post by: peter81 on March 30, 2020, 05:25:54 AM
Hello,

i've tried simulation with pmc and when I try to simulate it gives me this error. Anyone knows what's wrong?

Regards,
Peter
Title: Re: ESS and Encoder to read angle
Post by: peter81 on March 30, 2020, 06:22:30 AM
ok I found the error in the mov statement. It needs to be Araw.

Regards,
Peter