![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301039.webp)
999
Serial Communications Instructions
Section 3-24
• One of the Serial Communications Board’s serial ports is specified, but
the Board does not support no-protocol mode (the Board does not have a
version number).
• The value of C is not within range.
• The value for N is not between 0000 and 0100 hex.
• TXD(236) or RXD(235) was being executed for the Serial Communica-
tions Board in the cyclic task, the cyclic task was interrupted, and another
TXD(236) or RXD(235) instruction was executed for the Serial Communi-
cations Board in the interrupt task.
• When RXD(235) is used to read data that was received at the CPU Unit’s
RS-232C port, the remaining data in the port’s reception buffer is not
cleared, so RXD(235) can be executed repeatedly to read a block of data
in parts.
In contrast, when RXD(235) is used to read data that was received at one
of the Serial Communications Board’s ports (Serial Communications
Board version 1.2 or later), the port’s reception buffer is cleared after
RXD(235) is executed. Consequently, RXD(235) can not be executed
repeatedly to read a block of data in parts.
• If an overrun error, framing error, or parity error occurs on the CPU Unit’s
built-in serial port, serial port reception will stop. The serial port must be
restarted to begin reception again.
• RXD(235) was executed for a serial port on a Serial Communications
Board that was being restarted.
Related Flags and Words
The following PLC Setup settings and Auxiliary Area flag can be used as
required when executing RXD(235).
PLC Setup Settings for CPU Unit’s RS-232C Port
DM Setup Area Settings for Serial Communication Board’s Ports
Programming
Console address
Name
Settings
Word
Bit
162
0 to 15
No-protocol Mode Send
Delay
0000 to 210F hex,
0 to 99,990 ms decimal (in 10-
ms units)
164
8 to 15
No-protocol Mode Start Code 00 to FF hex
0 to 7
No-protocol Mode End Code
00 to FF hex
165
12
No-protocol Mode Start Code
Specifier
0: None
1: Use start code.
8 and 9
No-protocol Mode End Code
Specifier
0: None
1: Use end code.
2: Use CR+LF.
0 to 7
No-protocol Mode Number of
bytes of Data
00: 256 bytes
01 to FF: 1 to 255 bytes
Setup Area word
Bit
Name
Settings
Port 1
Port 2
D32004 D32014 8 to 15
No-protocol Mode Start
Code
00 to FF hex
0 to 7
No-protocol Mode End
Code
00 to FF hex
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...