Delta CT2000 Series User Manual page 526

Table of Contents

Advertisement

API
TAN
D
P
132
Bit device
X
Y
M
K
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
Word device
H
KnX KnY KnM
T
DTAN
D0
RAD value (degree x
D 1
D 0
binary floating point
TAN value
D 11
D 10
binary floating point
Chapter 16 PLC Function CT2000 Series
Binary floating point number TAN operation
16-bit command
C
D
32-bit command (9 STEP)
DTAN
Continuous
execution type
Flag signal: none
D10

180)
16-85
DTANP
Pulse
execution type

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents