News:

SMF - Just Installed!

Main Menu

GetRotation angle problem

Started by PaaVil, August 27, 2025, 11:36:24 AM

Previous topic - Next topic

PaaVil

If I use GetRotation to get the angle it only goes 0-90 and although the part still rotates the angle starts to go back to 0 when it reaches 90. So if I rotate a part to 100 degrees the GetRotation will go to 90 and then go down to 80. After a long while I found out that it only does that when measuring rotation around x-axle. If i measure from z- or y-axle it works normally and measures to 100. Is this on purpose or is it a bug?

EasyPLC_Master

Can you send an example of the behavior described? a .maq file will be OK.

PaaVil

Here is a maq file with three boxes each made to rotate around a different axis. Rotation is achieved with digital output and angle is shown at analog input.

EasyPLC_Master

OK, seen!
It's a bug regarding angular reading; it will be fixed in the next version.

Thanks for the feedback.