3. Instructions
854
CS/CJ/NSJ Series Instructions Reference Manual (W474)
TXD
Applicable Program Areas
Operands
C: Control word
z Operand Specifications
Instruction Mnemonic Variations
Function
code
Function
TRANSMIT TXD @TXD 236
Outputs the specified number of bytes of data
from the CPU Unit's built-in RS-232C port or one
of the Serial Communications Board's serial ports.
(The Serial Communications Board must be Ver.
1.2 or later).
Symbol
TXD
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
S First source word UINT Variable
C Control word UINT 1
N Number of bytes 0000 to 0100 hex (0 to 256) UINT 1
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers
TK CF
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
S
OK OK OK OK OK OK OK OK OK OK
--- ---
--- OK --- --- --- ---C
OK OK
N
S: First source word
TXD(236)
S
C
N
N: Number of bytes
0000 to 0100 hex (0 to 256)
C: Control word
15 8 011 37412
C
Serial port specifier
0: CPU Unit's RS-232C port
1: Serial Communications Board port 1
2: Serial Communications Board port 2
Always 0
Byte order
0: Most significant bytes first
1: Least significant bytes first
RS and ER signal control
0: No RS and ER signal control
1: RS signal control
2: ER signal control
3: RS and ER signal control