Outb - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

OUTB

Instruction
SINGLE BIT OUTPUT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
D
Word address
N
Bit number
Operand Specifications
Word addresses
Area
CIO
WR
HR
D
OK
OK
OK
N
Function
When the execution condition is ON,
OUTB(534) turns ON bit N of word D.
When the execution condition is OFF,
OUTB(534) turns OFF bit N of word D.
If the immediate refreshing version is not
used, the status of the execution condition
(power flow) is written to the specified bit in
I/O memory. If the immediate refreshing
version is used, the status of the execution
condition (power flow) is written to the
Basic Output Unit's output terminal as well
as the output bit in I/O memory.
174
Mnemonic
Variations
OUTB
!OUTB
Block program areas
Step program areas
Not allowed
OK
Description
@DM
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Function
code
OUTB(534) outputs the status of the instruction's
534
execution condition to the specified bit.
OUTB
OUTB(534)
D
D: Word address
N
N: Bit number
Subroutines
OK
Data type
UINT
UINT
Indirect DM/EM
addresses
Con-
stants
*DM
DR
@EM
*EM
---
OK
OK
OK
OK
15
D
ON
Execution condition
OFF
ON
Bit N of word D
OFF
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
1
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
N
This bit is turned OFF.
TR
bits
---
---
0

Advertisement

Table of Contents
loading

Table of Contents