beautypg.com

4 using subscripts i and j – Yaskawa MP930 User Manual

Page 95

background image

Basic System Operation

3.6.4 Using Subscripts I and J

3 -36

Type

Charac-

teristic

Description

Range

Designation

Method

Name

S

System registers

SB, SW, SL,
SFnnnnn (SAnnnnn)

Same as the registers for drawings.

These registers can be referenced from any drawings or function. Use

Common
to all
drawings

M

Data registers

MB, MW, ML,
MFnnnnn
(MAnnnnn)

These registers can be referenced from any drawings or function. Use
them carefully when the same function is referenced from drawings
with different priority levels.

drawings

I

Input registers

IB, IW, IL, IFhhhh
(IAhhhh)

O

Output registers

OB, OW, OL,
Ofhhhh (OAhhhh)

C

Constantregisters CB, CW, CL,

CFnnnnn (CAnnnnn)

Note SA, MA, IA, OA, DA, #A, and CA can also be used inside functions.

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.

J

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.

Equivalent

MB0000002

MB000000i

2

I

J

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.

00030

MW00001j

MW00031

J

Equivalent

3