6.4 Registers
6-27
6
5. Addresses
Addresses are used only for pointer designations.
6.4.4 Using Subscripts i and j
Two subscripts, i and j, are used 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.
(1) Subscripts Attached to Bit Data
When a subscript 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.
(2) Subscripts Attached to Integer Data
When a subscript is attached to integer data, the value of i or j is added to the register number. For example,
if i = 3, MW00010i will be the same as MW00013. If j = 30, MW00001j will be the same as MW00031.
(3) 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 register 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:
MF00200
~
MF00204
をパラメータテーブルとして使用します。
⇒
MW00022
パラメータテーブル
先頭アドレス
入力値
LAG
出力値
LAG MA00200
MW00200
MF00200
~
MF00228
をパラメータテーブルとして使用します。
PID MA00200
⇒
MF00022
MF00200
パラメータテーブル
先頭アドレス
PID
出力値
偏差入力値
MF00200 to MF00228 are used as the parameter table in the following example.
Error input value
Parameter table leading
address
PID output value
MW00200 to MW00204 are used as the parameter table in the following example.
Input value
Parameter table leading
address
LAG output value
等価
MB0000002
MB000000i
2
I
Equivalent
等価
00030
MW00001j
MW00031
J
Equivalent
J=0
のとき
ML00000J
:
ML00000
J=1
のとき
ML00000J
:
ML00001
上位ワード
MW00001
下位ワード
MW00000
MW00002
MW00001
Upper-place
word
Lower-place
word
ML00000j when j = 0: ML00000
ML00000j when j = 1: ML00001