
APPENDICES
APP - 2
MELSEC-A
(2)
Basic instructions
(a)
Comparison instructions
16 bits
LD=, AND=, OR=
32 bits
LDD=, ANDD=, ORD=
16 bits
LD<>, AND<>, OR<>
32 bits
LDD<>, ANDD<>, ORD<>
16 bits
LD>, AND>, OR>
32 bits
LDD>, ANDD>, ORD>
16 bits
LD<=, AND<=, OR<=
32 bits
LDD<=, ANDD<=, ORD<=
16 bits
LD<, AND<, OR<
32 bits
LDD<, ANDD<, ORD<
16 bits
LD>=, AND>=, OR>=
32 bits
LDD>=, ANDD>=, ORD>=
(b)
BIN arithmetic operation instructions
16 bits
Two types each for + and +P
32 bits
Two types each for D+ and D+P
16 bits
Two types each for - and -P
32 bits
Two types each for D- and D-P
16 bits
*, *P
32 bits
D*, D*P
16 bits
/, /P
32 bits
D/, D/P
16 bits
INC, INCP
32 bits
DINC, DINCP
16 bits
DEC, DECP
32 bits
DDEC, DDECP
(c)
BCD arithmetic operation instructions
BCD 4 digits
Two types each for B+ and B+P
BCD 8 digits
Two types each for DB+ and DB+P
BCD 4 digits
Two types each for B- and B-P
BCD 8 digits
Two types each for DB- and DB-P
BCD 4 digits
B*, B*P
BCD 8 digits
DB*, DB*P
BCD 4 digits
B/, B/P
BCD 8 digits
DB/, DB/P
(d)
BCD - BIN conversion instructions
16 bits
BCD, BCDP
32 bits
DBCD, DBCDP
16 bits
BIN, BINP
32 bits
DBIN, DBINP
(e)
Data transfer instructions
16 bits
MOV, MOVP
32 bits
DMOV, DMOVP
16 bits
XCH, XCHP
32 bits
DXCH, DXCHP
16 bits
CML, CMLP
32 bits
DCML, DCMLP
Block transfer
16 bits
BMOV, BMOVP
Repeat data block transfer
16 bits
FMOV, FMOVP
=
< >
>
<=
<
>=
+ Addition
- Subtraction
* Multiplication
/ Division
+1 Addition
-1 Subtraction
+ Addition
- Subtraction
* Multiplication
/ Division
BIN
→
BCD
BCD
→
BIN
Transfer
Change
Undefined transfer
Содержание A1SH
Страница 15: ...MEMO...