EasyManuals Logo

Omron SYSMAC CP Series Instruction & Reference Manual

Omron SYSMAC CP Series
467 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 #406 background imageLoading...
Page #406 background image
2 Instructions
2-370
CP1E CPU Unit Instructions Reference Manual(W483)
Flags
Related Auxiliary Area Words and Bits
CPU Unit’s Built-in RS-232C Port
Serial Option Board Port
Related PLC Setup Settings
Function
TXD(236) reads N bytes of data from words S to S+(N÷2)-1 and outputs the raw data in no-protocol
mode from the CPU Unit’s built-in RS-232C port or the Serial Option Board port. (The output port is
specified with bits 8 to 11 of C.)
The following send-message frame format can be set in the PLC Setup.
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 start and/or end codes specified in the PLC Setup. 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 C0 to C3.
Specification of control in C4 to C7 for the RS and ER signals take effect as follows:
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.
If 1, 2, or 3 hex is specified for RS and ER signal control in C, TXD(236) will be executed regardless
of the status of the Send Ready Flag (A392.05, or A392.13 depending on the port being used).
Name Label Operation
Error Flag P_ER ON if no-protocol mode is not set in the PLC Setup.
ON if the value of C is not within range.
ON if the value for N is not between 0000 and 0100 hex.
ON if a send is attempted when the Send Ready Flag is OFF. (The Send Ready Flag is A392.05 for
the CPU Unit’s RS-232C port, or A392.13 for Serial Option Board port.)
OFF in all other cases.
Port Address Contents
CPU Unit’s built-in RS-232C port A392.05 ON when data can be sent in the no-protocol mode.
Port Address Contents
Serial Option Board port A392.13 ON when data can be sent in the no-protocol mode.

Table of Contents

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP Series and is the answer not in the manual?

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals