ARCCOS (89)
ARCCOS (89)
ID 89
Application: |
PLC |
SIM |
Group: MATH
Short description:
Arccosine trigonometric function.
Inputs (1):
no. |
type |
impulse |
mark |
notes |
1 |
R |
no |
x |
Real type input |
Outputs (2):
no. |
type |
impulse |
mark |
notes |
1 |
R |
no |
y |
Function output value (in radians) |
2 | B | no | error | Input value error |
Settings: none
Function operation:
The ARCCOS function carries out the operation of the arccosine trigonometric function. The real value is given at input x and then the arc cosine function value is calculated. If the input value is outside the range of the function domain, the error output is activated and the y output is π for x <-1 or 0 for x> 1.
R registers and M markers used: none