Справочник Пользователя для Mitsubishi Electronics FX2NC

Скачать
Страница из 382
FX Series Programmable Controllers
Devices in Detail 4
4-38
4.13
Index Registers
Device Mnemonic: V,Z
Purpose: To modify a specified device by stating an offset.
Alias: (V/ Z) Register
Index (register/ addressing/ modifier)
Offset(s) (register/ addressing/ modifier)
Indices
Modifier
Available forms:
For 16bit data V or Z
(2 devices)
For 32bit data V and Z combined
(1 device - Z is specified)
Operation is similar to data registers.
Devices numbered in: N/A. FX0
(S)
,FX
0N
, FX, FX
2C
 there are two devices V and/ or Z.
For FX
2N(C)
 there are 16 devices V0 - V7 and Z0 - Z7
Further uses: Can be used to modify the following devices under certain conditions;
X, Y, M, S, P, T, C, D, K, H, KnX, KnY, KnM, KnS
Example device usage:
The program shown right transfers data from D5V to D10Z.
If the data contained in register V is equal to 8 and the data in register Z is equal to 14, then:
V = 8
D5V
D5 +8 =13 
Ì
 D13
Z = 14
D10Z
D10 + 14 = 24 
Ì
 D24
Hence, the actual devices used after the modifiers V and Z have been taken into account are;
D13 and D24 and not D5 and D10 respectively.
Use of Modifiers with Applied Instruction Parameters:
All applied instruction parameters should be regarded as being able to use index regis-
ters to modify the operand except where stated otherwise.
Special note for FX
0
 and FX
0N
 users:
Users of FX
0
 and FX
0N
 PLC’s should note that when high speed counters (C235 to 
C255) are used as operands in applied instructions, they may not be modified with V or Z 
index registers.
FX
0(S)
FX
0N
FX FX
(2C)
FX
2N(C)
V
Z
V
Z
32 Bit
16 Bit
16 Bit