EasyManua.ls Logo

Delta DVP-EX2 - Page 549

Delta DVP-EX2
1006 pages
Print Icon
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...
DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
3-428
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
132 D
TAN P
Tangent
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
DTAN, DTANP: 9 steps
S
*
*
*
D
*
PULSE
16-bit
32-bit
ES2/EX2/
EC5
SS2
SA2
SE
SX2
ES2/EX2/
EC5
SS2
SA2
SE
SX2
ES2/EX2/
EC5
SS2
SA2
SE
SX2
Operands:
S: Source device (0°S360°) D: Operation result
Explanations:
1. TAN instruction performs tangent operation on S and stores the result in D.
2. The value in S can be set as radian or degree by flag M1018.
3. M1018 = OFF, radian mode. RAD = degree ×π/180.
4. M1018 = ON, degree mode. Degree range: 0°degree360°.
5. Flag: M1018 (Flag for Radian/Degree)
6. See the figure below for the relation between the radian and the operation result
R
S
-2
3
2
-2 2
3
2
2
2
-
1
-1
0
-
S: Radian
R: Result (TAN value)
7. If operation result in D is 0, Zero flag M1020 = ON.

Table of Contents

Related product manuals