Delta AS Series Programming Manual page 346

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0113
D
BK-
Device
X
Y
M
S
1
S
2
n
D
Data
type
S
1
S
2
n
D
Symbol
Explanation
1.
This instruction subtracts n pieces of data in devices starting from S
minuends and the subtrahends are binary values, and the instruction stores the differences in D.
2.
The operand n must be between 1–256.
3.
Only the 32-bit instructions can use the 32-bit counter.
4.
When the operation result is zero, SM600 is ON.
5.
For 16-bit instructions, when the operation result is less than –32,768, SM601 is ON.
6.
For 16-bit instructions, when the operation result is larger than 32,767, SM602 is ON.
7.
For 32-bit instructions, when the operation result is less than –2,147,483,648, SM601 is ON.
Operand
,S
,n,D
P
S
1
2
S
T
C
HC
Pulse instruction
S
Minuend
1
S
Subtrahend
2
n
Data length
D :
Difference
Ch a pt er 6 A pp l i e d I n s tr uc t io ns
Subtracting binary values in blocks
D
FR
SM
SR
16-bit instruction
AS
AS
from those in devices starting from S
2
Function
E
K
16#
"$"
F
32-bit instruction
AS
. The
1
6 - 6 7
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents