3. Instructions
882
CS/CJ/NSJ Series Instructions Reference Manual (W474)
DTXDU
Applicable Program Areas
Operands
C: Control word
z Operand Specifications
Instruction Mnemonic Variations
Function
code
Function
DIRECT TRANSMIT VIA
SERIAL COMMUNICATIONS
UNIT
DTXDU @DTXDU 262
Outputs the specified number of bytes of data
from the serial port of a CJ1W-
SCU22/SCU32/SCU42 Serial Communications
Unit. The data is output in no-protocol mode from
the specified first word with the start code and end
code (if any) specified in the allocated DM Setup
Area.
This instruction sends the data to the Serial Com-
munications Unit as soon as the instruction is exe-
cuted to achieve high-speed data transmission.
Symbol
DTXDU
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 UDINT 2
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
N OK
S: First source word
DTXDU(262)
S
C
N
N: Number of bytes
0000 to 0100 hex (0 to 256)
C: First control word
15 8 011 37412
C
15 8 011 37412
C+1
Destination unit address (See note.)
Serial Communications Unit's unit
address (unit number + 10 hex)
Serial port number
1: Port 1
2: Port 2
Always 0
Always 00
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
0
0
0