EasyManua.ls Logo

Vigor VS Series - Page 282

Vigor VS Series
484 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
276
D A S N
I
P
S
D
1
2
M
3
FNC
133
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
S
D
S
D
DASIN D0 D10
X0
S
D
- 1.0S1.0
S
Operand
Devices
Calculate Arc Sine
For to convert the angle unit between the radians and degrees, please refer to the DEG and RAD instructions.
Degree = Radian ×180 / π
This instruction is a 32-bit instruction. Therefore, be sure to input DASIN or DASINP in the program.
S
D
The source operand must assign to a BIN oating point number for the calculation, and the calculated result
is by the BIN oating point format, too.
The format for storing a oating point number will occupy two Registers in the PLC system. Please refer to the
section 2-13 “Numerical System” for the reference of the oating point number.
S : the source device for input the value of sine
D : the device to store the calculated result (unit: radian)
-1
This instruction performs the mathematical Arcsine (inverse sine or sin ) operation by the designated BIN
oating point sine value, and the result of radians is stored in the designated device.
When X0 = “ON”, the instruction is activated, it uses the BIN oating point sine value at (D1, D0) to calculate the
Arcsine value, and the result of radians will be stored at the specied destination devices (D11, D10).
- 1
SIN
0.8660254
=
1.047198
(D11, D10) BIN floating number
(D1, D0) BIN floating number
The calculated result at the (D11, D10) is by the value of radians and the range is between - π / 2 and π / 2.
The PLC will identify it as an operating error if the value of is exceeded the available range -1.0 ~ 1.0.

Table of Contents