-

ATAN2

Image
Function that calculates the arc tangent from given X and Y values in a user specified format.

Parameters:

* Parameter Data Type Description Default
VAR_INPUT
B EN BOOL This function will continue to calculate the ATAN2 result while EN is held high. FALSE
V X LREAL X coordinate LREAL#0.0
V Y LREAL Y coordinate LREAL#0.0
V Output_Format Yt_MA_ATAN2OutputType Format of the output value. INT#0
0: radians (-pi, pi]
1: radians [0, 2*pi)
2: degrees [0°, 360°)
VAR_OUTPUT
B ENO BOOL High if the function is executing normally.

Notes:




 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.