EasyManua.ls Logo

Delta VP3000 Series - Page 350

Delta VP3000 Series
714 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 7 Second Development PlatformVP3000
341
API Instruction code Operand Function
117 D DEG P S, D
Radian Degree
Type
Operand
Bit devices Word devices
16-bit instruction
- - - -
32-bit instruction (9 steps)
DDEG
Continuous
execution
type
DDEGP
Pulse
execution
type
Associated flag: none
X Y M K H KnX KnY KnM T C D
S
D
Caution for using operand
See the specification of each model for the scope of device’s usage.
Description
S: source of data (radian)
D: result (degree)
Use the following formula to convert radian to degree.
Degree = Radian x (π / 180)
Example
When X0 = ON, designate the degree of binary floating-point number (D1, D0). Convert the
radian into degree and store the result in binary floating point in (D11, D10).
X0
DDEG D0 D10

Table of Contents

Related product manuals