Chapter 16 PLC Function ApplicationsMS300 (High Speed Model)
16-80
API
ACOS
Binary floating point number ACOS operation
134
D P
Bit device Word device
16-bit command
- - - -
32-bit command (9 STEP)
DACOS Continuous
execution type
DACOS
P
Pulse
execution type
Flag signal: none
X Y M K H KnX KnY KnM T C D
S
* *
*
D
*
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
S: the designated source (binary floating point number). D: the ACOS value result.
ACOS value =cos
-1
The figure below shows the relationship between input data and result:
R
S
2
0 1,0-1,0
S: Input (COS value)
R: Result (ACOS value)
When X0=On, the ACOS value obtained from the designated binary floating point
number (D1, D0) will be stored in (D11, D10), with the content consisting of a
binary floating point number.
X0
DACOS D0 D10
D 1 D 0
D 10