
3: I
NSTRUCTIONS
R
EFERENCE
3-12
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
Device Addressing for Instruction Execution
This section provides an explanation about how source and destination devices used by instructions for the execution can be
specified. There are two ways to specify the device to use: Direct Addressing and Indirect Addressing.
Direct Addressing
In direct addressing, source and destination devices are specified with the devices to use.
■
Direct Addressing Operation
■
Devices that can be directly addressed
■
Instructions supporting the direct addressing
All basic and advanced instructions support the direct addressing.
Indirect Addressing
Indirect Addressing Format
The index register Pn indicates the offset from the base device. Indirect addressing is possible by specifying source devices and
destination devices with the base device and the index register. The format of the indirect addressing is as follows:
"Base Device" + ":" + "Pn (Address n of the index register)"
Indirect Addressing Operation
Example: When the source device (D0010) of the MOV(W) is directly specified.
The data in D0010 is transferred to D0002.
I
Q
M
R
T
C
D
P
Constant
X
X
X
X
X
X
X
X
X
REP
D1 -
D0002
S1 -
D0010
MOV(W)
D0000
D0001
D0002
D0010
Data
Transfer
Example: When the base device is D0010 and the index register P3 is used.
After D0010, add ":" and "P3".
D0010:P3
Example: When the source device (D0010) of the MOV(W) instruction is indirectly specified with P3.
The data in P3 is added to the address of D0010, so D(10 + (P3)) = D (10 + (100)) = D0110, and the data in
D0110 is transferred to D0002.
REP
D1 -
D0002
S1 -
D0010:P3
MOV(W)
D0000
P1
D0001
D0002
D0010
+100
10
P0
1
P2
50
P3
100
D0110
Data
Transfer
Index register
Содержание MICROSmart FC6A Series
Страница 1: ...B 1726 7 FC6A SERIES Ladder Programming Manual ...
Страница 8: ...Preface 7 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 32: ...1 OPERATION BASICS 1 20 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 96: ...3 INSTRUCTIONS REFERENCE 3 18 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 130: ...4 BASIC INSTRUCTIONS 4 34 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 158: ...6 DATA COMPARISON INSTRUCTIONS 6 10 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 192: ...9 SHIFT ROTATE INSTRUCTIONS 9 12 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 216: ...10 DATA CONVERSION INSTRUCTIONS 10 24 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 248: ...11 WEEK PROGRAMMER INSTRUCTIONS 11 32 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 272: ...12 DISPLAY INSTRUCTIONS 12 24 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 284: ...14 REFRESH INSTRUCTIONS 14 6 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 288: ...15 INTERRUPT CONTROL INSTRUCTIONS 15 4 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 294: ...16 COORDINATE CONVERSION INSTRUCTIONS 16 6 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 374: ...18 PULSE OUTPUT INSTRUCTIONS 18 78 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 Setting ...
Страница 450: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 502: ...25 DATA LOG INSTRUCTIONS 25 22 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 546: ...26 SCRIPT 26 44 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 574: ...27 FLOW CALCULATION INSTRUCTIONS 27 28 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 583: ...FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 28 9 28 USER DEFINED MACRO INSTRUCTION ...
Страница 584: ...28 USER DEFINED MACRO INSTRUCTION 28 10 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Страница 598: ...APPENDIX A 14 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...