Chapter 7 Second Development Platform VP3000
290
Category API
Instruction code
P
instruction
Function
Steps
16-bit 32-bit 16-bit 32-bit
122 - DEMUL
Binary floating-point number
multiplication
- 13
123 - DEDIV
Binary floating-point number
division
- 13
124 - DEXP
Binary floating-point number
exponentiation
- 9
125 - DLN
Binary floating-point number
natural logarithm operation
- 9
127 - DESQR
Binary floating-point number
square root
- 9
129 - DINT
Binary floating-point number
→ BIN integer
- 9
130 - DSIN
Binary floating-point number
sine operation
- 9
131 - DCOS
Binary floating-point number
cosine operation
- 9
132 - DTAN
Binary floating-point number
tangent operation
- 9
133 - DASIN
Binary floating-point number
arcsine operation
- 9
134 - DACOS
Binary floating-point number
arccosine operation
- 9
135 - DATAN
Binary floating-point number
arctangent operation
- 9
136 - DSINH
Binary floating-point number
hyperbolic sine operation
- 9
137 - DCOSH
Binary floating-point number
hyperbolic cosine operation
- 9
138 - DTANH
Binary floating-point number
hyperbolic tangent operation
- 9
172 - DADDR
Floating-point number
addition
- 13
173 - DSUBR
Floating-point number
subtraction
- 13
174 - DMULR
Floating-point number
multiplication
- 13
175 - DDIVR
Floating-point number
division
- 13
Additional
instruction
202 SCAL - Proportional calculation 9 -
RTC
(real-time
clock)
160 TCMP - Time comparison 11 -
161 TZCP - Time zone comparison 9 -
162 TADD - Time addition 7 -
163 TSUB - Time subtraction 7 -
166 TRD - Time read 3 -
Gray code
170 GRY DGRY Binary code → Gray code 5 9
171 GBIN DGBIN Gray code → Binary code 5 9
Contact type
logical
operation
215 LD& DLD& -
Contact type logical operation
LD#
5 9
216 LD| DLD| -
Contact type logical operation
LD#
5 9
217 LD^ DLD^ -
Contact type logical operation
LD#
5 9