A
−
7
5.3 Output
Instructions....................................................................................................................5
−
14
5.3.1
Bit device, timer, counter output (OUT) .......................................................................5
−
14
5.3.2
Bit device set, reset (SET,RST) ...................................................................................5
−
19
5.3.3
Edge-triggered differential output (PLS, PLF)..............................................................5
−
23
5.3.4
Bit device output reverse (CHK) ..................................................................................5
−
26
5.4 Shift
Instructions .......................................................................................................................5
−
28
5.4.1
Bit device shift (SFT, SFTP).........................................................................................5
−
28
5.5
Master Control Instructions.......................................................................................................5
−
30
5.5.1
Master control set, reset (MC, MCR) ...........................................................................5
−
30
5.6 Termination
Instructions............................................................................................................5
−
34
5.6.1
Main routine program termination (FEND) ..................................................................5
−
34
5.6.2
Sequence program termination (END) ........................................................................5
−
36
5.7 Other
Instructions .....................................................................................................................5
−
38
5.7.1 Sequence
program stop (STOP) .................................................................................5
−
38
5.7.2
No operation (NOP, NOPLF)........................................................................................5
−
40
6. BASIC
INSTRUCTIONS .........................................................................................................6
−
1 ~ 6
−
90
6.1 Comparison
Operation Instructions ............................................................................................6
−
2
6.1.1
16-bit data comparison (=, <>, >, <=, <, >=)..................................................................6
−
4
6.1.2
32-bit data comparison (D=, D<>, D>, D<=, D<,D>=) ...................................................6
−
6
6.2 Arithmetic
Operation Instructions ...............................................................................................6
−
8
6.2.1
BIN 16-bit addition, subtraction (+, +P, -, -P) ...............................................................6
−
10
6.2.2
BIN 32-bit addition, subtraction (D+, D+P, D-, D-P).....................................................6
−
13
6.2.3
BIN 16-bit multiplication, division (*, *P, /, /P) ..............................................................6
−
16
6.2.4
BIN 32-bit multiplication, division (D*, D*P, D/, D/P) ....................................................6
−
19
6.2.5
BCD 4-digit addition, subtraction (B+, B+P, B-, B-P) ...................................................6
−
22
6.2.6
BCD 8-digit addition, subtraction (DB+, DB+P, DB-, DB-P).........................................6
−
25
6.2.7
BCD 4-digit multiplication, division (B*, B*P, B/, B/P) ..................................................6
−
28
6.2.8
BCD 8-digit multiplication, division (DB*, DB*P, DB/, DB/P) ........................................6
−
31
6.2.9
16-bit BIN data increment, decrement (INC, INCP, DEC, DECP)................................6
−
34
6.2.10 32-bit BIN data increment, decrement (DINC, DINCP, DDEC, DDECP) .....................6
−
36
6.3 BCD
↔
BIN Conversion Instructions ........................................................................................6
−
38
6.3.1 BIN
data
→
BCD 4-, 8-digit conversion (BCD, BCDP, DBCD, DBCDP) ......................6
−
39
6.3.2
BCD 4-, 8-digit
→
BIN data conversion (BIN, BINP, DBIN, DBINP) ............................6
−
42
6.4 Data
Transfer
Instructions .........................................................................................................6
−
46
6.4.1
16-, 32-bit data transfer (MOV, MOVP, DMOV, DMOVP) .............................................6
−
47
6.4.2
16-, 32-bit data negation transfer (CML, CMLP, DCML, DCMLP) ...............................6
−
49
6.4.3
16-bit data block transfer (BMOV, BMOVP, FMOV, FMOVP) .......................................6
−
52
6.4.4
16-, 32-bit data exchange (XCH, XCHP, DXCH, DXCHP)...........................................6
−
56
Summary of Contents for MELSEC-A series
Page 1: ......
Page 2: ......
Page 13: ...A 11 MEMO...
Page 505: ...APPENDICES APP 100 MELSEC A MEMO...
Page 507: ......
Page 508: ......