YASKAWA SGD7C-***AMAA*** Product Manual page 345

Ac servo drive
Table of Contents

Advertisement

7.1 User Program Types and Execution Timing
7.1.5 Registers
 Attaching an Index to a Double-Length Integer or a Real Number Register
Using an index is the same as adding the value of i or j to the register address.
For example, if j = 1, ML0000000j is the same as ML0000001. Similarly, if j = 1, MF0000000j is
the same as MF0000001.
Double-Length Integer
If j = 0, ML0000000j i ML0000000.
If j = 1, ML0000000j i ML0000001.
Real Number
If j = 0, MF0000000j i MF0000000.
If j = 1, MF0000000j i MF0000001.
Important
 Attaching an Index to a Quadruple-Length Integer or a Double-Precision Real Num-
ber Register
Using an index is the same as adding the value of i or j to the register address.
For example, if j = 2, MQ0000000j is the same as MQ0000002. Similarly, if j = 2, MD0000000j
is the same as MD0000002.
Quadruple-Length Integer
If j = 0, MQ0000000j i MQ0000000.
If j = 2, MQ0000000j i MQ0000002.
Double-Preci ion Real Number
If j = 0, MF0000000j i MD0000000.
If j = 2, MD0000000j i MD0000002.
Important
7-36
Double-length integers and real numbers use a region that is 2 words in size. For example, when
using ML0000000j with both j = 0 and j = 1, the one-word area of MW0000001 will overlap. Be
careful of overlapping areas when indexing double-length integer or real number register
addresses.
Quadruple-length integers and double-precision real numbers use a region that is 4 words in
size. For example, when using MQ0000000j with both j = 0 and j = 2, the two-word area of
MW0000002 and MW0000003 will overlap. Be careful of overlapping areas when indexing qua-
druple-length integer or double-precision real number register addresses.
Upper Word
Lower Word
MW0000001
MW0000000
MW0000002
MW0000001
Upper Word
Lower Word
MW0000001
MW0000000
MW0000002
MW0000001
Upper 2 word
MW000000
MW0000002
Upper 2 word
MW0000005
MW0000004
Upper 2 word
MW000000
MW0000002
Upper 2 word
MW0000005
MW0000004
Lower 2 word
MW0000001
MW0000000
Lower 2 word
MW000000
MW0000002
Lower 2 word
MW0000001
MW0000000
Lower 2 word
MW000000
MW0000002

Advertisement

Table of Contents
loading

Table of Contents