15.4.7 FC 118 - Arc Tangent(x) - Arcustangent
The function FC 118 expects the input value in ACCU 1 as a floating point number.
1. The input value must be within the range between
-1 (REAL = -0.1000000e+01) ... +1 (REAL = +0.1000000e+01)
2. The function also stores the result in ACCU 1 as a floating point number.
3. The input value DWORD = DW#16#0000 0000 is treated the same way as the
floating point value zero (REAL = +0.0000000e+00 in accordance with DWORD =
DW#16#8000 0000).
4. If the input value is greater than REAL = +0.1209486e+07, the result + p/2 is
issued.
If the input value is less than REAL = -0.5773456e+07, the result p/2 is issued.
ð
The RLO ENO is set to signal state FALSE.
Parameters
Parameter Declaration Data Type Memory Area Description
EN INPUT BOOL I, Q, M, D, L
n Enable
– TRUE: activates the function
– FALSE: deactivates the function
ENO OUTPUT BOOL I, Q, M, D, L
n Status
– TRUE: function executed with error
In the event of an error, if the input value is out of range of -1 ... +1, the function sets the
RLO signal state ENO to TRUE. The assignment of the remaining registers and the auxil-
iary flags are not changed.
This function is only used to convert the FB107 of an existing S5 program
to a function of an S7 program programmable controller.
15.4.8 FC 119 - Arc Cotangent(x) - Arcuscotangent
The function FC 119 expects the input value in ACCU 1 as a floating point number.
1. The input value must be within the range between
-1 (REAL = -0.1000000e+01) ... +1 (REAL = +0.1000000e+01)
2. The function also stores the result in ACCU 1 as a floating point number.
3. The input value DWORD = DW#16#0000 0000 is treated the same way as the
floating point value zero (REAL = +0.0000000e+00 in accordance with DWORD =
DW#16#8000 0000).
4. If the input value is greater than REAL = +1.209486e+07, the result +p/2 is issued.
If the input value is less than REAL = -0.5773456e+07, the result p/2 is issued.
ð
The RLO ENO is set to signal state FALSE.
Description
Error information
Description
VIPA SPEED7
Standard
S5 Converting > FC 119 - Arc Cotangent(x) - Arcuscotangent
HB00 | OPL_SP7 | Operation list | en | 18-30 830