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-65
API
Applicable model
20PM
44
D
D
BON
P
P
Checking the state of a bit
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
S
D
n
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 (7 steps)
BON
Continuity
instruction
BON P
Pulse
instruction
32-bit instruction (13 steps)
DBON
Continuity
instruction
DBON P
Pulse
instruction
Flag: None
Explanation
S: Source device; D: Device in which a check result is stored; n: Bit whose
state is judged
The state of the n
th
bit in S is checked, and the result is stored in D.
16-bit instruction: n=0~15; 32-bit instruction: n=0~31
Example
If the 15
th
bit in D0 is 1 when X0 is ON, M0 will be ON. If the 15
th
bit in D0 is 0
when X0 is ON, M0 will be OFF.
When X0 is turned OFF, the state of M0 remains unchanged.
X0
BON D0 M0
0000 00011 100 0000
D0
K15
b0
M0=Off
b15
1000 00011 100 0000
D0
b0
M0=On
b15

Table of Contents

Other manuals for Delta DVP-20PM

Related product manuals