EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-A series

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 #145 background imageLoading...
Page #145 background image
6. BASIC INSTRUCTIONS
6 33
MELSEC-A
Program Examples DB*
Program which performs multiplication of the BCD data 68347125 and 573682, and
stores the result to D505 to 502, and at the same time, outputs the upper 8 digits to
Y30 to 4F.
DB/
Program which performs division of the BCD data of X20 to 3F and the BCD data of
D8 and 9, and stores the result to D765 to 768 when X1B turns on.
M9036
0
P H H
DB* 68347125 00573682 D502
K8
DMOV D504 Y030
Coding
0 LD M9036
1 DBP H68347125 H00573682 D502
12 DMOV D504 K8Y030
19 END
P K8
DB/ X020 D8 D765
X01B
0
Coding
0 LD X01B
1 DB/P K8X020 D8 D765
12 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