4 using subscripts i and j, Subscripts attached to bit data, Subscripts attached to integer data – Yaskawa MP920 User's Manual Design User Manual

Page 109: Subscripts attached to double-length integer data, Subscripts attached to real number data

Advertising
background image

3.6 Registers

3-35

3

3.6.4

Using Subscripts I and J

Two types of register, I and J, are used exclusively for modifying relay numbers and register
numbers. I and J have exactly the same function.

An example of each register data type is explained below.

„

Subscripts Attached to Bit Data

When subscript i or j is attached to bit data, the value of I or J is added to the relay number.
For example, if I = 2, MB000000i will be the same as MB000002. If J = 27, MB000000j will
be the same as MB00001B.

„

Subscripts Attached to Integer Data

When a subscript is attached to integer data, the value of I or J is added to the relay number.
For example, if I = 3, MW00010i will be the same as MW00013. If J = 30, MW00001j will
be the same as MW00031.

„

Subscripts Attached to Double-length Integer Data

When a subscript is attached to double-length integer data, the value of I or J is added to the
relay number. For example, if I = 1, ML00000i will be the same as ML00001. ML00000j
when J = 0, and ML00000j when J = 1 will be as follows:

„

Subscripts Attached to Real Number Data

When a subscript is attached to long integer data, the value of I or J is added to the relay num-
ber. For example, if I = 1, MF00000i will be the same as MF00001. MF00000j when J = 0,
and MF00000j when J = 1 will be as follows:

MB0000002

MB000000i

2

Equivalent

I

00030

MW00001j

MW00031

J

Equivalent

ML00000J when J = 0: ML00000

ML00000J when J = 1: ML00001

MW00001

MW00000

MW00002

MW00001

Higher-place word Lower-place word

MF00000J when J = 0: MF00000

MF00000J when J = 1: MF00001

MW00001

MW00000

MW00002

MW00001

Higher-place word Lower-place word

Advertising