Y_MA_CalcStartAngle
Calculates the start angle of an arc based on the center of the arc and the start point of the arc. Angle is in degrees.
Parameters:
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_INPUT | ||||
| B | EN | BOOL | This function will continue to operate while EN is TRUE. | FALSE |
| V | StartX | LREAL | Start X coordinate of arc. | LREAL#0.0 |
| V | StartY | LREAL | Start Y coordinate of arc. | LREAL#0.0 |
| V | CenterX | LREAL | Center X coordinate of arc. | LREAL#0.0 |
| V | CenterY | LREAL | Center Y coordinate of arc. | LREAL#0.0 |
| VAR_OUTPUT | ||||
| B | ENO | BOOL | TRUE if the function is executing normally | |
Notes:
Type of the output of the FU : LREAL