Chapter 16 PLC Function CT2000 Series
API
DEG
D
117
Bit device
X
Y
M
S
*
D
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
P
Word device
K
H
KnX KnY KnM
*
S: data source (diameter). D: results of transformation (angle).
Uses the following formula to convert radians to an angle.
Angle =Diameter × (180/π)
When X0=On, angle of the designated binary floating point number (D1, D0) in
radians will be converted to an angle and stored in (D11, D10), with the content
consisting of a binary floating point number.
X0
DDEG
D 1
D 0
D 11
D 10
Diameter → angle
16-bit command
-
T
C
D
*
32-bit command (9 STEP)
*
DDEG
Flag signal: none
D0
D10
徑度值
2 進小數點
(
180/ )
角度值 徑度值
X
2 進小數點
16-74
-
-
Continuous
DDEGP
execution type
execution type
-
Pulse