Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
7-315
BASIN(P)
1
2
3
4
6
6
7
8
7.12 Special function instructions
7.12.32 BCD type SIN -1 operations (BASIN(P))
7.12.32 BCD type SIN
-1
operations (BASIN(P))
BASIN(P)
Function
(1) Returns the SIN
-1
(inverse sine) value of the value designated by and stores operation
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 +1 and +2 respectively,
as BCD values.
(Settings can be between 0 and 1.0000.)
(4) Operation results stored at are BCD values between 0 and 90 degrees, and 270 and 360
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 is not a BCD value. (Error code: 4100)
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 only.) (Error code: 4101)
: Number of the device where data of which the SIN
-1
(inverse sine) 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
K, H
Other
Bit Word Bit Word
–– –– –– ––
–– ––
Process
High
performance
Redundant
Universal
Basic
BASIN
Command
Command
BASINP
BASINP
BASIN S D
S D
S
D
S
D
S
D
+2
Integer part
Decimal fraction part
.
SignSIN
+1
)(
D
S
S
S
1
S
S S
D
S
S
S