EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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 #267 background imageLoading...
Page #267 background image
6-65
DBK+(P),DBK-(P)
1
2
3
4
4
6
7
8
6.2 Arithmetic Operation Instructions
6.2.14 BIN 32-bit data block addition and subtraction operations (DBK+(P),DBK-(P))
Program Example
(1) The following program adds the value data stored at R0 to R5 to the constant, and then
stores the operation result into D30 to D35, when M0 is turned on.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program subtracts the value data stored at D50 to D59 from the value data
stored at D100 to D109, and then stores the operation result into R100 to R109, when M0 is
turned on.
[Ladder Mode] [List Mode]
[Operation]
Step
Instruction
Device
123456
b31 b0
600000
-800000
-123456
R3,R2
R5,R4
R1,R0
b31 b0
723456
-676544
0
D33,D32
D35,D34
D31,D30
+
Step
Instruction
Device
b31 b0
12345
54321
-12345
-54321
99999
D103,D102
D105,D104
D101,D100
D107,D106
D109,D108
b31 b0
11111
-11111
22222
-22222
33333
D53,D52
D55,D54
D51,D50
D57,D56
D58,D58
b31
1234
65432
-34567
-32099
66666
R103,R102
R105,R104
R101,R100
R107,R106
R109,R108
b0

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals