EasyManuals Logo

Mitsubishi MELSEC-A series Programming Manual

Mitsubishi MELSEC-A series
508 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 #213 background imageLoading...
Page #213 background image
7. APPLICATION INSTRUCTIONS
7 11
MELSEC-A
DOR
(1) Program which performs logical add of the 32-bit data of X0 to 1F and the
hexadecimal number of F0FF
H and stores the result to D66 and 67 when XB
turns on.
(2) Program which performs logical add of the 24-bit data of M64 to 87 and the
24-bit data of X20 to 37 and stores the result to D23 and 24 when M8 turns on.
X008
0
PH
DMOV 0000F0FF D66
PK8
DOR X000 D66
Hexadecimal number of F0FF
H is stored into D66
and 67.
Logical add of the 32-bit data of X0 to 1F and the
32-bit data of D66 and 67 is performed and the
result is stored into D66 and 67.
Coding
0 LD X00B
1 DMOVP H0000F0FF D66
8 DORP K8X000 D66
17 END
M8
0
PK6
DMOV X020 D23
PK6
DOR M64 D23
24-bit data of X20 to 37 is stored into D23 and 24.
Logical add of the 24-bit data of M64 to 87 and
the 24-bit data of D23 is performed and the resul
t
is stored into D23 and 24.
Coding
0 LD M8
1 DMOVP K6X020 D23
8 DORP K6M64 D23
17 END

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-A series and is the answer not in the manual?

Mitsubishi MELSEC-A series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-A series
CategoryController
LanguageEnglish

Related product manuals