4 using subscripts i and j, Subscripts attached to bit data, Subscripts attached to integer data – Yaskawa MP940 User Manual
Page 87

Basic System Operation
3.6.4 Using Subscripts I and J
3-40
Note: SA, MA, IA, OA, DA, #A, and CA can be used within 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.
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 register num-
ber. For example, if I = 3, MW00010i will be the same as MW00013. If J = 30, MW00001j
will be the same as MW00031.
S
System registers
SB, SW, SL, SFnnnnn
(SAnnnnn)
Same as the registers for drawings.
These registers can be called from any drawings or func-
tion. Use them carefully when the same function is refer-
enced from drawings with different priority levels.
M
Data registers
MB, MW, ML,
MFnnnnn (MAnnnnn)
I
Input registers
IB, IW, IL, IFhhhh
(IAhhhh)
O
Output registers
OB, OW, OL, OFhhhh
(OAhhhh)
C
Constant registers
CB, CW, CL, CFnnnnn
(CAhhhh)
Type
Name
Designation Method
Range
Description
Characteristic
MB0000002
MB000000i
2
Ⅰ
Equivalent
00030
MW00001j
MW00031
J
Equivalent