EasyManua.ls Logo

Delta CP2000 Series - Page 777

Delta CP2000 Series
868 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 16 PLC Function ApplicationsCP2000
16-94
API
TAN
Binary floating point number TAN operation
132
D P
Bit device Word device
16-bit command
32-bit command (9 STEP)
DTAN Continuous
execution type
DTANP 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 value. D: the TAN value result.
The source designated by S can be given as radians or an angle; this is decided by
flag M1018.
When M1018=Off, the operation is in radians mode, where the radians (RAD) value
is equal to (angle ×π/180).
When M1018=On, the operation is in the angle mode, where the angular range is
0°≤ angle <360°.
When calculation results yield 0, M1020=On.
The TAN obtained from the source value designated by S is stored in D.
The following figure displays the relationship between the arc and SIN results:
When X0=On, the TAN value of the designated binary floating point number (D1,
D0) in radians (RAD) will be stored in (D11, D10), with the content consisting of a
binary floating point number.
X0
DTAN D0 D10

Table of Contents

Other manuals for Delta CP2000 Series

Related product manuals