Mitsubishi MELSEC Q Series Programming Manual page 692

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

BATAN(P)
7.12.34
BCD type TAN
BATAN(P)
BATAN
BATANP
Setting
Data
S
D
Function
(1) Performs TAN
(angles) at device designated by
(2) A sign for the operation data is set at
If the operation data is a positive value, this is set at "0", and if it is a negative value, it is set
at "1".
(3) The part before the decimal point and fraction part are stored at
as BCD values.
(Values from 0 to 9999.9999 can be set.)
(4) Operation results stored at
degrees (degree units).
(5) Calculation results are a value from which the decimal fraction part has been rounded.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The operation data designated by
• The device specified by
(For the Universal model QCPU, LCPU.)
7-318
-1
operations (BATAN(P))
Command
Command
: Number of the device where data of which the TAN-1 (inverse tangent) value is obtained is stored
S
(BCD 4 digits)
: Head number of the devices where the operation result will be stored (BCD 4 digits)
D
Internal Devices
R, ZR
Bit
Word
––
-1
(inverse tangent) on value designated by
.
D
S
S
1
TAN
(
Sign
Integer part
are BCD values between 0 and 90 degrees, and 270 and 360
D
exceeds the range of the corresponding device.
S
High
Basic
performance
BATAN
BATANP
J
\
U
\G
Bit
Word
––
and stores operation results
S
+1
S
+2
Decimal fraction part
.
.
S
is not a BCD value.
S
Process
Redundant Universal
LCPU
S
D
S
D
Zn
Constants
Other
––
––
)
D
+1 and
+2 respectively,
S
S
(Error code: 4100)
(Error code: 4101)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents