EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #895 background imageLoading...
Page #895 background image
857
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Serial Communications Instructions
3
TXD
z Start code / end code settings and send data
Hint
• When sending data to another device by TXD instruction, the device may require that the data be
sent at certain intervals. In that case, a transmission delay time can be set to adjust the transmission
intervals.
Precautions
• Do not program TXD(236)/RXD(235) for a Serial Communications Board's port (port 1 or 2) in both
the cyclic task and interrupt task. A TXD(236)/RXD(235) instruction cannot be executed for the Serial
Communications Board in the interrupt task if a TXD(236)/RXD(235) instruction is being executed for
the Serial Communications Board in the cyclic task. An error will occur and the ER Flag will be turned
ON if a TXD(236)/RXD(235) instruction is executed for the Serial Communications Board in the
interrupt task when another TXD(236)/RXD(235) instruction was being executed for the Serial
Communications Board in the cyclic task. (These instructions cannot be programmed in both the
cyclic and interrupt tasks even if they are executed for different ports in the Serial Communications
Board.)
• TXD(236) can be used only for the CPU Unit's RS-232C port or one of the Serial Communications
Board's serial ports. In addition, the port must be set to no-protocol mode.
• Data can be sent only when the port's Send Ready Flag is ON. (The Send Ready Flag is A392.05 for
the CPU Unit's RS-232C port, A356.05 for Serial Communications Board port 1, or A356.13 for Serial
Communications Board port 2.)
• Nothing will be sent if 0 is specified for N.
• If the TXD(236) instruction is executed for a Board that does not support no-protocol mode (a Serial
Communications Board without a version number), the Inner Board Service Disabled Flag (A424.04)
and the Error Flag will turn ON.
1
3
5
2
4
6
CR LF
CR+LF End Code
Only End Code
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
No Start or End Code
N send bytes: 256 max.
Only Start Code
Send bytes after ST:
256 max.
Send bytes before ED:
256 max.
Start and End Code
Send bytes between
ST and ED: 256 max.
Send bytes before
CR+LF: 256 max.
Send bytes between ST
and CR+LF: 256 max.
Start and CR+LF End Code
CPU Unit’s built-in RS·232C port or one of the
Serial Communications Board’s serial ports
Data sent.
123456···
123456···
123456···
123456···
123456···
123456···

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals