Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
143
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.11 Index Register [V and Z]
1
Introduction
2
Overview
3
Instruction
List
4
Devices
in Detail
5
Specified the
Device &
Constant
6
Before
Programming
7
Basic
Instruction
8
FNC00-FNC09
Program Flow
9
FNC10-FNC19
Move & Compare
10
FNC20-FNC29
Arith. & Logic
Operation
4.11.3 Indexing of devices
Available devices and the contents of indexing are as described below:
For indexing method and cautions, refer to Section 5.7.
Decimal devices/numeric values: M, S, T, C, D, R, KnM, KnS, P and K
For example, when "V0 = K5" is specified and "D20V0" is executed, an instruction is executed for the device number
D25 (D20 + 5).
Constants can be indexed also. When "K30V0" is specified, an instruction is executed for decimal value K35 (30 + 5).
Octal devices: X, Y, KnX and KnY
For example, when "Z1 = K8" is specified and "X0Z1" is executed, an instruction is executed for the device number
X10 (X0 + 8: addition of octal value). When indexing for a device whose device number is handled in octal, a numeric
value converted into octal is added for the contents of V and Z.
Accordingly, note that when "Z1 = K10" is specified "X0Z1" indicates that X12 is specified, and X10 is not specified.
Hexadecimal numeric values: H
For example, when "V5 = K30" is specified and a constant "H30V5" is specified, it is handled as H4E (30H + K30).
When "V5 = H30" is specified and a constant "H30V5" is specified, it is handled as H60 (30H + 30H).