Mitsubishi MELSEC Q Series Programming Manual page 688

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

Advertisement

BASIN(P)
7.12.32
BCD type SIN
BASIN(P)
BASIN
BASINP
Setting
Data
S
D
Function
(1) Returns the SIN
results (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.
(Settings can be between 0 and 1.0000.)
(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 data designated by
• Data designated by
• The device specified by
(For the Universal model QCPU, LCPU.)
7-314
-1
operations (BASIN(P))
Command
Command
: Number of the device where data of which the SIN
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 sine) value of the value designated by
S
S
1
SIN
(
Sign
Integer part
are BCD values between 0 and 90 degrees, and 270 and 360
D
is not a BCD value.
S
is not in the range of from
S
exceeds the range of the corresponding device.
S
High
Basic
performance
BASIN
BASINP
-1
(inverse sine) value is obtained is stored
J
\
U
\G
Bit
Word
––
.
D
+1
S
+2
Decimal fraction part
.
.
S
1.0000 to 1.0000.
Process
Redundant Universal
LCPU
S
D
S
D
Constants
Zn
Other
K, H
––
––
––
––
and stores operation
S
)
D
+1 and
+2 respectively,
S
S
(Error code: 4100)
(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