5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-3
Instruction code
Model
supported
Step
Type API
16-bit 32-bit
Pulse
instruction
Function
20PM 16-bit 32-bit
Page
No.
122
– DEMUL
Binary floating-point multiplication
7 9 5-102
123
– DEDIV
Binary floating-point division
7 9 5-103
124
– DEXP
Exponent of a binary floating-point
value
– 6 5-104
125
– DLN
Natural logarithm of a binary
floating-point value
– 6 5-105
126
– DLOG
Logarithm of a binary floating-point
value
– 9 5-106
127
–
DESQR
Square root of a binary floating-point
value
5 6 5-107
128
– DPOW
Power of a floating-point value
– 9 5-108
129
–
DINT
Converting a binary floating-point value
into a binary integer
– 6 5-109
130
– DSIN
Sine of a binary floating-point value
5 6 5-110
131
–
DCOS
Cosine of a binary floating-point value
5 6 5-112
132
– DTAN
Tangent of a binary floating-point value
5 6 5-114
133
– DASIN
Arcsine of a binary floating-point value
– 6 5-116
134
– DACOS
Arccosine of a binary floating-point
value
– 6 5-117
135
– DATAN
Arctangent of a binary floating-point
value
– 6 5-118
136
– DSINH
Hyperbolic sine of a binary
floating-point value
– 6 5-119
137
– DCOSH
Hyperbolic cosine of a binary
floating-point value
– 6 5-120
138
– DTANH
Hyperbolic tangent of a binary
floating-point value
– 6 5-121
172
– DADDR
Floating-point addition
– 13 5-122
173
– DSUBR
Floating-point subtraction
– 13 5-123
174
– DMULR
Floating-point multiplication
– 13 5-124
Floating-point value
175
– DDIVR
Floating-point division
– 13 5-125
215
LD& DLD& – S1&S2
5 7 5-126
216
LD| DLD| – S1|S2
5 7 5-126
217
LD^ DLD^ – S1^S2
5 7 5-126
218
AND& DAND& – S1&S2
5 7 5-127
219
AND| DAND| – S1|S2
5 7 5-127
220
AND^ DAND^ – S1^S2
5 7 5-127
221
OR& DOR& – S1&S2
5 7 5-128
222
OR| DOR| – S1|S2
5 7 5-128
Logical operation
223
OR^ DOR^ – S1^S2
5 7 5-128