5.3.3 Using i and j Subscripts
There are two special register modifiers, i and j, that can be used with relay and register numbers.
The functions of i and j are exactly the same. They are used for handling register numbers as vari-
ables.
Examples of each register data type are used to explain the use of i and j.
( 1 ) Bit Registers with Subscripts
( 2 ) Integer Registers with Subscripts
Pointer Specification and Address
Type
Register area
Address in
memory
[ MA00100 ]
Equivalent
Equivalent
Indicates registers with consecutive
multiple addresses with MA00100
as the leading address
These are the same as when i or j
values are added to relay numbers.
For example, when i = 2, MB000000i
is the same as MB000002. And
when j = 27, MB000000j is the same
as MB00001B.
These are the same as when i or j
values are added to register
numbers.
For example, when i = 3, MW00010i
is the same as MW00013. And
when j = 30, MW00001j is the same
as MW00031.
5.3 Registers
5-25