![background image](http://html1.mh-extra.com/html/eaton/elc-pb/elc-pb_programming-manual_4017452678.webp)
3 . I n s t r u c t i o n S e t
M N 0 5 0 0 3 0 0 3 E F o r m o r e i n f o r m a t i o n v i s i t : w w w. e a t o n . c o m
3 - 5 0 9
API Mnemonic
Operands
Function
267
D
BSET
D, n
Set ON Specified Bit of a Word
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K H KnX KnY KnM KnS T
C
D
E
F
D
*
*
*
*
*
*
n
*
*
*
*
*
*
*
*
*
*
*
BSET: 5 steps
DBSET: 9 steps
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32
16
P
32
16
P
32
16
P
32 16
P
32
16
P
Operands:
D
: Destination address to be Set ON
n
: Value specifying the bit to be Set ON
Description:
1.
Available range for the value in operand
n
: K0~K15 for the 16-bit instruction; K0~K31 for the
32-bit instruction.
2.
When the BSET instruction executes, the output device specified by operand
n
will be turned
ON and latched. To reset the ON state of the device, BRST instruction is required.
Program Example:
X0
X1
BSET
K4Y0
D0
Instruction: Operation:
LDI
X0
; Load NC contact X0
AND X1
; Connect NO contact
X1 in series.
BSET K4Y0 D0
; When D0 = k1,
Y1 is ON and latched
; When D0 = k2,
Y2 = ON and latched
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...