3. Instructions
176
CS/CJ/NSJ Series Instructions Reference Manual (W474)
OUTB
Applicable Program Areas
Operands
z Operand Specifications
Function
Instruction Mnemonic Variations
Function
code
Function
SINGLE BIT OUTPUT OUTB !OUTB 534
OUTB(534) outputs the status of the instruction's
execution condition to the specified bit.
Symbol
OUTB
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or transition
programs
Usage OK Not allowed OK OK OK OK
Operand Description Data type Size
D Word address UINT 1
N Bit number UINT 1
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
D
OK OK OK OK OK OK OK OK OK OK
---
OK --- OK --- --- --- ---
N OK
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.
OUTB(534)
D
N
D: Word address
N: Bit number
15 0
D
This bit is turned OFF.
N
Execution condition
ON
OFF
Bit N of word D
ON
OFF