Bcd Type Sin Operation (Bsin(P)) - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

BSIN(P)
7.12.29

BCD type SIN operation (BSIN(P))

BSIN(P)
BSIN
BSINP
Setting
Data
S
D
Function
(1) Calculates the SIN (sine) value of value (angle) designated by
operation result in the device designated at
designated at
(2) The value designated at
(in units of degrees).
(3) The sign for the operation result stored in
"1" if the result is a negative value.
(4) The operation results stored in
(5) Operation results are rounded off from the fifth decimal place.
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
• The data designated by
• The device specified by
(For the Universal model QCPU, LCPU.)
7-308
Command
Command
: Data of which the SIN (sine) value is obtained or the number of the device where the data 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 and
+2.
D
D
D
SIN
S
Sign
is a BCD value which can be between 0 and 360 degrees
S
+1 and
D
is not a BCD value.
S
is not in the range of from 0 to 360.
S
exceeds the range of the corresponding device.
D
High
Basic
performance
BSIN
BSINP
J
\
U
\G
Bit
Word
––
, and the operation result in the devices
D
D
+ 1
D
+ 2
Integer part
Decimal fraction part
.
will be "0" if the result is a positive value, and
D
+2 are BCD values between
D
Process
Redundant Universal
LCPU
S
D
S
D
Constants
Zn
Other
K, H
––
––
, and stores the sign of the
S
1.000 and 1.000.
(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