EasyManua.ls Logo

Delta DVP-20PM

Delta DVP-20PM
580 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-29
API
Applicable model
20PM
14
D
D
CML
P
P
Inverting bits
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
S
D
Note: The instruction supports V devices and Z devices. (If the 16-bit
instruction is used, Z devices can not be used. If the 32-bit
instruction is used, V devices can not be used.)
Please refer to specifications for more information about device
ranges.
If KnX/KnY/KnM/KnS is used, it is suggested that X/devices/Y
devices/M device numbers/S device numbers should start from a
number which is a multiple of 16 in the octal numeral system or in
the decimal numeral system, e.g. K1X0 (octal numeral system),
K4SY20 (octal numeral system), K1M0 (decimal numeral system),
and K4S16 (decimal numeral system).
16-bit instruction (5 steps)
CML
Continuity
instruction
CMLP
Pulse
instruction
32-bit instruction (6 steps)
DCML
Continuity
instruction
DCMLP
Pulse
instruction
Flag: None
Explanation
The instruction is used to invert the bits in S (01 and 10), and transfer the
inversion result to D.
S: Source; D: Destination
Example 1
When X10 is ON, bit 0~bit 3 in D1 are inverted, and the inversion result is
transferred to Y0~Y3.
Sign bit (0: Positive number; 1: Negative number
X10
CML
D1
K1Y0
D1 1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
1
0
1
b
0
b
1
b
2
b
3
b
15
No data
The reversal result
is transferred
.
Example 2
The circuits below can be represented by means of the instruction CML.
X000
M0
M1
M2
M3
X001
X002
X003
X000
M0
M1
M2
M3
X001
X002
X003
M1000
CML K1X0 K1M0
Normally-open contact

Table of Contents

Other manuals for Delta DVP-20PM

Related product manuals