7 APPLICATION INSTRUCTIONS
7.12 Special Function Instructions
609
7
• The following program seeks the inverse sine of the 64-bit floating decimal point real number at D0 to D3, and outputs the
angle to the 4 BCD digits at Y40 to Y4F.
[Ladder Mode]
[List Mode]
[Operations involved when the D0 to D3 value is 0.5]
Calculates an angle (radian value)
by SIN operation ( ).
Converts the radian value into
an angle ( ).
Converts the angle in 64-bit floating-point
real number into an integer ( ).
Outputs the integer-converted angle to a
display device ( ).
1
1
2
3
4
64-bit floating-point
real number
D1
0.5
D0D3 D2
64-bit floating-point
real number
D21
30
D20D23 D22
64-bit floating-point
real number
D11
0.5235988
D10D13 D12
Conversion
to BIN
INTD
BCD operation
BCD
ASIND
Conversion to angle
DEGD
Y4F
BCD value
0
030
Y40
D30
b15 b0
BIN value
30
SIN operation
1
1
2
3
4