136
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
5 How to Specify Devices and Constants to Instructions
5.7 Indexing
In the case of constants
The indexing operation is explained in an example in which the
transfer destination in MOV instruction is indexed with the index
register V6 (as shown in the figure on the right).
Transfer K0 or K20 to the index register V6 in advance.
When X005 is set to ON, "K(6+0) = K6" is realized if V6 is "0", and
K6 is transferred to D10.
When X005 is set to ON, "K(6+20) = K26" is realized if V6 is "20",
and K26 is transferred to D10.
X004
K0
V6
K0
→
V6
X004
K20
V6
K20
→
V6
X005
K6V6
D10
V6=0 : K6 (K6+0)
→
D10
V6=20 : K26(K6+20)
→
D10
FNC 12
MOVP
FNC 12
MOVP
FNC 12
MOVP
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......