Download Print this page

Resetting A Bit In The Word Device - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Resetting a bit in the word device

BRST(P)
These instructions reset (to 0) (n)th bit of word device specified by (d).
Ladder diagram
(d)
FBD/LD
EN
ENO
n
d
Setting data
■Descriptions, ranges, and data types
Operand
Description
(d)
Head device for which bit is to be reset
(n)
Number of bit(s) to be reset
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(d)
(n)
Processing details
• These instructions reset (to 0) (n)th bit of word device specified by (d).
• If (n) exceeds 15, the processing will be done based on the lower 4 bits of (n).
Operation error
There is no operation error.
7 BASIC INSTRUCTIONS
274
7.4 Bit Processing Instructions
(n)
Word
T, ST, C, D, W,
SD, SW, R
BRSTP
D10
K11
b15
∙∙∙
b11
∙∙∙
D10 1 1 0
0
1
0 1 1 0
0
1
1 1 0 1 1
b15
∙∙∙
b11
∙∙∙
D10 1 1 0
0
0
0 1 1 0
0
1
1 1 0 1 1
0
Structured text
ENO:=BRST(EN,n,d);
ENO:=BRSTP(EN,n,d);
Range
0 to 15
Double word Indirect
U\G
Z
LC
b1
b0
b1
b0
Data type
16-bit signed binary
16-bit unsigned binary
Bit
Bit
Constant
specification
LZ
K, H
Data type (label)
ANY16
ANY16
BOOL
BOOL
Others
E
$

Hide quick links:

Advertisement

loading