EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #690 background imageLoading...
Page #690 background image
7-316
BACOS(P)
7.12.33 BCD type COS
-1
operation (BACOS(P))
BACOS(P)
Function
(1) Returns the COS
-1
(inverse cosine) value of the value designated by , and stores
operation results 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 +1 and +2 respectively,
as BCD values.
(Settings can be between 0 and 1.0000.)
(4) The operation results stored at will be a BCD value in the range of between 0 and 180
°
(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 is not a BCD value. (Error code: 4100)
• The operation data designated by is not in the range of from 1.0000 to 1.0000.
(Error code: 4100)
• The device specified by exceeds the range of the corresponding device.
(For the Universal model QCPU, LCPU.) (Error code: 4101)
: Number of the device where data of which the COS-1 (inverse cosine) value is obtained is stored
(BCD 4 digits)
: Head number of the devices where the operation result will be stored (BCD 4 digits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn Constants Other
Bit Word Bit Word
–– –– ––
––
Process
High
performance
Redundant
Universal
Basic
LCPU
BACOS
Command
Command
BACOSP
BACOSP
BACOS S D
S D
S
D
S
D
S
D
COS
+2
Integer part
Decimal fraction part
.
Sign
+1
)(
D
S
S
S
1
S
S S
D
S
S
S

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals