Delta AS Series Programming Manual page 329

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

A S S er i es Pr og r am m ing M an u a l
API
Instruction code
0101
D
Device
X
S
1
S
2
D
Data
type
S
1
S
2
D
Symbol
_6
Explanation
1.
This instruction subtracts the binary value in S
2.
Only the 32-bit instructions can use the 32-bit counter, but not the device E.
3.
Instruction flags: SM600 (zero flag), SM601 (borrow flag), and SM602 (carry flag)
4.
When the operation result is zero, SM600 is ON. Otherwise, it is OFF.
5.
When borrowing occurs during the arithmetic, SM601 is ON. Otherwise, it is OFF.
6 - 5 0
-
P
Y
M
S
T
C
: Minuend
S
1
: Subtrahend
S
2
: Difference
D
Operand
,S
,D
S
1
2
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
from the binary value in S
2
Function
Subtracting binary numbers
SR
E
K
16#
32-bit instruction
AS
, and stores the difference in D.
1
"$"
F
AS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents