EasyManua.ls Logo

Delta VP3000 Series - 7-2-3 Overview of application instructions

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
289
7-2-3 Overview of application instructions
Category API
Instruction code
P
instruction
Function
Steps
16-bit 32-bit 16-bit 32-bit
Loop Control
01 CALL - Call subprograms 3 -
02 SRET - - Subprograms end 1 -
06 FEND - - Main programs end 1 -
08 FOR - - Start of a FOR-NEXT loop 3
09 NEXT - - End of a FOR-NEXT loop 1
317 BREAK -
Jump out of a FOR-NEXT
loop
3 -
Transmission
Comparison
10 CMP DCMP Compare output value 7 13
11 ZCP DZCP Zone compare 9 17
12 MOV DMOV Move 5 9
13 SMOV - Shift move 11 -
15 BMOV - Block move 7 -
18 BCD DBCD Convert BIN to BCD 5 9
19 BIN DBIN Convert BCD to BIN 5 9
A
rithmetic and
Logical
Operations
20 ADD DADD BIN addition 7 13
21 SUB DSUB BIN subtraction 7 13
22 MUL DMUL BIN multiplication 7 13
23 DIV DDIV BIN division 7 13
24 INC DINC BIN increment (add one) 3 5
25 DEC DDEC BIN decrement (subtract one) 3 5
26 WAND DAND
Logical operation with AND
operator
7 13
27 WOR DOR
Logical operation with OR
operator
7 13
28 WXOR DXOR
Logical operation with XOR
operator
7 13
29 NEG DNEG 2’s complement (negative) 3 5
114 MUL16 MUL32
Multiplying binary numbers
for 16-bit / 32-bit
7 13
115 DIV16 DIV32
Dividing binary numbers for
16-bit / 32-bit
7 13
Rotation &
Displacement
30 ROR DROR Rotate right 5 9
31 ROL DROL Rotate left 5 9
Data
processing
40 ZRST - Zone reset 5 -
41 DECO - Decode 7 -
42 ENCO - Encode 7 -
43 SUM DSUM Sum of active bits 5 9
44 BON DBON Check specified bit status 7 13
45 MEAN DMEAN Mean 7 13
49 - DFLT
Convert BIN integer to binary
floating-point number
- 9
Communication 150 MODRW - Read / write Modbus data 7 -
Floating point
operation
110 - DECMP
Binary floating-point number
comparison
- 13
111 - DEZCP
Binary floating-point number
zone comparison
- 17
116 - DRAD Degree Radian - 9
117 - DDEG Radian Degree - 9
120 - DEADD
Binary floating-point number
addition
- 13
121 - DESUB
Binary floating-point number
subtraction
- 13

Table of Contents

Related product manuals