280
S
Degree = Radian ×180 / π
This instruction is a 32-bit instruction. Therefore, be sure to input DDEG or DDEGP in the program.
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.
D D E G P
S
D
1
2
M
3
○○○
FNC
137
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
S
D
DDEG D0 D10
X0
S
D
S
D
X0=ON
0.5235988 30
Angle by degrees
Angle by radians
(D1, D0) BIN floating number (D11, D10) BIN floating number
○
Operand
Devices
Convert Angle From Radian to Degrees
S : the source device for input the angle in degrees
D : the calculated result in radians
This instruction performs the mathematical converting operation on the designated BIN oating point radians
of angle, and the result of degrees is stored in the designated device.
When X0 = “ON”, the instruction is activated, it uses the BIN oating point radians at (D1, D0) to convert, and the
result of degrees will be stored at the specied destination devices (D11, D10).