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

Table of Contents

Advertisement

3. Instructions
Start code / end code settings and send data
15
8 7
1
2
3
4
5
6
Flag operation
CPU Unit
Serial
Communications
Unit
Note Sending processing will always be started immediately when DTXDU(262) is executed.
Hint
• Depending on the external device, it might be necessary to set a send delay when sending data with
DTXDU(262). If a send delay is required, set or adjust the delay time in the allocated DM Setup Area.
Precautions
• DTXDU(262) can be executed only for serial ports on a CJ1W-SCU22/SCU32/SCU42 Serial
Communications Unit. If it is executed for any other CPU Bus Unit, approximately 1 ms will be
required to execute the instruction, increasing the cycle time.
• DTXDU(262) can be used only for serial ports set to No-protocol Mode on a CJ1W-
SCU22/SCU32/SCU42 Serial Communications Unit mounted to a CJ2H CPU Unit with unit version
1.1 or later.
• Nothing will be sent if 0 is specified for N.
866
0
N bytes of data is sent in the following order when
sending the most significant bytes first is specified:
1, 2, 3, 4, 5, 6
Serial port on Serial Communications Unit
DTXDU(262)
DTXDU(262) Send Ready Flag
(n+9/n+19 bit 04)
Send processing
No Start or End Code
Data
Only Start Code
Data
Only End Code
Data
Start and End Code
Data
CR+LF End Code
Data
CR LF
Start and CR+LF End Code
Data
Data sent.
Instruction
execution
Send
processing
CS/CJ/NSJ Series Instructions Reference Manual (W474)
N send bytes: 256 max.
Send bytes after ST:
256 max.
Send bytes before ED:
256 max.
Send bytes between
ST and ED: 256 max.
Send bytes before
CR+LF: 256 max.
Send bytes between ST
and CR+LF: 256 max.

Advertisement

Table of Contents
loading

Table of Contents