Checking The Bit Status In 32-Bit Binary Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Checking the bit status in 32-bit binary data

DBON(P)
RnPCPU
RnCPU RnENCPU
(Process)
• The RnCPU and RnENCPU with firmware version "17" or later support these instructions. (Use an engineering tool with version "1.020W" or later.)
These instructions check whether (n) bit(s) of the specified device are on or off, and stores the result in the device specified by
(d).
Ladder
(s)
FBD/LD
EN
ENO
s
d
n
■Execution condition
Instruction
DBON
DBONP
Setting data
■Description, range, data type
Operand
Description
(s)
Device storing the data
(d)
Bit device for storing the result
(n)
Bit position to be checked
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
*1
(s)
(d)
*1
(n)
*1 FX and FY cannot be used.
*2 T, ST, and C cannot be used.
7 APPLICATION INSTRUCTIONS
920
7.20 Data Processing Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
(n)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
*2
ST
ENO:=DBON(EN,s,n,d);
ENO:=DBONP(EN,s,n,d);
Range
0 to 31
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
32-bit signed binary
ANY32
Bit
ANY_BOOL
16-bit unsigned binary
ANY16_U
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents