Chapter 16 PLC Function ApplicationsMS300 (High Speed Model)
16-81
API
ATAN
Binary floating point number ATAN operation
135
D P
Bit device Word device
16-bit command
- - - -
32-bit command (9 STEP)
DATAN Continuous
execution type
DATANP 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 ATAN value result.
ATAN value =tan
-1
The figure below shows the relationship between input data and result:
R
S
2
2
-
0
S: Input (TAN value)
R: Result (ATAN value)
When X0=On, the TAN 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
DATAN
D0 D10
D 1 D 0
D 10
D 11
Binary floating point
ATAN value
binary floating point