Delta AS Series Programming Manual page 409

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
0303
D
Device
X
S
D
Data
type
S
D
Symbol
Explanation
_6
1.
This instruction inverts all bits in S; that is, 0 becomes 1, and 1 becomes 0, and stores the inversion result in D. If
the data in S is a constant, the instruction converts it into a binary value.
2.
Only the 32-bit instructions can use the 32-bit counter, but not the device E.
Example 1
When X0.0 is ON, the instruction inverts all bit in D1, and stores the conversion result in Y0.0–Y0.15.
b
15
D1
1
Sign bi t (0: P os itive s ign; 1: Negativ e si gn)
Y0
0
6 - 1 3 0
CML
P
Y
M
S
T
1
1
1
0
0
0
0
0
0
1
1
1
Operand
S, D
C
HC
D
FR
SM
Pulse instruction
AS
: Data source
S
: Data destination
D
1
1
0
0
0
0
0
1
1
1
Inversi on resul t
Function
Inverting data
SR
E
K
16#
16-bit instruction
32-bit instruction
AS
b
b
b
b
3
2
1
0
1
1
0
0
0
1
0
1
"$"
F
AS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents