EasyManuals Logo

YASKAWA MP2100 Series User Manual

YASKAWA MP2100 Series
455 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #145 background imageLoading...
Page #145 background image
6 Basic System Operation
6.4.4 Using Subscripts i and j
6-28
(4) Subscripts Attached to Real Number Data
When a subscript is attached to real number integer data, the value of i or j is added to the register number. 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:
Programming Example Using Subscripts
The program shown in Figure 6.4 sets the sum of 100 registers from MW00100 to MW00199 in MW00200
using subscript j.
Figure 6.4 Programming Example Using a Subscript
J=0
のとき
MF00000J
: 
MF00000
J=1
のとき
MF00000J
: 
MF00001
上位ワード
MW00001
下位ワード
MW00000
MW00002
MW00001
Upper-place
word
Lower-place
word
MF00000j when j = 0: MF00000
MF00000j when j = 1: MF00001
EXAMPLE
00000
FOR J = 00000 to 00099 by 00001
MW00200 + MW00100j
FEND
MW00200
MW00200

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the YASKAWA MP2100 Series and is the answer not in the manual?

YASKAWA MP2100 Series Specifications

General IconGeneral
BrandYASKAWA
ModelMP2100 Series
CategoryController
LanguageEnglish

Related product manuals