Chapter 16 PLC Function Applications
MS300
(High Speed Model)
16-45
16-6-3 Overview of application commands
Classification
API
Command code
P
command
Function
STEPS
16 bit
32 bit
16 bit 32 bit
Circuit control
01 CALL -
Call subprogram
3
-
2
SRET
-
-
Conclusion of subprogram
1
-
06
FEND
-
-
Conclusion a main program
1
-
Send
comparison
10 CMP DCMP
Compares set output
7
13
11 ZCP DZCP
Range comparison
9
17
12 MOV DMOV
Data movement
5
9
15 BMOV –
Send all
7
–
Four 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 add one
3
5
25 DEC DDEC
BIN subtract one
3
5
Rotational
displacement
30 ROR DROR
Right rotation
5
–
31 ROL DROL
Left rotation
5
–
Data Process
40 ZRST –
Clear range
5
-
49 – DFLT
BIN whole number
→
binary
floating point number
transformation
- 9
communication 150 MODRW
–
MODBUS read/write
7
–
Floating point
operation
110 – DECMP
Comparison of binary floating
point numbers
– 13
111 – DEZCP
Comparison of binary floating
point number range
– 17
116 – DRAD
Angle
→
Diameter
–
9
117 – DDEG
Diameter
→
angle
–
9
120 – DEADD
Binary floating point number
addition
– 13
121 – DESUB
Binary floating point number
subtraction
– 13
122 – DEMUL
Binary floating point number
multiplication
– 13
123 – DEDIV
Binary floating point number
division
– 13
124 – DEXP
Binary floating point number
obtain exponent
– 9
125 – DLN
Binary floating point number
obtain logarithm
– 9
127 – DESQR
Binary floating point number
find square root
– 9
129 – DINT
Binary floating point number
→
BIN whole number
transformation
– 9
130 – DSIN
Binary floating point number
SIN operation
– 9
131 – DCOS
Binary floating point number
COS operation
– 9
132 – DTAN
Binary floating point number
TAN operation
– 9
133 – DASIN
Binary floating point number
ASIN operation
– 9
134 – DACOS
Binary floating point number
ACOS operation
– 9
135 – DATAN
Binary floating point number
ATAN operation
– 9
Содержание VFD11AMS21AFSHA
Страница 5: ...IV This page intentionally left blank...
Страница 8: ...Chapter 1 Introduction MS300 High Speed Model 1 3 1 2 Model Name 1 3 Serial Number...
Страница 20: ...Chapter 3 Installation MS300 High Speed Model 3 3...
Страница 21: ...Chapter 3 Installation MS300 High Speed Model 3 4 This page intentionally left blank...
Страница 22: ...Chapter 4 Wiring MS300 High Speed Model 4 1 Chapter 4 Wiring 4 1 Wiring 4 2 System Wiring Diagram...
Страница 24: ...Chapter 4 Wiring MS300 High Speed Model 4 3 4 1 Wiring...
Страница 25: ...Chapter 4 Wiring MS300 High Speed Model 4 4 Figure 1...
Страница 27: ...Chapter 4 Wiring MS300 High Speed Model 4 6 4 2 System Wiring Diagram...
Страница 43: ...Chapter 6 Control Terminals MS300 High Speed Model 6 6 This page intentionally left blank...
Страница 91: ...Chapter 8 Optional Cards MS300 High Speed Model 8 8 Frame F Fig 8 16...
Страница 115: ...Chapter 9 Specification MS300 High Speed Model 9 10 This page intentionally left blank...
Страница 123: ...Chapter 10 Digital Keypad MS300 High Speed Model 10 8 This page intentionally left blank...
Страница 204: ...Chapter 12 Description of Parameter Settings MS300 High Speed Model 12 03 3 Diagram 03 Diagram 04 Diagram 05...
Страница 205: ...Chapter 12 Description of Parameter Settings MS300 High Speed Model 12 03 4 Diagram 06 Diagram 07 Diagram 08...
Страница 206: ...Chapter 12 Description of Parameter Settings MS300 High Speed Model 12 03 5 Diagram 09 Diagram 10 Diagram 11...
Страница 207: ...Chapter 12 Description of Parameter Settings MS300 High Speed Model 12 03 6 Diagram 12 Diagram 13 Diagram 14...
Страница 208: ...Chapter 12 Description of Parameter Settings MS300 High Speed Model 12 03 7 Diagram 15 Diagram 16 Diagram 17...
Страница 209: ...Chapter 12 Description of Parameter Settings MS300 High Speed Model 12 03 8 Diagram 18 Diagram 19 Diagram 20...
Страница 210: ...Chapter 12 Description of Parameter Settings MS300 High Speed Model 12 03 9 Diagram 21 Diagram 22 Diagram 23...
Страница 211: ...Chapter 12 Description of Parameter Settings MS300 High Speed Model 12 03 10 Diagram 24 Diagram 25 Diagram 26...
Страница 212: ...Chapter 12 Description of Parameter Settings MS300 High Speed Model 12 03 11 Diagram 27 Diagram 28 Diagram 29...
Страница 213: ...Chapter 12 Description of Parameter Settings MS300 High Speed Model 12 03 12 Diagram 30 Diagram 31 Diagram 32...
Страница 287: ...Chapter 12 Description of Parameter Settings MS300 High Speed Model 12 14 7 This page intentionally left blank...
Страница 293: ...Chapter 13 Warning Codes MS300 High Speed Model 13 6 This page intentionally left blank...
Страница 303: ...Chapter 14 Error Codes MS300 High Speed Model 14 10 This page intentionally left blank...