EasyManua.ls Logo

Mitsubishi MELSEC iQ-F FX5 series

Mitsubishi MELSEC iQ-F FX5 series
888 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...
6 BASIC INSTRUCTIONS
6.4 Bit Processing Instructions
235
6
6.4 Bit Processing Instructions
Setting a bit in the word device
BSET(P)
These instructions set (to 1) (n)th bit of word device specified by (d).
Setting data
Descriptions, ranges, and data types
Applicable devices
Processing details
These instructions set (to 1) (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.
Ladder diagram Structured text
ENO:=BSET(EN,n,d);
ENO:=BSETP(EN,n,d);
Operand Description Range Data type Data type (label)
(d) Head device for which bit is to be set 16-bit signed binary ANY16
(n) Number of bit(s) to be set 0 to 15 16-bit unsigned binary ANY16
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(d) 
(n) 
(d) (n)
K6
D10BSETP
D10
110 10 0110 1011011
··· ···b15 b6 b0b1
D10
110 10 0110 1111011
··· ···b15 b6 b0b1
These bits become "1".

Table of Contents

Related product manuals