Chapter 16 PLC Function ApplicationsC2000-HS
16-80
API
RAD
Angle → Diameter
116
D P
Bit device Word device
16-bit command
- - - -
32-bit command (9 STEP)
DRAD Continuous
execution type
DRADP 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 (angle). D: result of transformation (diameter).
Uses the following formula to convert angles to radians.
Diameter =Angle × (π/180)
When X0=On, the angle of the designated binary floating point number (D1, D0)
will be converted to radians and stored in (D11, D10), with the content consisting
of a binary floating point number.
X0
DRAD D0 D10