Delta AS Series Programming Manual page 347

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
8.
For 32-bit instructions, when the operation result is larger than 2,147,483,647, SM602 is ON.
9.
16-bit instruction example: when the operand S
10.
16-bit instruction example: when the operand S
Example 1
When X0.0 is ON, the instruction subtracts the binary values in D10–D14 from the binary values in D0–D4, and
stores the differences in D100–D104.
_6
5
D0
D1
4
3
D2
2
D3
1
D4
6 - 6 8
}
5
S
1
4
S
-
+1
1
n
.
.
.
.
.
.
.
.
.
1
S +n-1
1
}
5
S
1
4
S
-
+1
1
n
.
.
.
.
.
.
.
.
.
1
S +n-1
1
D10
1
2
D11
-
3
D12
4
D13
5
D14
is a device (not a constant or a hexadecimal value)
2
}
1
S
2
1
S
2
=
n
.
.
.
.
.
.
.
.
.
1
S
2
is a constant or a hexadecimal value
2
}
1
S
2
1
S
2
=
n
.
.
.
.
.
.
.
.
.
1
S
2
Ex ec ution res ult
4
D100
SM6 00
2
D101
0
D102
-
2
D103
-
D104
4
}
5-1=4
D
4-1=3
D +1
n
.
.
.
.
.
.
.
.
.
1-1=0
D +n-1
}
5-1=4
D
4-1=3
D +1
n
.
.
.
.
.
.
.
.
.
1-1=0
D +n-1
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents