E L C P r o g r a m m i n g M a n u a l
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 M N 0 5 0 0 3 0 0 3 E
3 - 5 0 8
API Mnemonic
Operands
Function
266
D
BOUT
D, n
Output 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
*
*
*
*
*
*
*
*
*
*
*
BOUT: 5 steps
DBOUT: 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 output address
n
: Address specifying the output bit
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.
The BOUT instruction turns an output on/off based on the value in
n.
3.
Status of Coils and Associated Contacts:
BOUT instruction
Associated Contacts
Evaluation result
Coil
NO contact
(
normally open
)
NC contact
(
normally closed
)
FALSE
OFF
Current blocked
Current flows
TRUE
ON
Current flows
Current blocked
Program Example:
X0
X1
BOUT
K4Y0
D0
Instruction:
Operation:
LDI
X0
; Load NC contact X0
AND
X1
; Connect NO contact
X1 in series.
BOUT K4Y0 D0
; When D0 = k1,
executes output on Y1
; When D0 = k2,
executes output on Y2
In the program above, the outputs Y0-Y7 and Y10-Y17 are turned on and off based on the value in
D0. If D0=0, Y0 turns on. If D0=1, output Y1 turns on and so on.
Содержание 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...