7 Applied Instructions
7.19 Block Data Operation
615
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
3. Applicable devices
Function and operation explanation
1. 16-bit operation (BK+/BK+P)
1) "n" 16-bit binary data starting from the device specified by are added to "n" 16-bit binary data
starting from the device specified by , and the operation result is stored in "n" points starting from the
device specified by .
2) A (16-bit) constant from -32768 to 32767 can be directly specified in the device specified by .
2. 32-bit operation (DBK+/DBK+P)
Operand
type
Bit Devices Word Devices Others
System user Digit specification
System
user
Special
unit
Index
Cons
tant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
V Z Modifier K H E
""
P
zzz z z
zzz z z zz
zzz z z
zz zz
BK+
EN ENO
d
s1
s2
n
dded constant or head device storing addition data
Command
input
Head device storing addition data
Number of pieces of data
Head device storing
operation result
+0
b15 b0
+1
+2
+(n-2)
+(n-1)
"n"
points
+
+0
b15 b0
+1
+2
+(n-2)
+(n-1)
"n"
points
+0
b15 b0
+1
+2
+(n-2)
+(n-1)
"n"
points
K1234
K4567
K-1234
K-2000
K4000
K4000
K1234
K5000
K-1234
K4321
K5234
K5801
K3766
K-3234
K8321
ds2s1
+0
b15 b0
+1
+2
+(n-2)
+(n-1)
"n"
points
+
+0
b15 b0
+1
+2
+(n-2)
+(n-1)
"n"
points
K1234
K4567
K-1234
K-2000
K4000
K4321
K5555
K8888
K3087
K2321
K8321
d
s2
s1
DBK+
EN ENO
d
s1
s2
n
Command
input
Label 1
*1
Label 2
*2
Label 3
*3
Label 4
*4
*1. This defines the head of the device that stores the addition data.
*3. This defines the number of pieces of data.
*4. This defines the head of the device that stores the operation result.
*2. This defines the added constant or the head of the device that stores the addition data.