Chapter 14 PLC Function
|
C200 Series
14-39
Mnemonic Function
P
Indicator
Operand
P0~P255
Indicator P allows API 00 CJ command and API 01 CALL command to skip from 0.
Though it is not necessary to start from number 0, same number can not be used
twice or serious error would occur.
Command code:
Operation:
LD X0
Load contact A of X0
CJ P10
Skip command CJ to
P10
:
P10
Indicator P10
Example
Ladder diagram:
X0
Y1
CJ
P10
X1
P10
LD
X1
Load contact A of X1
OUT Y1
Drive
Y1
coil
14.6.3 Description of the Application Commands
Mnemonic Codes
STEPS
API
16-bit
32-bit
P
Command
Function
16bit 32bit
01 CALL -
9
CALL subroutine
3
-
Loop control
06
FEND
-
-
The end of main program
1
-
10 CMP –
9
Compare
7 13
11 ZCP –
9
Zone compare
9
17
12 MOV –
9
Data Move
5
9
Transmission
Comparison
15 BMOV –
9
Block move
7
–
20 ADD
–
9
Perform the addition of BIN
data
7
13
21 SUB
–
9
Perform the subtraction of
BIN data
7
13
22 MUL
–
9
Perform the multiplication
of BIN data
7
13
23 DIV
–
9
Perform the division of BIN
data
7
13
24 INC –
9
Perform the addition of 1
3
5
Four
Fundamental
Operations of
Arithmetic
25 DEC –
9
Perform the subtraction of 1
3
5
30 ROR –
9
Rotate to the right
5
–
Rotation and
Displacement
31 ROL –
9
Rotate to the left
5
–
Data
Processing
40 ZRST –
9
Zero Reset
5
-
215 LD& DLD& -
Contact Logical Operation
LD#
5 9
216 LD| DLD| -
Contact type logic
operation LD
#
5 9
217 LD^ DLD^ -
Contact Logical Operation
LD#
5 9
Contact type
logic
operation
218 AND& DAND&
-
Contact Logical Operation
AND#
5 9
Call 1(800)985-6929 for Sales
deltaacdrives.com
sales@deltaacdrives.com
Call 1(800)985-6929 for Sales
deltaacdrives.com
sales@deltaacdrives.com