Mitsubishi Electric M800VW Series Programming Manual page 436

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.11 Special Function Instructions
BTAN, BTANP: BCD type TAN operation
Setting
Bit devices
data
X
Y
M
L
F
S
D
[Instruction symbol] [Execution condition]
BTAN
BTANP
 Setting data
Setting data
Data for which the TAN (tangent) value is obtained or the first number of the device
S
where data is stored.
D
The first number of the device to store the operation result.
 Functions
BTAN
 Returns the TAN (tangent) value of the value (angle) designated by (S) and stores the sign of the operation result in the
device designated by (D), and the operation result in the devices designated by (D+1) and (D+2).
Sign
TAN S
=
 BCD values from 0 to 360 degrees (units of degrees) can be designated by (S).
 The sign for the operation result stored in (D) will be "0" if the operation result is a positive value, and "1" if the operation
result is a negative value.
 The operation result stored in (D+1) and (D+2) are BCD values within the range of -57.2901 to 57.2902.
 Operation results are rounded off to four decimal places.
Usable devices
B SB
T SM V
T
C
Command
Command
Meaning
D
D+1
D+2
Decimal
Integer part
.
fraction part
Con-
Word devices
stant
D
R/ZR W SW SD
Z
K
415
Digit
Pointer
designa-
Index
tion
H
P
indicates the sign "BTAN".
S
D
P
S
D
Data type
BCD 4-digit
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents