EasyManuals Logo
Home>Delta>Controller>DVP-SS2

Delta DVP-SS2 User Manual

Delta DVP-SS2
1006 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
Page #531 background imageLoading...
Page #531 background image
DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
3-410
API
Mnemonic Operands Function
Controllers
ES2/EX2/
EC5
SS2
SA2
SE
SX2
117 D
DEG P
Radian Degree
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
DDEG, DDEGP: 9 steps
S
*
*
*
D
*
PULSE
16-bit
32-bit
ES2/EX2/
EC5
SS2
SA2
SE
SX2
ES2/EX2/
EC5
SS2
SA2
SE
SX2
ES2/EX2/
EC5
SS2
SA2
SE
SX2
Operands:
S: Source device (radian) D: Conversion result (degree)
Explanation
1. Use the following formula to convert radian to degree:
Degree Radian × (180/π)
Flags: M1020 Zero flag, M1021 Borrow flag and M1022 Carry flag.
If the absolute value of the result exceeds the max. floating point value, carry flag M1022 = ON.
If the absolute value of the result is less than the min. floating point value, borrow flag M1021 =
ON.
If the conversion result is 0, zero flag M1020 = ON.
Program Example:
When X0 = ON, convert the radian of the binary floating point in (D1, D0) to degree and save the
binary floating point result in (D11, D10).
X0
DDEG D0 D10
D 1
D 0
D 11
D 10
binary floating point
Radian value
binary floating point
Degree value (radian x 180/ )π

Table of Contents

Other manuals for Delta DVP-SS2

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-SS2 and is the answer not in the manual?

Delta DVP-SS2 Specifications

General IconGeneral
BrandDelta
ModelDVP-SS2
CategoryController
LanguageEnglish

Related product manuals