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

Table of Contents

Advertisement

Related Flags in the CPU Bus Unit Area
(n = CIO 1500 + 25
Word
Port 1
Port 2
n+9
n+19
Function
• DTXDU(262) reads N bytes of data from words S to S+(N+2)-1 and outputs the raw data in no-
protocol mode to the CJ1W-SCU22/SCU32/SCU42 Serial Communications Unit with the unit
address specified in bits 0 to 7 of C+1, through the port specified with bits 8 to 11 of C+1. The logical
port number can be set to any value between 0 and 7 and is specified with bits 12 to 15 of C+1.
• This instruction sends the specified data to the Serial Communications Unit as soon as the
instruction is executed to achieve high-speed data transmission.
• The following send-message frame formats can be set in the allocated DM Setup Area.
1) Start code: None or 00 to FF hex.
2) End code: None, CR+LF, or 00 to FF hex.
The data will be sent with any combination of start and/or end codes specified in the allocated DM
Setup Area. If start and end codes are specified, the codes will be added to the send data (N). In this
case, the maximum number of bytes that can be specified for N is 256 bytes.
• Data is sent in the order specified in C.
• The control specification for RS and ER signals specified in bits 4 to 7 of C takes effect as shown
below.
1) If RS signal control is specified in C, bit 15 of S will be used as the RS signal.
2) If ER signal control is specified in C, bit 15 of S will be used as the ER signal.
3) If RS and ER signal control is specified in C, bit 15 of S will be used as the RS signal and bit 14 of
S will be used as the ER signal.
• The maximum number of bytes that can be sent is 259 (send data: maximum of 256 bytes, start
code: 1 byte, end code: CR+LF specification 2 bytes).
• Specify the size of the send data, not including the start code and end code, in N.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
unit number)
Bit
Name
04
DTXDU Send Ready Flag
Status
ON: Ready to send, OFF: Sending not possible
3. Instructions
3
865

Advertisement

Table of Contents
loading

Table of Contents