3) Enabling Duplicated Output...................................................................141
4) Output State in One Scan ......................................................................141
CHAPTER 6:
HIGH-LEVEL INSTRUCTIONS
6-1.
Configuration of High-level Instructions ...........................................................144
1. Types of High-level Instructions ..................................................................144
2. Configuration of High-level Instructions .....................................................144
3. Operands for High-level Instructions ...........................................................146
6-2.
Table of High-level Instructions ........................................................................150
1. Data Transfer Instructions ............................................................................150
2. BIN Arithmetic Instructions .........................................................................150
3. BCD Arithmetic Instructions........................................................................151
4. Data Comparison Instructions ......................................................................152
5. Logic Operation Instructions ........................................................................153
6. Data Conversion Instructions .......................................................................153
7. Data Shift Instructions ..................................................................................154
8. UP/DOWN Counter and LEFT/RIGHT Shift Register Instructions ............155
9. Data Rotate Instructions ...............................................................................155
10. Bit Manipulation Instructions .......................................................................155
11. Auxiliary Timer Instruction..........................................................................155
12. Special Instructions.......................................................................................156
13. High-speed Counter Special Instructions .....................................................156
6-3.
Description of High-level Instructions ...............................................................157
F0 (MV)
16-bit data move..............................................................158
F1 (DMV)
32-bit data move..............................................................160
F6 (DGT)
Hexadecimal digit move .................................................162
F22 (+)
16-bit data [S1 + S2
→
D] ..............................................165
F23 (D+)
32-bit data [(S1+1, S1) + (S2+1, S2)
→
(D+1, D)] ........167
F27 (-)
16-bit data [S1 - S2
→
D] ...............................................169
F28 (D-)
32-bit data [(S1+1, S1) - (S2+1, S2)
→
(D+1, D)] .........171
F30 (*)
16-bit data [S1
×
S2
→
(D+1, D)]...................................173
F31 (D*)
32-bit data [(S1+1, S1)
×
(S2+1, S2)
→
(D+3, D+2, D+1, D)] ......................................................175
F32 (%)
16-bit data [S1/S2
→
D...(DT9015)] ..............................177
F33 (D%)
32-bit data [(S1+1, S1)/(S2+1, S2)
→
(D+1, D)
...(DT9016, DT9015)] .....................................................179
F60 (CMP)
16-bit data compare.........................................................181
F61 (DCMP) 32-bit data compare.........................................................184
F80 (BCD)
16-bit data
→
4-digit BCD data ......................................187
F81 (BIN)
4-digit BCD data
→
16-bit data ......................................189
6-4.
Hints for Programming High-level Instructions.................................................191
1. How to Use BCD Data .................................................................................191
1) BCD Data...............................................................................................191
2) Processing BCD Data in the Programmable Controllers.......................192
2. How to Use Index Registers (IX, IY) ...........................................................193
1) Index Registers (IX, IY) ........................................................................193
2) Application Examples of Index Registers (IX, IY) ...............................194
3. Operation Errors ...........................................................................................196
1) Operation Errors ....................................................................................196
2) Types of Operation Error .......................................................................196
3) Status of Programmable Controller When an Operation Error Occurs ....196
4) Steps to Take When an Operation Error Occurs....................................197
4. Overflow and Underflow..............................................................................198
1) Overflow and Underflow .......................................................................198
CONTENTS
Summary of Contents for FP1
Page 1: ...PROGRAMMABLE CONTROLLER FP1 is a global brand name of Matsushita Electric Works Hardware ...
Page 28: ...20 ...
Page 98: ...90 ...
Page 150: ...142 ...
Page 208: ...200 ...
Page 226: ...218 ...
Page 280: ...272 ...