Nfc193 - Bk- / Block Data Subtraction - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
25.2
NFC193 – BK– / Block Data Subtraction
Outline
This instruction subtracts binary block data.
1. Instruction format
FNC 193
D
BK−
2. Set data
Operand Type
S
1
S
2
D
n
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
1
S
2
D
n
Explanation of function and operation
1. 16-bit operation (BK- and BK-P)
Command
input
FNC193
BK-P
1) "n" 16-bit binary data starting from
and the operation result is stored in "n" points starting from
b15
+0
S
1
+1
+2
+(n-2)
+(n-1)
2) A (16-bit) constant from -32768 to +32767 can be directly specified in
b15
+0
S
1
+1
+2
+(n-2)
+(n-1)
634
Mnemonic
16-bit Instruction
P
BK−
9 steps
BK−P
Head device number storing subtraction data
Subtracted constant or head device number storing subtraction data
Head device number storing operation result
Number of data
Digit Specification
S
S
1
2
b0
K8765
S
2
K8888
K9325
"n"
points
K5000
+(n-2)
K4352
+(n-1)
b0
K8765
K8888
K9325
"n"
points
K5000
K4352
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
D
n
are subtracted from "n" 16-bit binary data starting from
S
2
b15
b0
+0
K1234
+1
K5678
+2
K9876
"n"
points
K4321
K4000
K8880
S
2
25 Block Data Operation – FNC190 to FNC199
25.2 NFC193 – BK– / Block Data Subtraction
Mnemonic
32-bit Instruction
DBK−
17 steps
DBK−P
Con-
Real
Index
stant
Number
V Z Modify K H
E
.
D
b15
+0
K7531
D
+1
K3210
+2
K-551
+(n-2)
K679
+(n-1)
K352
.
S
2
b15
+0
K-115
D
+1
K8
+2
K445
+(n-2)
K-3880
+(n-1)
K-4528
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Data Type
16- or 32-bit binary
Others
Charac-
Pointer
ter String
" "
P
,
S
1
b0
"n"
points
b0
"n"
points

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents