EasyManuals Logo

YASKAWA MP3300 series User Manual

YASKAWA MP3300 series
220 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 #64 background imageLoading...
Page #64 background image
3.1 Basic Functionality
3.1.2 Registers
3-27
Array Registers ([ ])
Array registers are used to modify register addresses, and are denoted by square brackets [ ].
These are used to handle register addresses like variables.
Similarly to index registers, an offset is added to the register address.
Attaching an Array Register to a Bit Register
Using an array register is the same as adding the value of the array register to the register
address.
For example, if DW00000 = 2, MB00000000[DW00000] is the same as MB00000002.
Attaching an Array Register to a Register Other Than a Bit Register
Using an array register is the same as adding the word size of the data type of the array register
times the value of the array register to the register address.
For example, if DW00000 = 30, ML0000002[DW00000] is the same as ML0000062.
DL00002 = ML00000 (30 × 2 + 2) = ML0000062
DW00000 = 2;
DB000020 = MB00000000[DW00000]; DB000020 = MB00000002;
Equivalent
DW00000 = 30;
DL00002 = ML0000002[DW00000]; DL00002 = ML0000062;
Equivalent

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the YASKAWA MP3300 series and is the answer not in the manual?

YASKAWA MP3300 series Specifications

General IconGeneral
BrandYASKAWA
ModelMP3300 series
CategoryController
LanguageEnglish

Related product manuals