![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301012.webp)
972
Serial Communications Instructions
Section 3-24
Example
In this example, IOWR(223) is used to write data.
3-24 Serial Communications Instructions
This section describes instructions used for serial communications.
3-24-1 Serial Communications
There are two types of serial communications instruction. The TXD(236),
RXD(235), TXDU(256), and RXDU(255) instructions send and receive data in
no-protocol (custom) communications with an external device. PMCR(260)
sends and receives data using user-defined protocols with an external device.
The difference is shown in the following tables.
Note
1.
The TXD(236) and RXD(235) instructions transfer data only through the
CPU Unit’s built-in serial port or a serial port on a Serial Communications
Board (Ver. 1.2 or later).
2.
The TXDU(256) and RXDU(255) instructions transfer data only through a
Serial Communications Unit (Ver. 1.2 or later).
D
D+1
D
CPU Unit
When CIO 000000 is turned ON, the 10 words in D00100 to
D00109 are written to the Special I/O Unit.
Number of words
to transfer: 10
Unit number: 3
The control code (C) varies depending on the Special I/O Unit.
Special I/O Unit (Unit #3)
10 words
Instruction
Mnemonic
Function code
Page
PROTOCOL MACRO
PMCR
260
974
TRANSMIT TXD
236
983
RECEIVE RXD
235
993
TRANSMIT VIA SERIAL COMMU-
NICATIONS UNIT
TXDU
256
1005
RECEIVE VIA SERIAL COMMU-
NICATIONS UNIT
RXDU
255
1013
CHANGE SERIAL PORT SETUP
STUP
237
1021
Содержание 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 ...