![Omron CJ1G-CPUxx Instructions Manual Download Page 876](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491876.webp)
855
Serial Communications Instructions
Section 3-24
Flags
Precautions
TXD(236) can be used only for the CPU Unit’s RS-232C port and only when
the port is set to no-protocol mode.
The following can be set in the PLC Setup for the frame format for send mes-
sages.
• Start code: None or 00 to FF hex.
• 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 maximum number of bytes
that can be specified for N will be reduced to 254 bytes.
Data can be sent only when the Send Ready Flag (A38205) is ON.
Data is sent in the order specified in C.
Nothing will be sent if 0 is specified for N.
If RS signal control is specified in C, bit 15 of S will be used as the RS signal.
If ER signal control is specified in C, bit 15 of S will be used as the ER signal.
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 (A39205).
An error will occur and the Error Flag will turn ON in the following cases.
• The no-protocol mode is not set for the port in the PLC Setup.
• The value of C is not within range.
• The value for N is not between 0000 and 0100 hex.
• A send was attempted when the Send Ready Flag (A39205) was OFF.
Some devices to which data is being sent may require a communications
delay. Set a delay when the external device requires one.
Name
Label
Operation
Error Flag
ER
ON if the 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.
OFF in all other cases.
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...