EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 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 #211 background imageLoading...
Page #211 background image
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
209
6
Subtracting 32-bit binary block data
DBK-(P)(_U)
These instructions subtract (n) point(s) of 32-bit binary data from the device specified by (s1) and the (n) point(s) of 32-bit
binary data from the device specified by (s2), and store the results of subtraction in the device specified by (d).
Setting data
Descriptions, ranges, and data types
Applicable devices
Processing details
These instructions subtract (n) point(s) of 32-bit binary data from the device specified by (s1) and the (n) point(s) of 32-bit
binary data from the device specified by (s2), and store the results of subtraction in the device specified by (d).
Block subtraction is performed in 32-bit units.
Ex.
If device is specified for (s2) (signed)
If constant is specified for (s2) (signed)
Ladder diagram Structured text
Not supported
Operand Description Range Data type Data type (label)
(s1) DBK-(P) Head device where the data from which
another is to be subtracted is stored
-2147483648 to +2147483647 32-bit signed binary ANY32
DBK-(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(s2) DBK-(P) Subtrahend data or the head device where the
data to be subtracted from another is stored
-2147483648 to +2147483647 32-bit signed binary ANY32
DBK-(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(d) DBK-(P) Head device for storing the operation result 32-bit signed binary ANY32
DBK-(P)_U 32-bit unsigned binary ANY32_U
(n) Number of subtraction data 0 to 65535 16-bit unsigned binary ANY16_U
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s1)  
(s2)  
(d)  
(n) 
(s1) (s2) (d) (n)
···
···
···
···
···
···
-
-1000000
30000
54444
1234
(n)
-55555 (BIN)
33333 (BIN)
44444 (BIN)
13579 (BIN)
(n)
b31 b0
44445 (BIN)
3333 (BIN)
-10000 (BIN)
12345 (BIN)
(BIN)
(BIN)
(BIN)
(BIN)
(n)
b31 b0
(s1)
(s1)+1,
(s1)+2
(s1)+(2n-2)
(s1)+(2n-1),
(s1)+4
(s1)+3,
(s1)+5,
(s2)
(s2)+1,
(s2)+2
(s2)+(2n-2)
(s2)+(2n-1),
(s2)+4
(s2)+3,
(s2)+5,
···
(d)
(d)+2
(d)+(2n-2)
(d)+4
(d)+1,
(d)+3,
(d)+5,
(d)+(2n-1),
··· b31 b0···
∙∙∙
∙∙∙
∙∙∙
∙∙∙
-
-109998
90000
69998
70000
(n)
-99999 (BIN)
99999 (BIN)
-59999 (BIN)
79999 (BIN)
(n)
b31 b0
(BIN)
(BIN)
(BIN)
(BIN)
(s1)
(s1)+1,
(s1)+2
(s1)+(2n-2)
(s1)+(2n-1),
(s1)+4
(s1)+3,
(s1)+5,
(s2)+1, (s2)
∙∙∙
(d)
(d)+2
(d)+(2n-2)
(d)+4
(d)+1,
(d)+3,
(d)+5,
(d)+(2n-1),
b31 b0∙∙∙
∙∙∙b31 b0
9999 (BIN)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals