Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 899

Table of Contents

Advertisement

DTXDU
Instruction
DIRECT TRANSMIT VIA
SERIAL COMMUNICATIONS
UNIT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S
First source word
C
Control word
N
Number of bytes 0000 to 0100 hex (0 to 256)
C: Control word
15
12
11
8
7
4
3
C
0
0
Always 00
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
Operand Specifications
Word addresses
Area
CIO
WR
HR
S
C
OK
OK
OK
N
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
DTXDU
@DTXDU
Block program areas
Step program areas
OK
OK
Description
0
Byte order
0: Most significant bytes first
1: Least significant bytes first
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Function
code
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
262
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.
DTXDU
DTXDU(262)
S
S: First source word
C
C: First control word
N
N: Number of bytes
0000 to 0100 hex (0 to 256)
Subroutines
OK
15
12
11
8
7
4
C+1
0
Serial port number
1: Port 1
2: Port 2
Always 0
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
OK
OK
OK
3. Instructions
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Data type
Size
UINT
Variable
UDINT
2
UINT
1
3
0
Destination unit address (See note.)
Serial Communications Unit's unit
address (unit number + 10 hex)
Registers
Pulse
TK
CF
bits
Indirect
IR
using IR
---
OK
---
---
3
TR
bits
---
---
863

Advertisement

Table of Contents
loading

Table of Contents