FUNCTION_BLOCK CartesianToPolar
This function block will change the Cartesian coordinates of the two dimensional space , to polar coordinates , which are connected via:
Scope
Name
Type
Comment
Input
lrX
LREAL
X coordinate
lrY
Y coordinate
Output
lrAngle
Angular coordinate (azimuth)
lrDistance
Radius