FC_RotationAboutX - General Information
Type: |
Function |
Available as of: |
V1.0.3.0 |
Versions: |
Current version |
Rotation of a point in the 3-dimensional space about the X axis.
Carries out a rotation of the point represented by the position vector i_stV about the X axis using the angle i_lrAngle in an anti-clockwise direction. For this purpose, the angle i_lrAngle must be specified in degrees.
Input |
Data type |
Description |
---|---|---|
i_stV |
Position vector of the point to be rotated |
|
i_lrAngle |
LREAL |
Angle by which the point is to be rotated |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to an diagnostic message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Diagnostic message |
Data type |
Description |
---|---|
Coordinates of the mapped point |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The coordinates of the mapped point have been calculated successfully.