Chapter 16 PLC Function ApplicationsC2000-HS
16-81
API
DEG
Diameter → angle
117
D P
Bit device Word device
16-bit command
- - - -
32-bit command (9 STEP)
DDEG Continuous
execution type
DDEGP Pulse
execution type
Flag signal: none
X Y M K H KnX KnY KnM T C D
S * * *
D *
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
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 D0 D10