![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681055.webp)
1016
Serial Communications Instructions
Section 3-24
The following diagram shows the order in which data is sent and the contents
of the send frame for various start and end code settings.
Flags
Precautions
RXDU(255) can be used only for a Serial Communications Unit’s serial port
that has been set to no-protocol mode.
ED
ST
ED
ST
CR
LF
ST
CR
LF
D
D+1
D+2
15
7
0
8
D
D+1
D+2
15
7
0
8
1
2
3
4
5
6
1
3
5
2
4
6
1
3
5
2
4
6
CR+LF End Code
Only End Code
Data
Data
Data
Data
Data
Data
No Start or End Code
Number of bytes
(Specified in allocated
DM Setup Area)
Only Start Code
Number of bytes up to ED:
256 max.
Start and End Code
Number of bytes between
ST and ED: 256 max.
Number of bytes up to
CR+LF: 256 max.
Number of bytes between
ST and CR+LF: 256 max.
Start and CR+LF End Code
Serial port on Serial Communications Unit
Data received.
Number of bytes
(Specified in allocated
DM Setup Area)
Bytes
N Storage
order
(256 bytes max.)
Most signifi-
cant bytes
Least signif-
icant bytes
Byte order
0: Most significant bytes first
Most signifi-
cant bytes
Least signif-
icant bytes
Byte order
1: Least significant bytes first
Name
Label
Operation
Error Flag
ER
ON if all of the logical ports are being used or the Com-
munications Port Enabled Flag for the specified logical
port is OFF when the instruction is executed.
ON if the value of C is not within range.
ON if the value for N is not between 0000 and 0100 hex.
OFF in all other cases.
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...