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 #157 background imageLoading...
Page #157 background image
6. BASIC INSTRUCTIONS
6 45
MELSEC-A
DBIN
Program which converts the BCD data of X10 to 37 into BIN and stores the result
into D0 and 1.
(The addition of BCD data X20 to X37 converted into BIN and BCD data X10 to X1F
converted into BIN.)
CAUTION
If BCD values above 2147483647 are set at X10 to X37, they are outside the range which can
be handled with the 32-bit devices. Values of D0 and D1 accordingly become negative.
For details, refer to Section 3.3.
PC input unit
BCD Digital switch
Input power
source
Coding
0 LD X008
1 DBIN K6X020 D9
10 D* D9 K10000 D5
21 BIN K4X010 D3
26 MOV K0 D4
31 D+ D3 D5 D0
42 END
0
K
D* D9 10000 D5
X008
K6
DBIN X020 D9
K4
BIN X010 D3
K
MOV 0 D4
D+ D3 D5 D0

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